Top 30 Intermediate MLOps & Infrastructure Concepts Quiz
30 intermediate multiple-choice MLOps & Infrastructure concept questions, the mechanics underneath the basics: how the pieces relate and where the usual mental model stops holding. They come from 30 bites in the MLOps & Infrastructure library, the middle slice of the 124 MLOps & Infrastructure concept questions in the 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.
Question 1 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
Question 2 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.
Question 3 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
Question 4 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.
Question 5 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
Question 6 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
Question 7 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.
Question 8 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
Question 9 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
Question 10 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
Question 11 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
Question 12 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
Question 13 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
Question 14 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
Question 15 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
Question 16 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
Question 17 of 30
What is the main reason to use Conda environments for managing project dependencies?
Show the answer
Answer: b · To prevent conflicts by allowing each project to have its own isolated set of package versions.
Conda environments are designed to solve "dependency hell" by providing isolated spaces where each project can have its specific package versions without conflicting with other projects. Option C describes the problem Conda environments solve, not their solution.
Read the full bite: Conda Environments: Isolate Your Project Dependencies
Question 18 of 30
Why are Docker bind mounts generally discouraged for production application data?
Show the answer
Answer: d · They create a direct dependency on the host's filesystem and pose security vulnerabilities.
The card explicitly states that bind mounts make containers non-portable due to host directory dependency and are a security risk in production. Option B is incorrect because bind mounts are specifically used to avoid rebuilding containers for every file change, enabling live iteration.
Read the full bite: Docker Bind Mounts: A Portal to Your Host Filesystem
Question 19 of 30
What is the primary benefit of using a Dev Container for a software project?
Show the answer
Answer: d · To guarantee a consistent and standardized development environment across all team members and CI/CD pipelines.
Dev Containers are designed to solve the 'it works on my machine' problem by ensuring every developer and CI pipeline uses the exact same pre-configured environment. While containers are used for deployment, dev containers specifically focus on standardizing the development setup, not direct production deployment.
Read the full bite: Dev Containers: Your Dev Environment as Code
Question 20 of 30
What is a primary benefit of implementing Configuration as Code?
Show the answer
Answer: a · It provides a version-controlled, repeatable, and consistent way to manage system settings across environments.
Configuration as Code's core purpose is to ensure consistency and repeatability of system settings across different environments by treating them as version-controlled files. While it involves automation, it does not completely automate all system administration tasks. It is explicitly stated that CaC is not a secrets management solution; sensitive data should be handled by dedicated vaults.
Read the full bite: Configuration as Code: Version Control for Your Settings
Question 21 of 30
Which scenario best illustrates a core benefit of using a parameter server architecture?
Show the answer
Answer: d · Training a deep learning model with billions of parameters that cannot fit into a single machine's memory.
The card states that parameter servers are used to "train models too large for one machine's memory," making option D a direct application of its core benefit. Option C is incorrect because the card warns that for smaller models, the communication overhead can make training slower.
Read the full bite: Parameter Servers for Distributed ML Training
Question 22 of 30
What is the primary scenario where Horovod provides significant value for deep learning training?
Show the answer
Answer: d · When a large deep learning model's training is compute-bound on a single machine.
Horovod is specifically designed for situations where training large deep learning models is bottlenecked by compute time on a single GPU. It is not recommended for I/O-bound problems or small datasets due to added overhead, and it primarily facilitates data parallelism rather than model parallelism.
Read the full bite: Horovod: Scale ML Training Across Many GPUs
Question 23 of 30
Which scenario best illustrates the primary value proposition of Ray AI Runtime (AIR)?
Show the answer
Answer: b · Building an end-to-end ML system that requires seamless scaling from distributed data preprocessing to model serving.
Ray AIR is designed to provide a unified, distributed platform for the entire ML lifecycle, from data processing to serving, eliminating friction between stages. Option B directly aligns with this core purpose. Option D is tempting because Ray Tune is part of AIR, but AIR's primary value is managing the *entire* distributed ML workflow, not just an isolated part or a single-machine task.
Read the full bite: Ray AI Runtime (AIR): A Unified ML Toolkit
Question 24 of 30
Which scenario best describes when an organization would benefit most from adopting Kubeflow?
Show the answer
Answer: c · When they possess strong Kubernetes expertise and need a standardized, portable platform for complex, multi-stage ML workflows.
The card states Kubeflow is ideal for organizations with strong Kubernetes expertise that need a standardized, portable, and scalable platform for complex, multi-stage ML workflows. Option B describes a scenario where Kubeflow is explicitly not recommended due to its operational complexity and overhead.
Question 25 of 30
What is the primary benefit Slurm provides in a supercomputing environment?
Show the answer
Answer: b · It ensures that expensive, shared computing resources are allocated efficiently and fairly among many users.
The card states Slurm was created "to bring order, fairness, and efficiency to managing workloads on these shared systems." While users develop code, Slurm's core function isn't debugging, nor is it a virtualization layer or a tool for real-time web service scaling.
Read the full bite: Slurm: The Job Scheduler for Supercomputers
Question 26 of 30
When is Elastic Training most advantageous for a machine learning project?
Show the answer
Answer: b · When performing long-running distributed training on infrastructure with fluctuating resource availability.
Elastic Training is designed for long-running, distributed jobs on unreliable infrastructure, such as cloud spot instances, to ensure resilience against node failures. While it can save overall time by preventing restarts, its primary advantage is not guaranteeing faster training speed but rather enabling continuous progress despite resource changes.
Read the full bite: Elastic Training: Training Models on Unreliable Hardware
Question 27 of 30
In which scenario should a team avoid shadow deployment?
Show the answer
Answer: d · The model's inference step triggers billable calls to a payment gateway
Shadow deployment duplicates every live request, so side effects like payment gateway calls would execute twice and create incorrect charges or state. The other options are all explicit reasons to use shadow deployment: comparing distributions, handling data drift, and observing cold-start behavior on real traffic.
Read the full bite: Shadow Deployment: Test Models on Real Traffic
Question 28 of 30
For which MLOps task might GitHub Actions be less ideal compared to specialized ML orchestration platforms?
Show the answer
Answer: d · Managing extremely long-running, resource-intensive model training jobs.
C is correct because the card explicitly states GitHub Actions may not be ideal for "extremely long-running training jobs that exceed its default job timeout." The other options describe tasks where GitHub Actions is well-suited, such as continuous integration, continuous training, and continuous deployment.
Question 29 of 30
Which practice best characterizes model serving as a first-class CI/CD citizen rather than an ad-hoc deployment?
Show the answer
Answer: a · Versioning the model alongside application code and running automated tests before release
The card describes model serving as operationalizing trained artifacts within CI/CD through versioning, testing, and releasing them alongside application code. Option D is tempting because aligning platform with framework sounds efficient, but the card explicitly states serving must remain framework and platform agnostic.
Read the full bite: Model Server: The MLOps Deployment Bridge
Question 30 of 30
Which scenario is most appropriate for deploying an ML model using serverless inference?
Show the answer
Answer: b · An internal application that summarizes user-uploaded documents only a few times a day.
Serverless inference is ideal for workloads with intermittent, infrequent, or unpredictable traffic, as it allows resources to scale down to zero when not in use, saving costs. The card specifically mentions an "internal tool for summarizing documents on demand" as a suitable use case. Options A, B, and D describe scenarios with high, sustained traffic or strict low-latency requirements, for which serverless is explicitly not recommended due to cold starts and cost-inefficiency compared to provisioned endpoints.
Read the full bite: Serverless Inference: Run ML Models Without Managing Servers
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.