Interview questions · Role

Data Analyst Interview Questions & Answers (2026)

These interviews test analytical thinking, statistical knowledge, data‑visualization skills, and business‑context awareness. To succeed, demonstrate clear problem‑solving steps, justify methodological choices, and communicate insights effectively. Practice with real‑world scenarios, master SQL and Python fundamentals, and be ready to discuss trade‑offs and impact on decision‑making.

19 questions · updated Aug 29, 2026

Quick facts

Typical roundsPhone screen, technical assessment, case study, on‑site interview
Core skills evaluatedSQL, statistics, data cleaning, visualization, business storytelling
Preferred toolsPython (pandas, numpy), Tableau/PowerBI, Excel, Snowflake
Average interview length45‑60 minutes per round

Questions

Beginner

Explain how you would handle missing values in a dataset.

First, I would assess the pattern of missingness—whether it is MCAR, MAR, or MNAR—using visualizations and statistical tests. For MCAR, simple imputation like mean or median works; for MAR, I’d consider model‑based imputation such as K‑Nearest Neighbors or regression. If the missingness is systematic (MNAR), I might create an indicator variable or consult domain experts before deciding to drop or model the missingness. The key is to justify the method based on data distribution and business impact.

GoogleAmazonMicrosoft

What is the difference between INNER JOIN and LEFT JOIN in SQL?

INNER JOIN returns rows only when there is a matching key in both tables, effectively intersecting the datasets. LEFT JOIN returns all rows from the left table and matches from the right; when no match exists, NULLs fill the right‑side columns. Interviewers look for awareness of result set size, handling of NULLs, and performance implications—INNER JOIN can be faster because it eliminates unmatched rows early, while LEFT JOIN may require additional processing.

FacebookNetflix

How do you determine if a variable is normally distributed?

I start with visual checks—histograms, Q‑Q plots, and boxplots—to spot deviations from symmetry. Then I apply statistical tests like Shapiro‑Wilk or Kolmogorov‑Smirnov, noting sample size sensitivity. If the p‑value exceeds the chosen alpha (commonly 0.05), I fail to reject normality. I also examine skewness and kurtosis values; absolute skewness <0.5 and kurtosis close to 3 support a normal assumption. Explaining both visual and test‑based evidence shows thoroughness.

UberAirbnb

Describe a time you turned a complex dataset into a clear business insight.

At my last role, I received raw clickstream logs with millions of rows and dozens of columns. I aggregated sessions by user, calculated churn probability using logistic regression, and visualized the top three drivers in a Tableau dashboard. The insight revealed that users who accessed the mobile app more than three times per week were 20% less likely to churn, prompting the product team to prioritize mobile feature enhancements. I highlighted the data pipeline, model choice, and actionable recommendation.

ShopifyLinkedIn

What is a p‑value and how do you interpret it?

A p‑value quantifies the probability of observing data as extreme as the sample, assuming the null hypothesis is true. A small p‑value (typically <0.05) suggests the observed effect is unlikely under the null, leading to rejection of the null hypothesis. However, it does not measure effect size or practical significance. Interviewers expect you to discuss Type I/II errors, the importance of context, and why a statistically significant result may still be irrelevant to business decisions.

Capital OneGoldman Sachs

Intermediate

How would you explain the concept of confidence intervals to a non‑technical stakeholder?

I would say a confidence interval provides a range where we expect the true metric—like average revenue per user—to fall, based on our sample data, with a certain level of confidence (e.g., 95%). It’s like saying, ‘We are 95% sure the real average lies between $12 and $15.’ This conveys uncertainty without overwhelming technical detail, and I’d illustrate with a simple graphic to reinforce the idea of variability around the estimate.

TwitterAdobe

Write a SQL query to find the top 5 products by total sales in the last quarter.

SELECT product_id, SUM(sales_amount) AS total_sales FROM sales WHERE sale_date BETWEEN DATEADD(quarter, -1, CURRENT_DATE) AND CURRENT_DATE GROUP BY product_id ORDER BY total_sales DESC LIMIT 5; This query filters sales to the last quarter, aggregates revenue per product, orders descending, and limits the result to the five highest sellers. Interviewers look for correct date functions, aggregation, and efficient limiting.

SELECT product_id, SUM(sales_amount) AS total_sales FROM sales WHERE sale_date BETWEEN DATEADD(quarter, -1, CURRENT_DATE) AND CURRENT_DATE GROUP BY product_id ORDER BY total_sales DESC LIMIT 5;
eBayTarget

What is multicollinearity and how does it affect regression models?

Multicollinearity occurs when two or more independent variables are highly correlated, inflating variance of coefficient estimates. This leads to unstable coefficients, wide confidence intervals, and difficulty interpreting individual predictor impact. I detect it using Variance Inflation Factor (VIF) thresholds (>5 or >10) and correlation matrices. To mitigate, I may drop redundant features, combine them via PCA, or use regularization (Ridge) that shrinks coefficients, thereby improving model robustness.

PayPalWalmart

Explain the difference between a left‑skewed and right‑skewed distribution and how you would transform each.

A left‑skewed distribution has a longer tail on the left side (negative skew), often requiring a power transformation like square or cube to pull the tail rightward. A right‑skewed distribution (positive skew) has a longer right tail; applying a log, square‑root, or Box‑Cox transformation compresses high values, making the distribution more symmetric. I would choose the transformation based on visual inspection and test normality after transformation to ensure suitability for parametric models.

SpotifySnapchat

How do you assess the performance of a classification model beyond accuracy?

I examine precision, recall, and F1‑score to balance false positives and false negatives, especially when classes are imbalanced. The ROC‑AUC provides a threshold‑independent measure of separability. I also look at confusion matrices to understand error types, and use calibration curves to verify probability estimates. For business impact, I might compute cost‑sensitive metrics, such as expected monetary loss, aligning model evaluation with the organization’s risk tolerance.

StripeSquare

Describe a time you used A/B testing to influence a product decision.

We wanted to test a new checkout flow. I defined the primary metric (conversion rate), calculated required sample size using a power analysis (80% power, 5% significance), and randomly assigned users to control and variant groups. After 2 weeks, the variant showed a 3.2% lift with a p‑value of 0.02. I presented the statistical findings, confidence intervals, and potential revenue impact, leading the product team to roll out the new flow globally.

ShopifyInstacart

What is the difference between a data warehouse and a data lake?

A data warehouse stores structured, curated data optimized for fast SQL queries and reporting, often using schemas like star or snowflake. A data lake holds raw, unstructured, or semi‑structured data in its native format, enabling flexible ingestion and future processing. Warehouses prioritize consistency and performance; lakes prioritize scalability and cost‑effectiveness. Understanding both helps candidates discuss architecture choices and integration strategies for analytics pipelines.

AmazonMicrosoft

Advanced

What is the purpose of dimensionality reduction and when would you use PCA?

Dimensionality reduction simplifies data, reduces noise, and speeds up computation while preserving variance. Principal Component Analysis (PCA) projects data onto orthogonal axes that capture maximal variance. I use PCA when features are highly correlated, the dataset is large, and I need to visualize high‑dimensional data or improve model training time. I always check explained variance ratio to retain enough components (e.g., 90% variance) and verify that the transformed features still support the business objective.

IBMIntel

How would you design a data pipeline for near‑real‑time analytics?

I’d start with a streaming ingestion layer (Kafka or Kinesis) to capture events. A processing engine like Flink or Spark Structured Streaming would clean, enrich, and aggregate data in micro‑batches. Results would be written to a low‑latency store (Redis or ClickHouse) for dashboarding, while raw data lands in a data lake (S3) for archival and batch analytics. I’d implement schema evolution, monitoring, and idempotent writes to ensure reliability and scalability.

NetflixTwitter

Explain the bias‑variance trade‑off in machine learning models.

Bias reflects error from erroneous assumptions (under‑fitting), while variance reflects sensitivity to training data fluctuations (over‑fitting). A high‑bias model may miss patterns, leading to systematic errors; a high‑variance model captures noise, hurting generalization. The trade‑off is managed by selecting model complexity, using regularization, or employing ensemble methods. I illustrate this by plotting training vs. validation error as model complexity changes, showing the sweet spot where total error is minimized.

GoogleMicrosoft

What is a time‑series decomposition and why is it useful?

Time‑series decomposition splits a series into trend, seasonal, and residual components, typically using additive or multiplicative models. Trend captures long‑term direction, seasonality reflects periodic patterns, and residuals contain irregularities and noise. Decomposition helps diagnose underlying structures, improve forecasting accuracy (by modeling components separately), and communicate insights clearly to stakeholders. I often use STL (Seasonal‑Trend decomposition using Loess) for flexible, robust decomposition.

AirbnbUber

How do you handle outliers when building a predictive model?

First, I identify outliers using statistical methods (z‑score >3, IQR) and domain knowledge. I then decide whether they represent data errors or genuine extreme cases. For errors, I may cap or impute them; for legitimate extremes, I might keep them but use robust algorithms (e.g., tree‑based models) that are less sensitive. I always document the impact on model performance and explain the rationale to stakeholders, showing that the decision aligns with business risk tolerance.

Capital OneJPMorgan

Write a Python snippet to calculate the monthly churn rate from a user activity dataframe.

Assuming a DataFrame df with columns user_id, activity_date, and a churn flag, I would first create a month column, then group by month to compute churn rate as churned users divided by total active users. This concise code demonstrates pandas proficiency and clear aggregation logic, which interviewers expect for data‑wrangling tasks.

df['month'] = df['activity_date'].dt.to_period('M')
monthly = df.groupby('month').agg(total_users=('user_id', 'nunique'), churned=('churn_flag', 'sum'))
monthly['churn_rate'] = monthly['churned'] / monthly['total_users']
SpotifyNetflix

How would you evaluate the ROI of an analytics project?

I’d quantify benefits (e.g., revenue uplift, cost savings) and costs (personnel, tooling, data acquisition). Using a time‑horizon, I’d calculate net present value (NPV) and internal rate of return (IRR) to capture cash‑flow timing. I also include intangible benefits like improved decision speed. Presenting a clear business case with sensitivity analysis shows that I can translate analytical work into measurable financial impact.

McKinseyBoston Consulting Group

Common mistakes

  • Reciting formulas without linking them to business context
  • Ignoring data quality issues before modeling
  • Over‑relying on a single metric like accuracy
  • Failing to explain assumptions behind statistical tests
  • Providing vague insights without quantifying impact

Study plan

  1. Review core SQL syntax and practice joins, window functions, and aggregation on sample datasets
  2. Refresh probability, hypothesis testing, and regression concepts with a focus on interpretation
  3. Build end‑to‑end mini‑projects in Python (pandas, matplotlib) to showcase data cleaning, analysis, and visualization
  4. Practice case‑study questions, writing concise, structured answers that include methodology and business impact
  5. Mock interview with peers, focusing on clear communication of trade‑offs and reasoning

FAQ

How much SQL should I know for a data analyst interview?

You should be comfortable with SELECT, WHERE, GROUP BY, HAVING, JOINs (inner, left, outer), subqueries, window functions, and basic performance tuning. Expect to write queries that filter, aggregate, and combine tables under time pressure.

Do I need to know machine learning for a data analyst role?

Basic concepts—like regression, classification, and evaluation metrics—are often required. You don’t need deep model‑building expertise, but you should explain how you’d choose and assess a model for a given business problem.

What’s the best way to prepare for case‑study questions?

Practice the STAR method (Situation, Task, Action, Result) and focus on structuring your answer: define the problem, outline the analytical approach, discuss assumptions, and conclude with actionable insights and impact.

How important is data visualization in the interview?

Very important. You should be able to choose the right chart type, explain why it conveys the insight, and discuss design principles like clarity, color use, and avoiding distortion.

Should I bring a portfolio of projects to the interview?

Yes. Bring 2‑3 concise case studies that showcase the full analytics lifecycle—data acquisition, cleaning, analysis, visualization, and business impact. Be ready to discuss challenges and trade‑offs.

Related

Ready for your next interview?

Download MiPrep AI. Load your resume and the job description. Show up ready.

Free tier · No credit card · macOS 14+ · Windows 10+

Free tier · No credit card · Runs on your Mac or Windows machine