Top 30 Intermediate AI & ML Concepts Quiz
30 intermediate multiple-choice AI & ML 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 AI & ML library, the middle slice of the 606 AI & ML 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.
Artificial intelligence, machine learning, and data science
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 statement best describes the fundamental way regularization helps a model avoid overfitting?
Show the answer
Answer: b · It encourages the model to learn smaller, less extreme parameter values.
Regularization adds a penalty to the loss function for large parameter values, which encourages the model to learn simpler, less extreme weights, thus preventing it from memorizing noise. Option A describes a beneficial outcome of regularization, but not its direct mechanism; it doesn't explicitly "ignore" data points but rather reduces their influence by constraining parameter magnitudes.
Read the full bite: Regularization: Penalizing Complexity to Prevent Overfitting
Question 2 of 30
When would applying the MECE principle be least appropriate for an analysis?
Show the answer
Answer: b · Analyzing a blog's content by assigning multiple relevant tags to each post.
The MECE principle is inappropriate when categories naturally overlap and that overlap is meaningful, such as when tagging blog posts with multiple relevant topics. Forcing MECE in such a case would lose valuable context. The other options describe scenarios where MECE is a highly effective tool for clear, unambiguous analysis.
Read the full bite: The MECE Principle: No Overlaps, No Gaps
Question 3 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 4 of 30
For which situation is a hypothesis-driven analysis LEAST appropriate?
Show the answer
Answer: c · Uncovering novel insights and potential trends within a newly acquired dataset.
Hypothesis-driven analysis is designed for testing specific, falsifiable statements. Uncovering novel insights from a new dataset is an open-ended discovery task, which is better suited for exploratory data analysis rather than hypothesis testing.
Read the full bite: Hypothesis-Driven Analysis: Ask First, Analyze Second
Question 5 of 30
What is the fundamental principle behind how Word2Vec represents word meaning?
Show the answer
Answer: c · Words with similar meanings are mapped to points that are spatially close in a multi-dimensional vector space.
The core idea of Word2Vec is that words with similar meanings are represented by vectors that are close to each other in a multi-dimensional space, capturing semantic similarity through spatial proximity. Option A describes a method Word2Vec aims to improve upon, as it fails to capture semantic relationships.
Read the full bite: Word2Vec: Word Meaning as a Point in Space
Question 6 of 30
Which camera property is NOT directly determined by camera resectioning?
Show the answer
Answer: a · The camera's internal lens distortion parameters.
Camera resectioning determines the camera's external pose (position and orientation) based on known 3D-to-2D point correspondences. It assumes internal properties like lens distortion are either known or handled by a separate calibration, making them not directly determined by resectioning. The 2D pixel locations of known 3D points are inputs to the process, not outputs.
Read the full bite: Camera Resectioning: Finding a Camera's Pose in 3D Space
Question 7 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 8 of 30
What is the primary strategic advantage of implementing a North Star Metric for a product organization?
Show the answer
Answer: b · It ensures all teams are aligned on delivering core customer value, guiding major product investments and decisions.
The card states that an NSM aligns cross-functional teams on a common goal and shared definition of success, guiding major decisions and product investments. Options A and B describe misuses or explicit non-functions of an NSM, while option C overstates the immediate and guaranteed outcomes.
Read the full bite: North Star Metric: Aligning Your Team With One Metric
Question 9 of 30
For which application is correcting lens distortion most essential?
Show the answer
Answer: a · Reconstructing a 3D environment from a series of images
Correcting lens distortion is mandatory for applications like 3D reconstruction (photogrammetry) that rely on precise geometric measurements from images. While object classification might use images, it often doesn't require the same geometric precision, and aesthetic quality can sometimes even be enhanced by distortion.
Read the full bite: Lens Distortion: Why Straight Lines Curve in Photos
Question 10 of 30
Why is it essential to track both leading and lagging indicators in an organizational strategy?
Show the answer
Answer: c · To manage day-to-day activities with leading indicators and evaluate overall success with lagging indicators.
The card explains that leading indicators are for "operational management and proactive course-correction" (managing activities), while lagging indicators are for "strategic evaluation and reporting" and to "validate if those activities produced the desired result" (evaluating overall success). Option A is incorrect because the card explicitly warns against relying solely on leading indicators without validating them against lagging ones.
Read the full bite: Leading vs. Lagging Indicators: Predict the Future or Report the Past?
Question 11 of 30
Which situation best demonstrates the appropriate application of an issue tree?
Show the answer
Answer: a · Investigating the root causes behind a sudden, unexplained drop in customer retention.
Issue trees are designed for complex, unstructured diagnostic problems where the cause is unknown, such as an unexplained drop in a business metric. They are used for hypothesis generation, not for simple problems with clear causes or for managing the execution of known plans, nor for merely prioritizing symptoms without deconstructing the underlying problem.
Read the full bite: Issue Trees: Deconstruct Problems, Not Symptoms
Question 12 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 13 of 30
For which reason are HSL and HSV models generally unsuitable for image analysis and computer vision tasks?
Show the answer
Answer: b · They lack perceptual uniformity, making color difference measurements unreliable.
The card states that HSL and HSV are not perceptually uniform, meaning visual changes do not correspond consistently to numerical changes, which makes calculating color distance unreliable for algorithms. Other options are either incorrect or not the primary reason cited.
Read the full bite: HSL and HSV: Intuitive Ways to Represent RGB Color
Question 14 of 30
In an RGB system, what does "True color" (24-bit color depth) signify regarding bits per channel (bpc)?
Show the answer
Answer: d · Each of the Red, Green, and Blue channels uses 8 bits.
True color (24-bit color depth) means 24 bits per pixel (bpp). In an RGB system, these 24 bits are typically divided equally among the three channels (Red, Green, Blue), meaning 8 bits per channel (8 bpc). Option C is incorrect because 24 bits per channel would result in 72 bpp, not 24 bpp.
Read the full bite: Color Depth: Bits Per Pixel vs. Bits Per Channel
Question 15 of 30
A textile company needs to ensure fabric colors match a standard precisely, regardless of the display or printer used. Why would they primarily use CIELAB for this task?
Show the answer
Answer: b · It provides a device-independent measure of color perception, allowing for objective comparison and quality control.
CIELAB's primary advantage is its device-independent nature, modeling color based on human perception rather than display output. This allows for objective measurement and comparison of colors, crucial for quality control. Option C is less accurate because while CIELAB can be used for intuitive corrections, its core strength for precise matching lies in its perceptual uniformity and device independence, not just ease of adjustment.
Read the full bite: CIELAB Color Space: Measuring Color Beyond RGB
Question 16 of 30
How does self-attention primarily determine the relevance of other words to a given word in a sequence?
Show the answer
Answer: d · By comparing the current word's Query vector with every other word's Key vector.
Self-attention calculates relevance by measuring the similarity between a word's Query vector and other words' Key vectors. This process allows it to directly identify and weigh the importance of all other words, unlike sequential processing or fixed context windows.
Read the full bite: Self-Attention: The Transformer's Core Idea
Question 17 of 30
What distinct stabilization mechanism does Layer Normalization provide in deep networks, complementing residual connections?
Show the answer
Answer: a · It normalizes feature activations within a layer, maintaining a stable scale for subsequent layers.
Layer Normalization's primary role is to rescale activations within a layer to a stable distribution (mean 0, std 1), which stabilizes the inputs to the next layer. Option C describes the function of residual connections, which provide direct paths for information and gradients.
Read the full bite: Residual Connections & Layer Norm: The Transformer's Stabilizers
Question 18 of 30
When a medical test is 99% accurate, why does Bayes' Theorem suggest a positive result might not mean a 99% chance of having the disease?
Show the answer
Answer: a · The base rate, or initial prevalence of the disease in the population, significantly impacts the true probability.
The card emphasizes that Bayes' Theorem corrects intuition by incorporating the base rate (prior probability) of the disease. A low base rate means even a highly accurate test can yield many false positives, making the posterior probability of having the disease much lower than the test's accuracy suggests. Option D is tempting but incomplete, as it doesn't explain *why* the 1% error is so impactful in this context, which is due to the base rate.
Read the full bite: Bayes' Theorem: Updating Beliefs with Evidence
Question 19 of 30
Which scenario represents an inappropriate application for linear regression?
Show the answer
Answer: d · Predicting whether a customer will churn (yes/no) based on their service usage.
Linear regression is designed to predict continuous numerical values, not categorical outcomes like 'yes/no' for customer churn. The other options involve predicting continuous numerical values, which is the primary purpose of linear regression.
Read the full bite: Linear Regression: Finding the Line of Best Fit
Question 20 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 21 of 30
In a hypothesis test with an alpha of 0.05, what is the correct interpretation if your p-value is 0.03?
Show the answer
Answer: c · You have sufficient evidence to reject the null hypothesis.
The card states that if the p-value is less than alpha (p < alpha), you 'reject the null hypothesis.' Since 0.03 is less than 0.05, the null hypothesis is rejected. The p-value is not the probability of the null hypothesis being true, which is a common misconception.
Read the full bite: Hypothesis Testing: A Courtroom for Your Data
Question 22 of 30
What is the primary conceptual role of a matrix, beyond just being a grid of numbers?
Show the answer
Answer: c · To represent and apply linear transformations to vectors and space.
The card emphasizes that a matrix is fundamentally a "machine that transforms vectors" and describes "how space is stretched, rotated, or sheared." While matrices are used for solving linear equations (option A), this is a specific application of their ability to represent transformations. Options B and D misrepresent the scope or core functionality.
Read the full bite: Matrices: The Language of Linear Transformations
Question 23 of 30
In which scenario would applying a strong Gaussian blur be generally counterproductive or inappropriate?
Show the answer
Answer: a · When the goal is to preserve minute details and sharp boundaries in medical scans.
The card explicitly states that Gaussian blur should be avoided when preserving sharp edges and fine details, such as in medical imaging, is critical, as a strong blur destroys this high-frequency information. The other options (A, B, D) are all listed as appropriate and beneficial uses of Gaussian blur.
Read the full bite: Gaussian Blur: Smoothing Images with Weighted Averages
Question 24 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 25 of 30
What distinguishes an eigenvector from other vectors when a linear transformation is applied?
Show the answer
Answer: d · It maintains its original direction, only changing its length or orientation.
Eigenvectors are special because they stay on their original line (maintain direction) when transformed, only getting scaled (changing length or flipping orientation). Other vectors typically change both direction and magnitude. Option A describes an eigenvector with an eigenvalue of 1, which is a specific case, not the general definition.
Read the full bite: Eigenvectors and Eigenvalues: The Unchanging Directions of a Transformation
Question 26 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 27 of 30
When applying a median filter to an image, what is its key benefit compared to a simple averaging filter?
Show the answer
Answer: c · It effectively removes impulse noise while maintaining the sharpness of image edges.
The median filter's primary advantage is its ability to remove impulse noise (like salt-and-pepper noise) without blurring important image edges, which averaging filters tend to do. It is also a non-linear operation, not a linear one.
Read the full bite: Median Filter: Smoothing Images Without Blurring Edges
Question 28 of 30
What problem does loss scaling primarily address in mixed-precision training?
Show the answer
Answer: d · The potential for small gradient values to become zero in FP16.
Loss scaling's primary purpose is to inflate small gradient values before converting them to FP16, preventing them from becoming zero (underflow), which would otherwise cause training to fail. While a master copy of weights is kept in FP32 for stability, loss scaling directly ensures the gradients themselves are numerically viable.
Read the full bite: Mixed-Precision Training: Faster Training with Less Memory
Question 29 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 30 of 30
How does Gradient Descent determine the direction to update model parameters?
Show the answer
Answer: d · By taking a step in the direction opposite to the gradient of the cost function.
Gradient Descent works by iteratively taking small steps in the direction opposite to the gradient of the cost function, as the gradient points towards the steepest ascent. Option B is incorrect because following the direction of steepest increase would maximize, not minimize, the cost function.
Read the full bite: Gradient Descent: Finding the Bottom of the Hill
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.