MLOps & Monitoring Questions with Answers

18 practice questions on MLOps & Monitoring (AI Engineering (LLM Apps)) with answers and step-by-step solutions. Try 10 samples below, then practise all 18 free in the AptiNest app.

Sample questions

Question 1Easy

A feature store helps ML teams by:

  1. Serving the same computed features to training and inference
  2. Hosting the company's mobile app downloads
  3. Replacing the need for any database
  4. Storing only the large language model prompts used by every team in the company

Answer: A. Serving the same computed features to training and inference

Explanation

It centralises feature definitions and avoids training-serving skew.

Step-by-step solution

  1. Feature store ensures features are consistent across models.
  2. It provides same features for both training and inference.
  3. This reduces errors caused by different data sources.
  4. Training-serving skew is avoided with unified feature access.
  5. Final answer: Serving the same computed features to training and inference.

Why the other options are wrong

  • B. A feature store manages ML features; it does not host app downloads.
  • C. A feature store does not replace databases; it sits alongside them to serve computed features.
  • D. A feature store holds computed features, not the LLM prompts of every team.

Tip: Use a feature store to keep model inputs uniform across stages.

Question 2Easy

Continuous training (CT) in MLOps refers to:

  1. Running unit tests on every code commit
  2. Streaming tokens to the user continuously
  3. Automatically retraining models when new data or triggers arrive
  4. Training one model forever without ever stopping, so it never goes stale

Answer: C. Automatically retraining models when new data or triggers arrive

Explanation

CT adds retraining pipelines on top of CI/CD for code.

Step-by-step solution

  1. Continuous training (CT) means models are retrained regularly.
  2. Retraining happens when new data or triggers arrive.
  3. This ensures models stay up-to-date with latest information.
  4. Automatically retraining models fits this definition exactly.
  5. Final answer: Automatically retrain models when new data or triggers arrive.

Why the other options are wrong

  • A. Running unit tests on commits is continuous integration, not continuous training.
  • B. Streaming tokens to users is a serving feature and has nothing to do with retraining models.
  • D. A model that trains forever never gets properly deployed; CT means retraining on new data or triggers.

Tip: Remember CT is about updating models, not just code.

Question 3Easy

A canary release sends the new model version to:

  1. A small percentage of traffic first, expanding if metrics hold
  2. All users at once, with no way to roll back if something goes wrong
  3. Only the developers who built it
  4. A separate country chosen at random

Answer: A. A small percentage of traffic first, expanding if metrics hold

Explanation

Gradual rollout limits the blast radius of a bad model.

Step-by-step solution

  1. A canary release tests new models on some users first.
  2. This helps catch issues before full deployment.
  3. If metrics are good, more traffic is added gradually.
  4. This reduces risk for all users.
  5. Final answer: A small percentage of traffic first, expanding if metrics hold.

Why the other options are wrong

  • B. Releasing to all users at once with no rollback is the opposite of a canary release.
  • C. Only developers testing the build is an internal check; a canary serves a small slice of real traffic.
  • D. A random country is a geographic rollout, not a canary; a canary uses a small share of traffic.

Tip: Test new models slowly to avoid widespread problems.

Question 4Easy

Rolling back a bad model release is simplest when:

  1. Training data is stored only on one laptop
  2. The previous version is still in the registry
  3. The old model's weights were deleted to save space
  4. Every model version uses the same file name

Answer: B. The previous version is still in the registry

Explanation

A registry keeps earlier versions deployable, so rollback is a configuration change rather than a retrain.

Step-by-step solution

  1. Rolling back means switching back to an earlier model version.
  2. A model registry keeps earlier versions stored and ready to deploy.
  3. If the previous version is still in the registry, rollback is a configuration change, not a retrain.
  4. So the answer is option B.

Why the other options are wrong

  • A. Where training data is stored does not decide whether an older model can be redeployed.
  • C. If the old weights were deleted, there is nothing to redeploy, so rollback becomes hard.
  • D. Identical file names would make versions hard to tell apart and do not keep an earlier version available.

Tip: Keep every released model version in a registry so rollback is a switch, not a rebuild.

Question 5Medium

To reproduce a trained model exactly, which set must be recorded?

  1. Only the name of the engineer who trained it and the team they belong to
  2. Only the final accuracy score reached
  3. Only the date and time training finished
  4. Code version, data version, hyperparameters and random seed

Answer: D. Code version, data version, hyperparameters and random seed

Explanation

Experiment tracking ties a model to everything that produced it.

Step-by-step solution

  1. Code version ensures the same code is used.
  2. Data version links to the exact dataset.
  3. Hyperparameters define the training process.
  4. Random seed makes results reproducible.
  5. All these together let the model be reproduced exactly.

Why the other options are wrong

  • A. Engineer names do not make training repeatable; the code, data, settings and seed do.
  • B. The final accuracy alone does not let anyone rebuild the same model.
  • C. The finish time does not change the model; the code, data and settings are what make it repeatable.

Tip: Record everything that affects the model's outcome.

Question 6Medium

Concept drift means:

  1. The training code is rewritten in another language
  2. The model is moved to a different cloud region with different hardware
  3. The input features are stored in a new database
  4. The relationship between inputs and the correct output changes

Answer: D. The relationship between inputs and the correct output changes

Explanation

For example, what counts as fraud changes as fraudsters adapt; the same inputs now need different outputs.

Step-by-step solution

  1. Concept drift means the relationship between inputs and the correct output changes.
  2. Example: fraud patterns change over time as fraudsters adapt.
  3. The same kind of input now needs a different correct output.
  4. So option D is correct.

Why the other options are wrong

  • A. Rewriting training code in another language does not change the input-output relation.
  • B. Moving to a different cloud region does not change what the correct output is.
  • C. Storing features in a new database does not change the relation either.

Tip: Concept drift means the same input now needs a different right answer.

Question 7Medium

A production LLM app's average output length doubles overnight with no deployment. What should the team suspect first?

  1. The vector index has been compressed
  2. An upstream change, such as the provider's model or user traffic mix
  3. The tokenizer has learned new words by itself from production traffic overnight
  4. The golden set questions became longer

Answer: B. An upstream change, such as the provider's model or user traffic mix

Explanation

Monitoring alerts on such metrics catch silent changes in dependencies or traffic.

Step-by-step solution

  1. Average output length doubles without deployment, so no code change.
  2. Check for upstream changes like model updates or user traffic mix.
  3. Vector index compression or tokenizer learning new words take time.
  4. Golden set questions becoming longer is unlikely overnight.
  5. The most likely cause is an upstream change in provider's model or traffic.

Why the other options are wrong

  • A. A compressed vector index affects retrieval, not the length of the model's output text.
  • C. A tokenizer does not learn new words from traffic overnight; tokenizers are fixed artefacts.
  • D. The golden set is fixed, so its questions do not change length overnight.

Tip: Check upstream dependencies first when outputs change unexpectedly.

Question 8Medium

For an LLM app in production, which set of signals is most useful to monitor continuously?

  1. Only how many developers committed code
  2. Only the training loss from the last fine-tuning run, checked daily
  3. Latency, error rate, token usage, cost and user feedback
  4. Only the number of GPUs in the cluster

Answer: C. Latency, error rate, token usage, cost and user feedback

Explanation

These capture user experience, reliability and spend; sampled outputs should also be reviewed against evals.

Step-by-step solution

  1. Latency shows how fast the app responds.
  2. Error rate indicates system reliability.
  3. Token usage and cost track resource consumption.
  4. User feedback reflects real-world performance.
  5. These signals together ensure user experience, reliability, and cost control.

Why the other options are wrong

  • A. Developer commits do not show how the live app performs; they are not a production signal.
  • B. Training loss from the last run is a build-time metric and says nothing about live behaviour.
  • D. The GPU count alone says nothing about the answer quality, errors or cost of the live app.

Tip: Track key performance indicators (KPIs) like latency and error rate for real-time insights.

Question 9Hard

A new model wins offline evals, but after a canary its user-escalation rate is higher than the old model. What is the right action?

  1. Ship it to all users anyway, because offline evals are the final word on quality
  2. Delete the offline eval set, since it was wrong
  3. Keep both models and let users choose at random
  4. Roll back and investigate the gap between offline evals and live use

Answer: D. Roll back and investigate the gap between offline evals and live use

Explanation

Online signals override offline results; the eval set probably misses cases real users hit.

Step-by-step solution

  1. Offline evals don't capture real-world user behavior.
  2. User-escalation rate shows actual performance in live use.
  3. Gap between evals and live data means something is missed.
  4. Investigating the gap finds root causes of the issue.
  5. Rolling back lets fixes happen before full rollout.

Why the other options are wrong

  • A. Offline evals do not capture live behaviour, so they are not the final word on quality.
  • B. Deleting the eval set discards a useful test; the gap should be investigated, not the set erased.
  • C. Random choice by users is not a fix; it leaves the weaker model in production.

Tip: Always test in real conditions, not just simulations.

Question 10Hard

A feature's training distribution over 4 bins is 25% each; production shows 10%, 20%, 30%, 40%. What is the Population Stability Index (PSI), to two decimals?

  1. 0.23
  2. 0.50
  3. 0.15
  4. 0.06

Answer: A. 0.23

Explanation

PSI = Σ (actual − expected) × ln(actual/expected) ≈ 0.137 + 0.011 + 0.009 + 0.071 = 0.23. A common rule of thumb treats PSI above 0.2 as a significant shift.

Step-by-step solution

  1. PSI = sum (a-e) ln(a/e), e=0.25.
  2. Terms: 0.137, 0.011, 0.009, 0.071.
  3. Sum = 0.228, about 0.23.

Why the other options are wrong

  • B. 0.50 is too high.
  • C. 0.15 undercounts.
  • D. 0.06 is wrong.

Practise all 18 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all AI Engineering (LLM Apps) topics · All topics