Top 30 Easy AI & ML Concepts Quiz for Beginners
30 easy multiple-choice AI & ML concept questions, the vocabulary and first principles, the parts you need before anything else makes sense. They come from 30 bites in the AI & ML library, the gentlest 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 situation best illustrates why a loss function should not be the only measure of a model's real-world effectiveness?
Show the answer
Answer: a · The model achieves a low loss score, but its predictions are biased or provide no practical value to users.
The card explicitly states that a low loss score doesn't guarantee real-world usefulness, as outputs can still be nonsensical, biased, or unhelpful. This highlights that loss functions are for optimization, not the final arbiter of a model's real-world usefulness. Option C describes a scenario where a loss function isn't typically used, rather than a limitation of relying on it as a sole metric when it is applied.
Read the full bite: Loss Function: Quantifying 'How Wrong' a Model Is
Question 2 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"
Question 3 of 30
What is the main drawback of representing a digital image as a fixed grid of pixels?
Show the answer
Answer: b · It causes the image to appear blurry or pixelated when scaled up significantly.
The card states that the 'primary weakness is scaling' for raster images, as making them larger requires inventing new pixels, leading to blurriness or pixelation. Option D describes vector graphics, which is a common misconception about how raster images work.
Question 4 of 30
When is conducting a stakeholder analysis most crucial for a project's success?
Show the answer
Answer: b · When the project involves diverse groups with potential conflicting interests or varying power.
The card emphasizes that stakeholder analysis is crucial for navigating the 'human landscape' and balancing 'competing demands' from parties with varying interest and influence. While identifying risks (option A) is an important project management activity, stakeholder analysis specifically focuses on understanding and managing the human element and their impact on the project.
Read the full bite: Stakeholder Analysis: Mapping Influence and Interest
Question 5 of 30
What fundamental capability do activation functions primarily provide to neural networks?
Show the answer
Answer: c · They introduce non-linear transformations, allowing the network to model complex, non-linear relationships.
The card emphasizes that activation functions introduce non-linearity, which is crucial for neural networks to learn complex patterns beyond simple linear relationships. Without non-linearity, a multi-layered network would collapse into a single linear model. Other options describe secondary effects or unrelated concepts.
Read the full bite: Activation Functions: Making Neural Networks Nonlinear
Question 6 of 30
Which pitfall is explicitly warned against when applying the 5 Whys technique?
Show the answer
Answer: c · Attributing the problem's origin to individual human error rather than systemic flaws
The card explicitly states, 'The footgun is blaming people instead of asking why the process allowed the error,' emphasizing that the technique should focus on systemic process failures, not individual fault. While stopping at exactly five 'Whys' can be a misuse, the primary 'footgun' highlighted is the misdirection of blame.
Read the full bite: 5 Whys: Find the Root Cause, Not the Symptom
Question 7 of 30
What is the primary reason the pinhole camera model should not be directly applied to raw images from real cameras?
Show the answer
Answer: d · It does not model the non-linear distortions introduced by real camera lenses.
The card explicitly states that real cameras introduce non-linear distortions (e.g., barrel or fisheye effects) that violate the straight-line assumption of the pinhole model. While other issues might exist, lens distortion is the primary limitation mentioned for direct application.
Read the full bite: Pinhole Camera Model: Projecting 3D to 2D
Question 8 of 30
In the RGB color model, what color is produced when red, green, and blue light are combined at their maximum intensity?
Show the answer
Answer: a · White
The RGB model is additive, meaning it starts with black and adds light. The card explicitly states that when all three primary lights (red, green, blue) overlap at full intensity, the result is white. Black is the result of mixing all primary pigments in a subtractive model, which is a common misconception the card addresses.
Read the full bite: RGB Color Model: Mixing Light, Not Paint
Question 9 of 30
Which of the following best describes a fundamental limitation of an image histogram?
Show the answer
Answer: d · It fails to provide any information about the spatial arrangement of pixels in an image.
An image histogram has zero spatial awareness; it summarizes pixel counts by brightness but does not indicate where those pixels are located in the image. Therefore, it cannot judge composition. The other options describe capabilities that histograms possess or misrepresent their core function.
Read the full bite: Image Histograms: Visualizing an Image's Tonal DNA
Question 10 of 30
Which statement accurately describes a key characteristic of a probability distribution?
Show the answer
Answer: b · It maps every possible outcome of a random process to its specific probability.
A probability distribution is defined as a map of all possible outcomes and their chances, assigning a probability to each. It does not always follow a bell curve, and its purpose is to quantify uncertainty, not to predict exact outcomes or analyze deterministic processes.
Read the full bite: Probability Distributions: Mapping Odds to Outcomes
Question 11 of 30
According to the card, what is a crucial requirement for a collection of vectors to be considered a "vector space"?
Show the answer
Answer: d · Performing addition or scalar multiplication on any vectors from the collection must always yield a result that is also part of that same collection.
The card emphasizes that for a set to be a vector space, any operation (addition or scalar multiplication) must result in a vector that "is still inside the sandbox" or "is also still a 2D vector on that plane." This property, known as closure, is fundamental. Option B is incorrect because while the canonical example uses vectors from the origin, it's not a universal requirement for all vector spaces.
Question 12 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
Question 13 of 30
For many computer vision tasks, what is the main benefit of converting a color image to grayscale?
Show the answer
Answer: d · It reduces the computational complexity by representing each pixel with a single brightness value, aiding tasks focused on shape or texture.
Grayscale conversion simplifies image data by reducing each pixel from three color values (RGB) to a single brightness value, making algorithms faster and easier to develop for tasks that rely on shape, texture, or contrast. Option C is incorrect because grayscale's primary purpose in computer vision is data simplification for machine processing, not enhancing visual clarity for human interpretation.
Read the full bite: Grayscale Conversion: Seeing in Shades of Gray
Question 14 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.
Question 15 of 30
Before the softmax function is applied, what does the Transformer's final linear layer directly output?
Show the answer
Answer: c · Raw, un-normalized scores (logits) for each word in the vocabulary.
The linear layer's specific function is to convert the decoder's abstract vector into raw, un-normalized scores (logits) for every word. The softmax function then takes these logits and transforms them into a probability distribution, not the linear layer itself.
Read the full bite: Transformer: The Final Linear and Softmax Layers
Question 16 of 30
To ensure optimal image quality when an asset is needed at multiple display sizes, what is the recommended approach?
Show the answer
Answer: c · Store only the highest resolution version and generate each specific size from that original.
The card states, "For assets needed at multiple sizes, always generate each version from the high-resolution original." This prevents the cumulative quality loss that occurs when an image is scaled multiple times, especially when downscaled and then upscaled, as data is permanently discarded with each downscaling operation.
Read the full bite: Image Scaling: Resizing Pixels Without Ruining Them
Question 17 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
Question 18 of 30
For which task would a Causal Language Model be the most suitable choice?
Show the answer
Answer: c · Extending a partial sentence into a complete, coherent paragraph
Causal Language Models are designed for open-ended text generation, predicting the next word based only on preceding words, making them ideal for continuing or extending text. Tasks like sentiment analysis, information extraction, or summarization typically require understanding the entire input, which is a limitation for CLMs.
Read the full bite: Causal Language Modeling: The Autocomplete Engine
Question 19 of 30
What is a significant drawback of applying histogram equalization to an image?
Show the answer
Answer: c · It can dramatically amplify existing noise, especially in dark regions.
The card explicitly states that histogram equalization's "biggest weakness is that it can dramatically amplify noise." Option D is incorrect because the process is described as an "automatic method" that calculates the cumulative distribution function.
Read the full bite: Histogram Equalization: Spreading Out Pixel Brightness
Question 20 of 30
For what primary purpose is Common Crawl most effectively utilized?
Show the answer
Answer: b · Offering a massive, raw corpus of web content for large-scale research and model training.
The card states Common Crawl is "the raw material for training many LLMs and for academic research on web-scale data" and is ideal for projects that "can handle the scale and messiness of raw web data." It explicitly notes it is "not a search engine" and is "famously noisy," requiring extensive cleaning, making options A, B, and D incorrect.
Read the full bite: Common Crawl: A Free Snapshot of the Entire Web
Question 21 of 30
Which statement accurately describes a common behavior when slicing a NumPy ndarray?
Show the answer
Answer: b · Modifying elements in the sliced portion will also alter the original array if the slice is a view.
The card explicitly states that 'slicing often creates a view, not a copy, so edits can alter the original.' This behavior is a feature for performance but a common source of bugs. Option A is a common misconception, as slicing does not always create a copy; it often creates a view.
Read the full bite: NumPy ndarray: Fast, Typed, Multidimensional Grids
Question 22 of 30
What is the main drawback of using the Harris Corner Detector in computer vision applications?
Show the answer
Answer: b · Its performance is not robust to variations in image scale or resolution.
The card explicitly states that a "key weakness is its sensitivity to image scale" and advises against its use when an application "must handle images at different sizes or zoom levels." Other options are either contradicted by the text (e.g., it's described as fast and effective) or not highlighted as its primary limitation.
Read the full bite: Harris Corner Detector: Finding Sharp Changes in Images
Question 23 of 30
What unique characteristic makes a point suitable for detection by a corner detection algorithm?
Show the answer
Answer: d · Shifting a small window over it in any direction causes a noticeable change in pixel intensity.
The card explains that a corner is identified because moving a small window over it in any direction causes a significant change in what is seen. Option B describes an edge, where intensity changes sharply in only one direction, not multiple.
Read the full bite: Corner Detection: Finding Stable Points in Images
Question 24 of 30
Which scenario best highlights the primary benefit of using a pandas DataFrame?
Show the answer
Answer: a · Efficiently analyzing a large CSV file containing sales figures.
The card states that DataFrames are the 'workhorse for loading, cleaning, and analyzing tabular data in Python, like sales figures from a CSV,' highlighting their efficiency for such tasks. DataFrames are not suitable for data too large for memory, deeply nested JSON, or simple single-column lists.
Question 25 of 30
What is the fundamental mechanism the Hough Transform uses to detect shapes in an image?
Show the answer
Answer: d · It identifies local maxima in a parameter space where edge pixels have cast votes.
The card explains that the Hough Transform works by having each edge pixel 'vote' in a 'parameter space,' and the 'points where many of these curves intersect are local maxima—peaks of votes.' Option A describes template matching, which the card states the Hough Transform was created to overcome due to noise and imperfections.
Read the full bite: Hough Transform: Finding Shapes by Voting
Question 26 of 30
Which scenario most clearly demonstrates the value of prompt engineering?
Show the answer
Answer: b · Generating a consistent series of structured product descriptions for an e-commerce platform.
Prompt engineering is essential for tasks requiring reliable, repeatable, and specific outputs, such as generating consistent content for an application. Casual brainstorming or one-off requests do not typically require the detailed guidance that prompt engineering provides.
Read the full bite: Prompt Engineering: Guiding LLMs to Better Answers
Question 27 of 30
When is zero-shot prompting the most appropriate technique to use?
Show the answer
Answer: d · When performing a simple sentiment analysis on a product review.
Zero-shot prompting is ideal for simple, common tasks like sentiment analysis that leverage the model's pre-existing knowledge without needing examples. Tasks requiring new, specific formatting rules (option A) are generally too novel for zero-shot and would likely require examples.
Question 28 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
Question 29 of 30
When consuming a REST API, what is the primary function of the HTTP status code in the server's response?
Show the answer
Answer: a · To inform the client about the outcome of its request, such as success or failure.
The card explains that the HTTP status code is "the waiter telling you if your order succeeded," directly indicating its role in communicating the success or failure of the request. Other options describe functions handled by HTTP headers or the URL.
Read the full bite: Consuming REST APIs: Speaking to Web Services
Question 30 of 30
What is the primary problem web scraping aims to solve?
Show the answer
Answer: d · Providing a method to gather public data from websites lacking a dedicated API.
The card states web scraping exists to "bridge this gap, allowing automated collection of public data directly from websites when a more structured access method isn't provided," referring to APIs. Distractor A is incorrect because the card warns that "assuming scraping cleans the data" is a common misconception.
Read the full bite: Web Scraping: Automating Data Collection from Websites
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.