NCA-ADS domain - 10% of the exam

Introductory MLOps Practices

Introductory MLOps Practices is 10% of the NCA-ADS exam. These are the objectives it covers, each with practice questions, with every answer explained.

The domain in numbers

47
Practice questions
6
Objectives
8
Easy
39
Medium

Where people go wrong

  • Saving the model without its fitted preprocessing

    The wrong answers treat the serialised model file as the whole deliverable, or suggest refitting the scaler on production data, shipping training rows, or reapplying steps by hand. A StandardScaler or label encoder holds mean, variance and mapping values learned on training data. If it is not stored with the model, raw inputs reach the classifier on a different scale and predictions go silently wrong without an error. Serialising the fitted transformers and classifier as one pipeline object avoids that.

    See it in a sample question
  • Calling falling accuracy data drift when inputs are stable

    The wrong answers name data drift or covariate shift whenever accuracy falls, even where the scenario says the input distributions are unchanged. Data drift is a change in the distribution of the inputs. Concept drift is a change in the relationship between inputs and the target, so accuracy drops while the input histograms still match training. Stable inputs with fresh labels showing worse precision, recall or accuracy point to concept drift, and retraining on recent labelled data is the remedy.

    See it in a sample question
  • Needing labels to get an early drift warning

    When labels arrive late, the wrong answers reach for F1 or other labelled-cohort metrics, retrain on a schedule, or wait for ground truth. None of these can warn early, because they depend on labels that have not yet arrived. Latency and request volume describe serving, not prediction quality. Comparing live feature distributions with the training reference, using the Population Stability Index or the Kolmogorov-Smirnov test, needs only inputs and flags possible drift immediately.

    See it in a sample question
  • Timing warm-up cost and the wrong scope as the result

    The wrong answers report the first GPU run, or fold cloud reads into the timed interval. The first call pays one-off costs such as CUDA context creation and kernel compilation, so untimed warm-up runs come first and a summary such as the median is reported. Isolating a component means timing only that step, and comparing CPU with GPU means identical data and the same measured scope on both.

    See it in a sample question
  • Logging outcomes instead of linking to the run

    The wrong answers record things that describe a run without identifying it: final loss, an image of the dashboard, hardware details, run duration, dataset size or a calendar date. None of these points to one stored model. A run identifier that links the artefact to its parameters, code version and dataset version lets a colleague retrieve and rebuild exactly what produced a reported metric.

    See it in a sample question

Objectives in this domain

Sample questions from this domain

Free sampleIntroductory MLOps Practicesmedium

A data scientist trains a cuML RandomForestClassifier and a preceding cuDF-based preprocessing pipeline (label encoding and standard scaling). She serialises only the cuML model using joblib and deploys it. At inference time, raw production data is passed directly to the loaded model. What is the most likely failure mode?

  • AThe joblib file becomes unreadable because cuML models must be serialised with pickle, not joblib
  • BRaw features arrive on a different numeric scale and encoding than the model was trained on, causing degraded or incorrect predictions because the saved preprocessing steps are absent Correct
  • CInference will silently succeed but return predictions for the wrong classes because joblib does not preserve feature names
  • DThe model will raise an exception on load because cuML RandomForestClassifier stores GPU device state that is incompatible across environments
Explain why the preprocessing pipeline must be saved alongside the model to ensure consistent inference behaviour. A fitted preprocessing pipeline encodes the statistical properties of training data (scaler parameters, category mappings, imputation values). If only the model weights are persisted, inference-time inputs arrive in their raw form, which differs numerically from what the model saw during training. This training-serving skew degrades prediction quality in ways that can be subtle and hard to debug. The standard practice is to bundle the pipeline and the estimator together - using a scikit-learn Pipeline object or an equivalent wrapper - so that loading a single artefact restores the complete transformation sequence.

Why A is wrong: joblib and pickle are both compatible with cuML models; joblib is in fact the recommended approach for scikit-learn-style estimators and works correctly here, so the serialisation format is not the source of failure

Why B is correct: Saving the model without the fitted preprocessing pipeline means the transformations learned on training data (scaler means/variances, label mappings) are not applied at inference, so the model receives inputs drawn from a different distribution than it expects

Why C is wrong: Feature names are a separate concern; the more fundamental issue is that the numeric scale and encoding of input features will not match what the model learned during training, so predictions will be incorrect for a substantive statistical reason, not a metadata one

Why D is wrong: cuML estimators serialise the fitted parameters, not live GPU device handles; they can be loaded in any compatible cuML environment without an exception related to device state, so this is not the primary failure mode described

Free sampleIntroductory MLOps Practicesmedium

A deployed cuML credit-scoring model has served stable predictions for a year. The input feature distributions have not changed, but over the last two months the model's measured precision and recall on freshly arriving labelled outcomes have both fallen steadily. The monitoring team wants to name what they are observing so they can choose the right remedy. Which type of degradation does this pattern most directly indicate?

  • AData drift, because the statistical properties of the incoming input features have shifted away from the training distribution.
  • BConcept drift, because the relationship between the input features and the target outcome has changed while the inputs remain stable. Correct
  • CTraining-serving skew, because the preprocessing applied at inference differs from the preprocessing used during training.
  • DSampling bias, because the labelled outcomes now arriving are no longer representative of the population the model scores.
Distinguish concept drift, where the feature-to-target relationship changes while inputs stay stable, from data drift and other degradations. Concept drift is a change in the conditional relationship between features and the target. When inputs are unchanged but performance on fresh labels declines, the learned mapping has gone stale, which separates concept drift from data drift and from day-one training-serving skew.

Why A is wrong: Data drift is tempting because falling metrics often accompany shifting inputs, but the scenario states the input feature distributions are unchanged, so the cause cannot be a shift in the inputs themselves.

Why B is correct: Stable inputs with falling predictive performance is the defining signature of concept drift: the mapping from features to label has changed, so the same inputs now imply different outcomes and the learned function no longer fits.

Why C is wrong: Skew is a real failure mode, but it produces degradation from the very first day of serving, not a gradual decline after a year of stable operation, so it does not match the described timeline.

Why D is wrong: Unrepresentative evaluation data can distort metrics, but the scenario gives no evidence the label sample is skewed, and a genuine real-world shift in feature-to-target behaviour is the more direct explanation of steadily falling precision and recall.

Free sampleIntroductory MLOps Practicesmedium

A churn model scores customers in real time, but the true churn label for each customer is only confirmed roughly 90 days after scoring. The monitoring team cannot wait three months to learn that performance has dropped, so they want an early-warning signal that does not depend on ground-truth labels. Which monitored quantity provides the earliest label-free indication that the model may be degrading?

  • AThe rolling F1 score of the model computed on the most recent batch of confirmed churn outcomes.
  • BThe mean prediction latency per scoring request measured at the serving endpoint.
  • CThe total count of scoring requests processed by the endpoint each hour.
  • DThe population stability index comparing the live input feature distributions against the training reference distribution. Correct
Under delayed labels, monitor input distribution shift with a measure such as the population stability index as a label-free drift early warning. When ground truth is delayed, direct performance metrics are unavailable for months. Comparing live input distributions to the training reference, for example via the population stability index, gives an immediate label-independent signal that the data feeding the model has changed.

Why A is wrong: An F1 score is the most direct performance measure, which makes it tempting, but it requires confirmed labels and therefore cannot be computed until the 90-day delay has passed, defeating the early-warning goal.

Why B is wrong: Latency is a genuine operational metric to monitor, but it reflects serving speed, not predictive quality, so it would stay healthy even as the model's accuracy silently decays.

Why C is wrong: Request volume detects traffic anomalies and outages, which is useful, but it carries no information about whether the inputs or the feature-target relationship have shifted, so it cannot serve as a drift early warning.

Why D is correct: The population stability index quantifies how far live feature distributions have moved from the training reference using only inputs, so it flags potential data drift immediately, long before the delayed labels arrive to confirm any performance impact.

Free sampleIntroductory MLOps Practicesmedium

An engineer wants to benchmark only the GPU-accelerated feature-engineering step inside a longer pipeline that also reads a Parquet file from cloud storage and writes results back. The goal is to learn how fast the transformation itself runs. How should the benchmark be scoped to isolate that component?

  • ATime the entire pipeline end to end including the cloud read and write, then divide the total by the number of pipeline stages to attribute an equal share to feature engineering.
  • BPlace the timing boundaries around the feature-engineering step alone, with the input already resident in GPU memory and the output left on the device, so neither cloud reads nor writes are counted in the measured interval. Correct
  • CTime the read plus the feature-engineering step together but exclude the write, since reads are unavoidable input preparation that should count towards the transformation.
  • DRun the transformation once with the network disconnected and report whatever time results, since removing the network guarantees only compute is measured.
Isolate a pipeline component by placing timing boundaries around only that step, excluding upstream and downstream I/O from the measured interval. Benchmarking a single component requires the timed interval to bracket only that component. By staging the input in GPU memory beforehand and keeping the output on the device, cloud reads and writes fall outside the measurement, so the recorded time isolates the transformation's cost rather than confounding it with network and disk I/O.

Why A is wrong: Tempting because dividing a total feels like a fair allocation, but pipeline stages do not take equal time, so an even split misattributes the slow cloud I/O and gives a meaningless figure for the transformation.

Why B is correct: Correct. Isolating a component means the timed interval brackets only that component: with the input already on the GPU and the output kept on the device, the recorded time reflects the transformation itself rather than network and disk costs that belong to other stages.

Why C is wrong: Tempting because the read does precede the transformation, but folding a variable cloud-read time into the measurement contaminates the figure with network latency that has nothing to do with the transformation's speed.

Why D is wrong: Tempting because disabling the network removes cloud I/O, but a single run still includes any local disk reads and warm-up costs, and one untimed-boundary measurement does not cleanly bracket the transformation step itself.

Free sampleIntroductory MLOps Practiceseasy

A team uses an experiment tracker to log each training run. They want future colleagues to reproduce any model exactly. Which practice most directly supports that goal?

  • ALogging only the final validation loss for each run to keep the tracker lightweight
  • BLinking each stored artefact to the run record that produced it, including code version and dataset version Correct
  • CStoring model weights in a shared folder without recording which run produced them
  • DTagging each artefact file with the current calendar date as its version identifier
Explain how linking artefacts to the run that produced them, including code and dataset versions, enables reproducibility in MLOps workflows. Reproducibility in ML relies on being able to re-run or audit any past experiment. The core MLOps practice that enables this is linking every stored artefact - trained model, preprocessing transformer, metrics file - to the experiment run record that generated it. The run record should capture the code version (for example a Git commit hash), the dataset version, and the hyperparameter configuration. Without these links, artefacts in storage are opaque objects with no provenance, and reproducibility is lost.

Why A is wrong: Recording only the final loss omits the information needed to identify which run produced a given model. Without linking the run record to the stored artefacts, a colleague cannot determine which code version, dataset version, or hyperparameters generated the result.

Why B is correct: Reproducibility requires a complete, queryable link from every artefact - model weights, preprocessors, and metrics - back to the exact run that generated it, including the code commit and the dataset version used. This linkage lets any team member reconstruct the full pipeline from a single run identifier.

Why C is wrong: Saving weights without run linkage breaks the audit trail. If multiple runs produce files with similar names, colleagues cannot determine which configuration generated a specific model, making reproducibility impossible in practice.

Why D is wrong: A calendar date is a weak version identifier: multiple runs on the same day collide, and the date carries no information about the code or data that was used. Proper artefact versioning requires linking to a specific run record rather than an imprecise timestamp.

Other domains in this exam

See also the NCA-ADS cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by NVIDIA. Original, blueprint-aligned practice material only.