Top 30 Intermediate Data Science & Analytics Concepts Quiz
30 intermediate multiple-choice Data Science & Analytics 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 Data Science & Analytics library, the middle slice of the 148 Data Science & Analytics 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.
Analysis, notebooks, visualization, pandas, statistics
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
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 2 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 3 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 4 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 5 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 6 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 7 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 8 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 9 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 10 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 11 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
Question 12 of 30
When differentiating a function like h(x) = f(g(x)), what does the Chain Rule fundamentally allow us to calculate?
Show the answer
Answer: d · The overall rate of change of h(x) by multiplying the rates of change of its nested components.
The card explains that the chain rule allows you to "multiply the derivatives of the 'outer' and 'inner' functions" to find the overall rate of change for nested functions, similar to multiplying gear ratios. Option C describes only a part of the chain rule (f'(g(x))) but misses the essential multiplication by the inner function's derivative (g'(x)).
Read the full bite: Chain Rule: Unpacking Nested Rates of Change
Question 13 of 30
When is Matplotlib's Object-Oriented (OO) API most advantageous to use?
Show the answer
Answer: c · For developing production-ready scripts, scientific publications, or complex dashboards with multiple panels.
The card states the OO API is for "any code you plan to save, share, or reuse," including "production scripts, scientific publications, and complex dashboards with multiple subplots." Option D describes the use case for the simpler, stateful pyplot interface, not the OO API.
Read the full bite: Matplotlib's Object-Oriented API: Explicit Plot Control
Question 14 of 30
Which task is LEAST suited for a groupby operation according to the Split-Apply-Combine strategy?
Show the answer
Answer: b · Creating a new column by combining values from two existing columns in the same row.
The card explicitly states that groupby is not for simple row-wise calculations that don't depend on any group, such as multiplying two columns. Options A, B, and D correspond to Aggregation, Transformation, and Filtration, respectively, which are all valid applications of groupby.
Read the full bite: Groupby: The Split-Apply-Combine Strategy
Question 15 of 30
What is the fundamental difference in the output of a scikit-learn predict() method versus a transform() method?
Show the answer
Answer: b · predict() provides estimated target values, whereas transform() returns a modified version of the input feature data.
The `predict()` method, used by predictors, outputs the model's estimated target values (e.g., class labels or regression values). In contrast, the `transform()` method, used by transformers, returns a new version of the input feature data after applying a specific preprocessing operation. Option D is incorrect because `predict()` outputs predictions, not coefficients, and `transform()` can modify, reduce, or add features.
Read the full bite: Scikit-learn's Universal API: Fit, Predict, Transform
Question 16 of 30
What is the primary benefit of transforming a dataset from a "wide" format (e.g., cases_2020, cases_2021 as separate columns) into a tidy format (e.g., year and cases as distinct columns)?
Show the answer
Answer: d · It enables seamless integration with a wide array of analytical and visualization tools.
The card states that tidy data acts as a "universal adapter" for data tools, simplifying analysis and making it the "expected input for a vast ecosystem of tools." Option C is incorrect because the card notes that "wide" format can be more human-readable for presentation.
Question 17 of 30
What is the primary role of the aes() function when constructing a ggplot2 visualization?
Show the answer
Answer: d · To define how data variables are mapped to visual characteristics like x-axis, y-axis, or color.
The aes() function is used to specify how variables in your dataset map to visual properties (aesthetics) like x/y position, color, or shape. The type of graphical representation, like a scatter plot or bar chart, is instead determined by the geom_ functions.
Read the full bite: ggplot2: Building Graphics with a Grammar
Question 18 of 30
What is the primary benefit of dplyr's design philosophy for data manipulation in R?
Show the answer
Answer: c · It offers a consistent and readable grammar for common data transformations.
The card emphasizes that dplyr provides a "cohesive, predictable, and readable set of tools" and a "grammar for talking about data." Option C directly captures this core benefit. Option A is incorrect because the card notes data.table can be faster for extreme performance needs. Option B is wrong as the card states dplyr is not for complex, non-tabular data structures. Option D misrepresents dplyr's function; it introduces its own consistent syntax, rather than optimizing base R code.
Question 19 of 30
Which scenario best illustrates the appropriate use case for OAuth 2.0 authentication compared to a simple API key?
Show the answer
Answer: a · A mobile application requesting access to a user's social media profile on a third-party platform.
OAuth 2.0 is designed for delegated authorization, allowing third-party applications to access a user's resources with their consent, without sharing the user's credentials. Simple API keys are better suited for trusted server-to-server communication or basic access control where user consent and granular permissions are not required.
Question 20 of 30
What is the primary reason HTML parsing is recommended over regular expressions for extracting data from web pages?
Show the answer
Answer: a · Parsers convert HTML into a queryable tree structure, making extraction robust against minor layout changes.
The card states that using regex for HTML is a "classic footgun" because it leads to brittle code. HTML parsers create a tree-like structure (like a DOM) that allows robust data extraction using selectors, making it resilient to changes in markup or layout. Option C is incorrect; standard HTML parsers process static HTML and do not execute JavaScript.
Read the full bite: HTML Parsing: Turning Web Pages into Data
Question 21 of 30
Which statement best describes a key advantage of GraphQL for client applications over traditional REST APIs?
Show the answer
Answer: d · It allows clients to specify exact data fields from multiple related resources in one network call.
The card emphasizes that GraphQL allows clients to ask for exactly the data they need in a single call, solving over-fetching and under-fetching issues. Distractor C is incorrect because the card explicitly states that caching is more complex with GraphQL, requiring sophisticated strategies.
Read the full bite: GraphQL Queries: Ask for Exactly What You Need
Question 22 of 30
In which situation would a formal ETL pipeline be considered unnecessary overhead?
Show the answer
Answer: b · When a system operator needs to perform a genuine one-time data transfer that requires no transformation
The card states that ETL adds unnecessary overhead for genuine one-time transfers that a system operator can handle manually without automation. Option D mirrors the canonical example where ETL is the ideal choice.
Question 23 of 30
Which scenario best illustrates the primary benefit of using a webhook?
Show the answer
Answer: a · A payment gateway automatically notifying an e-commerce platform upon successful transaction completion.
The primary benefit of webhooks is enabling real-time, event-driven communication by having a service notify your application when an event occurs, avoiding inefficient polling. Option A exemplifies this by showing a payment gateway proactively notifying an e-commerce platform, whereas other options describe polling, synchronous requests, or batch processing.
Question 24 of 30
What is the fundamental limitation of robots.txt when attempting to restrict access to specific website areas?
Show the answer
Answer: c · It functions as a set of polite suggestions that compliant bots follow, but it lacks enforcement for non-compliant actors.
The card emphasizes that robots.txt is a "polite request" and "not a security wall," meaning it relies on voluntary compliance and lacks technical enforcement against malicious actors. While the public nature of robots.txt does reveal paths, the fundamental limitation for *restricting access* is its inability to enforce those restrictions.
Read the full bite: robots.txt: The Web's 'Keep Off The Grass' Sign
Question 25 of 30
What is the fundamental reason querying NoSQL databases requires model-specific approaches rather than a universal language like SQL?
Show the answer
Answer: c · The query method in NoSQL is inherently dictated by the database's specific data model, such as key-value, document, or graph.
The card emphasizes that "The query method is tied to the data's shape" and "Querying in NoSQL is specific to the database's data model." This means the underlying data structure (key-value, document, graph) directly determines how data can be accessed. While NoSQL handles unstructured data, it also handles semi-structured data, and the core reason for model-specific querying is the data model itself, not solely the unstructured nature of the data.
Read the full bite: Querying NoSQL: It Depends on the Data Model
Question 26 of 30
In which scenario would applying binning to a continuous feature be most beneficial?
Show the answer
Answer: c · When preparing data for algorithms that specifically require categorical features.
The card explicitly states binning is useful for "converting continuous features into categorical ones for certain algorithms." Option D is incorrect because binning smooths out minor variations, which would be detrimental to preserving them for detailed anomaly detection.
Read the full bite: Binning: Grouping Continuous Data into Buckets
Question 27 of 30
Which of the following tasks is explicitly identified as an inappropriate use case for regular expressions?
Show the answer
Answer: a · Analyzing the nested tag structure of an XML document
The card explicitly states, "Do not use regex to parse structured, nested formats like HTML or JSON. These formats are not 'regular' and require a proper parser." XML, being a structured, nested format, falls into this category, making regex an unsuitable tool for parsing its hierarchical structure. The other options represent appropriate and common uses for regular expressions.
Question 28 of 30
What is the primary reason to avoid using Label Encoding for input features in models sensitive to magnitude, such as Linear Regression?
Show the answer
Answer: b · It creates an artificial sense of order or magnitude among categories, which can mislead the model.
The card states that Label Encoding's output implies an artificial mathematical relationship (e.g., 2 is 'more' than 1), which can severely degrade performance in models sensitive to magnitude. Option D describes a characteristic of One-Hot Encoding, not Label Encoding, which actually reduces dimensionality compared to One-Hot.
Read the full bite: Label Encoding: Turning Categories into Numbers
Question 29 of 30
Which statement best describes the core principle of Data Quality Management (DQM)?
Show the answer
Answer: b · DQM is a continuous process focused on ensuring data consistently meets the specific requirements for its intended use.
The card defines DQM as ensuring data is "fit for a specific purpose" and emphasizes it as a "continuous cycle." Option B directly captures both these core tenets. Option D represents a common misconception explicitly warned against in the card.
Read the full bite: Data Quality Management: Is Your Data Fit for Use?
Question 30 of 30
For which data analysis goal would a heatmap be an unsuitable visualization choice?
Show the answer
Answer: a · Visualizing the precise numerical value of each data point in a large matrix.
The card states that heatmaps are "poor for showing precise numerical values" and that a table is better when precision is key. The other options describe scenarios where heatmaps are explicitly recommended for their ability to quickly reveal patterns and magnitudes.
Read the full bite: Heatmap: Visualizing Magnitude with Color
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.