Skip to content
tezvyn:

Top 30 MLOps & Infrastructure Concepts Quiz

30 multiple-choice questions on the MLOps & Infrastructure fundamentals, drawn from 30 bites in the MLOps & Infrastructure library. Answer them here or read straight down. Every question carries the correct option, why it is correct, and a link to the bite it came from.

Model deployment, training infra, experiment tracking

30 questions. Pick an answer, or open “Show the answer” to read it.

Answers are graded in your browser. Nothing is saved, and no XP or streak is earned here. The app keeps score.

  1. Question 1 of 30

    What is the primary distinction that makes MLOps necessary beyond traditional DevOps for machine learning systems?

    Show the answer

    Answer: a · Continuously monitoring model performance and orchestrating retraining on new data.

    MLOps uniquely addresses the lifecycle of machine learning models and their underlying data, including continuous monitoring for performance decay and automated retraining. Traditional DevOps focuses primarily on the code lifecycle, which is insufficient for the dynamic nature of ML models.

    Read the full bite: MLOps vs. DevOps: More Than Just "DevOps for ML"

  2. Question 2 of 30

    Which of the following best describes the core function of an ML experiment tracking system?

    Show the answer

    Answer: c · To systematically log experiment parameters, metrics, and artifacts for reproducibility and comparison.

    The card describes experiment tracking as a "digital lab notebook" that logs "parameters, metrics, artifacts, and environment" to enable "reproducibility" and "comparison" of experiments. While related to other ML lifecycle stages, its core function is not deployment, production monitoring, or data versioning, but rather systematic logging for experimental insights.

    Read the full bite: ML Experiment Tracking: Your Model's Lab Notebook

  3. Question 3 of 30

    To efficiently manage large datasets and avoid duplicating storage across versions, data versioning systems primarily utilize which technique?

    Show the answer

    Answer: c · Storing each unique data file once and using lightweight pointers to represent different dataset versions.

    Data versioning systems achieve efficiency by storing only one copy of each unique data file and using lightweight pointers to reference these files across different dataset versions, avoiding full duplication. Option B describes the inefficient approach that data versioning aims to solve.

    Read the full bite: Data Versioning: Git for Your Datasets

  4. Question 4 of 30

    What is the primary distinguishing characteristic of CD4ML compared to traditional CI/CD pipelines?

    Show the answer

    Answer: a · It explicitly manages and automates changes across code, data, and trained models.

    CD4ML's core innovation is extending CI/CD to manage the unique lifecycle of ML systems, which includes versioning and automating changes for code, data, and the trained model. While it does automate deployment (Option C), this is also a feature of traditional CI/CD; the distinction lies in the comprehensive management of data and models as first-class artifacts.

    Read the full bite: CD4ML: Automating ML from Data to Deployment

  5. Question 5 of 30

    Which scenario most strongly indicates the necessity of implementing a Continuous Training (CT) pipeline for an ML model?

    Show the answer

    Answer: c · The model's performance metrics are steadily degrading in production due to shifts in the input data distribution.

    Continuous Training (CT) is specifically designed to address model performance decay caused by 'data drift' or non-stationary data patterns in production. Option C directly describes this core problem. Option D refers to traditional CI/CD for code or infrastructure, not CT for model retraining due to data changes.

    Read the full bite: Continuous Training: CI/CD for ML Models

  6. Question 6 of 30

    A spam filter trained on 2020 email data struggles in 2023 because spammers now use keywords previously common in legitimate emails. What type of drift is this?

    Show the answer

    Answer: b · Concept Drift, because the relationship between keywords and whether an email is spam has fundamentally altered.

    This is Concept Drift because the fundamental relationship between the input features (keywords) and the target variable (spam) has changed; what once indicated legitimate email now indicates spam. While the distribution of keywords has shifted (Data Drift), the core issue is the altered meaning of those keywords in predicting spam, which is characteristic of Concept Drift.

    Read the full bite: Data Drift vs. Concept Drift: When Models Go Stale

  7. Question 7 of 30

    When a production model performs poorly, how does ML Metadata primarily facilitate debugging?

    Show the answer

    Answer: b · It enables tracing the model's complete lineage, including the exact data, code, and hyperparameters used for its training.

    Option B accurately describes ML Metadata's core debugging function: tracing a model's lineage back to its training inputs and processes. Option D is tempting due to the 'git blame' analogy, but ML Metadata tracks artifacts and executions, allowing identification of the code version used, not automatic flagging of specific code changes.

    Read the full bite: ML Metadata: The Logging Layer for ML Pipelines

  8. Question 8 of 30

    Which scenario best highlights the primary benefit of using a data lake compared to a data warehouse?

    Show the answer

    Answer: b · Storing vast amounts of diverse, unprocessed data for future machine learning model training.

    The card states that data lakes are ideal for storing "massive volumes of diverse, unstructured data cheaply, without having to define its structure or purpose upfront" and for "data scientists and machine learning engineers who need access to raw data for exploratory analysis and model training." Option B directly reflects this core advantage. Option C describes a use case better suited for a data warehouse, which is optimized for consistent, high-performance reporting.

    Read the full bite: Data Lake vs. Data Warehouse: Raw vs. Refined Data

  9. Question 9 of 30

    Which of the following describes a proper ETL implementation?

    Show the answer

    Answer: b · A scheduled process automatically extracts data from several sources, transforms it, and loads it into a central database.

    ETL is intended as an automated, three-phase pipeline run on recurring schedules, which option B illustrates. Option A represents the manual-run footgun the card warns against, while B omits the required transformation phase and D describes a one-time task lacking recurring automation.

    Read the full bite: ETL: Extract, Transform, Load

  10. Question 10 of 30

    Which statement best describes the primary role of data labeling in machine learning?

    Show the answer

    Answer: b · To provide a "ground truth" that allows supervised models to learn patterns from raw data.

    Data labeling creates a "ground truth" or an "answer key" that supervised machine learning models use to learn patterns from raw data, as stated in the card. Option A describes unsupervised learning, which specifically does not require data labeling.

    Read the full bite: Data Labeling: Teaching Machines What to See

  11. Question 11 of 30

    In an ELT data pipeline, where is the transformation logic primarily executed?

    Show the answer

    Answer: b · Directly inside the powerful cloud data warehouse where the data is stored

    ELT's defining characteristic is that raw data is loaded first, and then transformations are performed directly within the target data warehouse, leveraging its scalable compute power. This differs from ETL, where transformation occurs in a separate step before the final load.

    Read the full bite: ELT: Load Raw Data, Transform in Place

  12. Question 12 of 30

    To safely change an existing database column's data type or name without disrupting applications, which strategy is most effective?

    Show the answer

    Answer: a · Employ an "expand and contract" pattern: add the new column, migrate data, switch application usage, then remove the old column.

    The card explicitly states that modifying a column's name or type is the most complex and often uses an "expand and contract" pattern to avoid disruption. Directly altering the column or dropping and recreating it would likely cause application errors or downtime.

    Read the full bite: Data Schema Evolution: Changing Your Data's Blueprint

  13. Question 13 of 30

    Which statement best describes the primary role of Great Expectations within a data pipeline?

    Show the answer

    Answer: a · It provides a framework for defining and enforcing data quality assertions.

    Option A accurately describes Great Expectations' core function: defining 'Expectations' to assert data properties and validate data quality, acting as a quality gate. Option D is incorrect because Great Expectations identifies data quality issues but does not automatically perform cleansing or transformation; it reports on the issues for users to address.

    Read the full bite: Great Expectations: Unit Tests for Your Data

  14. Question 14 of 30

    How does DVC enable versioning of large data files and models within a Git-managed project?

    Show the answer

    Answer: d · It creates small text files in Git that act as pointers to the actual large files stored externally.

    DVC's core mechanism involves creating small pointer files (e.g., .dvc files) within the Git repository. These pointer files contain metadata that references the actual large data files or models, which are stored in external storage like cloud services or a local cache. This allows Git to manage lightweight pointers while DVC handles the large binaries. Option C is incorrect because DVC's purpose is to avoid storing large files directly in Git, which is inefficient for binaries.

    Read the full bite: DVC: Git for Data and ML Models

  15. Question 15 of 30

    A machine learning engineer uses data augmentation. What problem are they most likely trying to solve?

    Show the answer

    Answer: c · The model performs well on training data but poorly on new, unseen data.

    Data augmentation is primarily used to combat overfitting, which is characterized by high accuracy on training data but poor performance on new data. It helps the model generalize better by providing more varied examples, rather than speeding up training or handling missing values.

    Read the full bite: Data Augmentation: Getting More from Your Data

  16. Question 16 of 30

    Which scenario best highlights the core advantage of implementing a data lake?

    Show the answer

    Answer: c · A research team collecting vast amounts of raw, multi-format sensor data for exploratory machine learning.

    The correct answer (C) aligns with the data lake's purpose: storing diverse, raw data for exploratory analysis and machine learning without upfront schema. Options A, B, and D describe use cases better suited for transactional databases, data warehouses, or indexed systems, which data lakes are explicitly not designed for.

    Read the full bite: Data Lake: A Single Repository for Raw Data

  17. Question 17 of 30

    When considering feature hashing for a machine learning task, which of the following is a primary concern?

    Show the answer

    Answer: b · The potential for different features to map to the same index, impacting model accuracy.

    The card explicitly states that "Hash collisions, where different features map to the same index, introduce noise and can degrade model accuracy." Options A, B, and D describe issues that feature hashing is designed to solve or are characteristics of one-hot encoding, not feature hashing.

    Read the full bite: Feature Hashing: The Hashing Trick for ML

  18. Question 18 of 30

    What is the main advantage of a dual online/offline feature serving system in machine learning?

    Show the answer

    Answer: b · It guarantees that features used for model training are identical to those used for live predictions.

    The card states that the dual system's primary purpose is to 'guarantee that the logic used to create features is identical in both the high-throughput training environment and the low-latency production environment,' directly preventing training-serving skew. While other options might be secondary benefits or related concepts, they are not the core advantage of this specific dual architecture.

    Read the full bite: Online vs. Offline Feature Serving: Two Speeds for ML Data

  19. Question 19 of 30

    What is the primary reason for performing feature backfilling when adding a new feature to an existing machine learning model?

    Show the answer

    Answer: d · To generate historical values for the new feature, ensuring the training dataset is complete and consistent with future serving data.

    Feature backfilling's core purpose is to populate historical data for a newly defined feature, making the training dataset consistent with how the feature will be used in live predictions, as stated in 'WHY IT EXISTS'. Option B describes a benefit of real-time feature stores for inference, not the primary goal of backfilling for historical training data.

    Read the full bite: Feature Backfilling: Populating Historical Data for ML

  20. Question 20 of 30

    Which of the following describes a potential limitation of Recursive Feature Elimination (RFE)?

    Show the answer

    Answer: b · It may discard features that are individually weak but contribute significantly when combined with others.

    RFE is a greedy algorithm that removes features one by one based on individual importance, meaning it might miss optimal combinations where features are powerful together but weak alone. It is also computationally expensive, not efficient, and can be used with various models that provide feature importances, not just linear models.

    Read the full bite: Recursive Feature Elimination: Survival of the Fittest Features

  21. Question 21 of 30

    How does a Feature Definition Language (FDL) primarily address the challenge of training-serving skew in machine learning?

    Show the answer

    Answer: c · By providing a unified, declarative specification for feature sources and transformations used in both training and inference.

    FDL solves training-serving skew by acting as a single source of truth, defining a feature's source and schema once for both training and serving. Option B is incorrect because FDL defines existing features, it does not automatically generate new ones.

    Read the full bite: Feature Definition Language: Define ML Features as Code

  22. Question 22 of 30

    What is the primary problem a point-in-time correct join solves when preparing data for machine learning models?

    Show the answer

    Answer: b · Data leakage, by ensuring that only historically available feature values are used for each training example.

    The card explicitly states that a point-in-time correct join is vital "to prevent data leakage" by ensuring you only retrieve feature values that were available at a specific point in time. Option D is incorrect because the card notes it is "not to use it" for real-time online inference.

    Read the full bite: Point-in-Time Correctness: Avoiding Data Leakage in ML

  23. Question 23 of 30

    What is the primary challenge in ML workflows that Feature Governance, typically implemented via a feature store, aims to resolve?

    Show the answer

    Answer: b · The risk of inconsistent feature logic leading to performance degradation between training and serving.

    The card explicitly states that Feature Governance exists to prevent "training-serving skew," which is a mismatch in feature logic between training and serving, causing "silent model failures." Option B directly addresses this core problem. Option A describes a technical challenge that the online store component helps mitigate, but it's not the fundamental problem of *governance* itself, which is about consistency of definitions and logic.

    Read the full bite: Feature Governance: Taming Your ML Inputs

  24. Question 24 of 30

    How do entity embeddings primarily represent and relate high-cardinality categorical data in a neural network?

    Show the answer

    Answer: d · By learning dense, low-dimensional vectors that position functionally similar categories closer in a continuous space.

    Entity embeddings learn dense, low-dimensional vectors for each category, adjusting them during training so that categories with similar functional roles in the prediction task are positioned closer together in the embedding space. Option B describes one-hot encoding, which creates sparse, high-dimensional vectors and does not inherently capture relationships between categories.

    Read the full bite: Entity Embeddings: Smart Maps for Categorical Data

  25. Question 25 of 30

    Which of the following best describes TensorBoard's core contribution to machine learning model development?

    Show the answer

    Answer: d · It provides a visual, interactive dashboard to monitor internal model states and training metrics in real-time.

    TensorBoard's primary role is to act as an "instrument panel" or "live, interactive dashboard" that visualizes internal model states and metrics during training, turning the "black box" into a "glass box." The card explicitly states it is not a full-scale experiment management platform, making option A incorrect.

    Read the full bite: TensorBoard: The Dashboard for Your ML Model

  26. Question 26 of 30

    What is the primary reason for organizing MLflow "runs" into "experiments"?

    Show the answer

    Answer: a · To facilitate direct comparison of related model training iterations.

    The card states that runs are grouped into "experiments" "like folders for a specific project, allowing you to compare apples to apples." This emphasizes their role in categorizing and comparing different training attempts. While MLflow tracks hyperparameters, experiments are for comparing variations, not enforcing consistency, and its primary function isn't code versioning or solely real-time monitoring.

    Read the full bite: MLflow Tracking: A Lab Notebook for Your ML Experiments

  27. Question 27 of 30

    What is the primary benefit of defining a model signature for an ML model?

    Show the answer

    Answer: c · It programmatically enforces the expected data contract, preventing runtime errors from invalid inputs.

    The card explicitly states that model signatures were created to "enforce this contract programmatically, preventing bad data from ever reaching the model and ensuring reliability" and to prevent "runtime errors from mismatched data shapes, missing columns, or wrong data types." Other options describe related but distinct aspects of ML model management, not the core function of a signature.

    Read the full bite: Model Signature: The API Contract for Your ML Model

  28. Question 28 of 30

    What is the main advantage Hydra offers for managing configurations in complex applications, particularly in machine learning?

    Show the answer

    Answer: d · It enables the systematic composition of small, reusable configuration pieces to manage numerous experimental variations.

    Hydra's core benefit is its ability to compose modular configuration components, allowing users to systematically manage and swap out different settings for various experimental runs. The card explicitly states it avoids a 'monolithic file' approach, making option A incorrect.

    Read the full bite: Hydra: Composable Configuration for Complex Apps

  29. Question 29 of 30

    Which scenario best illustrates the primary utility of implementing model lineage in an MLOps workflow?

    Show the answer

    Answer: c · An auditor requires proof that a deployed model did not use specific user data for training.

    Model lineage is explicitly stated as critical for "compliance, as regulations like the EU AI Act and GDPR require auditable records of how models are built and what data they were trained on," which is directly addressed by an auditor's request. While experiment trackers (option D) are tools used to capture lineage, they represent a component of the process, not the overarching utility of the complete lineage record itself.

    Read the full bite: Model Lineage: The Git History for Your AI

  30. Question 30 of 30

    What is the primary benefit of using PMML for machine learning model deployment?

    Show the answer

    Answer: b · It provides a standardized, vendor-neutral way to deploy models trained in one environment to a different scoring environment.

    PMML's main purpose is to enable interoperability, allowing models trained in one system (e.g., Python) to be deployed and executed in another (e.g., Java) using a standardized XML format. It does not reduce training costs, dictate development frameworks, or offer a binary serialization format.

    Read the full bite: PMML: The 'Save File' for Machine Learning Models

Could you explain these out loud?

That is what an interview actually tests. Tezvyn gives you questions like these with what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon