Sample questions
Question 1Easy
A feature store helps ML teams by:
- Serving the same computed features to training and inference
- Hosting the company's mobile app downloads
- Replacing the need for any database
- 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
- Feature store ensures features are consistent across models.
- It provides same features for both training and inference.
- This reduces errors caused by different data sources.
- Training-serving skew is avoided with unified feature access.
- 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:
- Running unit tests on every code commit
- Streaming tokens to the user continuously
- Automatically retraining models when new data or triggers arrive
- 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
- Continuous training (CT) means models are retrained regularly.
- Retraining happens when new data or triggers arrive.
- This ensures models stay up-to-date with latest information.
- Automatically retraining models fits this definition exactly.
- 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:
- A small percentage of traffic first, expanding if metrics hold
- All users at once, with no way to roll back if something goes wrong
- Only the developers who built it
- 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
- A canary release tests new models on some users first.
- This helps catch issues before full deployment.
- If metrics are good, more traffic is added gradually.
- This reduces risk for all users.
- 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:
- Training data is stored only on one laptop
- The previous version is still in the registry
- The old model's weights were deleted to save space
- 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
- Rolling back means switching back to an earlier model version.
- A model registry keeps earlier versions stored and ready to deploy.
- If the previous version is still in the registry, rollback is a configuration change, not a retrain.
- 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?
- Only the name of the engineer who trained it and the team they belong to
- Only the final accuracy score reached
- Only the date and time training finished
- 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
- Code version ensures the same code is used.
- Data version links to the exact dataset.
- Hyperparameters define the training process.
- Random seed makes results reproducible.
- 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
- The training code is rewritten in another language
- The model is moved to a different cloud region with different hardware
- The input features are stored in a new database
- 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
- Concept drift means the relationship between inputs and the correct output changes.
- Example: fraud patterns change over time as fraudsters adapt.
- The same kind of input now needs a different correct output.
- 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?
- The vector index has been compressed
- An upstream change, such as the provider's model or user traffic mix
- The tokenizer has learned new words by itself from production traffic overnight
- 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
- Average output length doubles without deployment, so no code change.
- Check for upstream changes like model updates or user traffic mix.
- Vector index compression or tokenizer learning new words take time.
- Golden set questions becoming longer is unlikely overnight.
- 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?
- Only how many developers committed code
- Only the training loss from the last fine-tuning run, checked daily
- Latency, error rate, token usage, cost and user feedback
- 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
- Latency shows how fast the app responds.
- Error rate indicates system reliability.
- Token usage and cost track resource consumption.
- User feedback reflects real-world performance.
- 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?
- Ship it to all users anyway, because offline evals are the final word on quality
- Delete the offline eval set, since it was wrong
- Keep both models and let users choose at random
- 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
- Offline evals don't capture real-world user behavior.
- User-escalation rate shows actual performance in live use.
- Gap between evals and live data means something is missed.
- Investigating the gap finds root causes of the issue.
- 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?
- 0.23
- 0.50
- 0.15
- 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
- PSI = sum (a-e) ln(a/e), e=0.25.
- Terms: 0.137, 0.011, 0.009, 0.071.
- 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 →