Interview preparation · Foundation to advanced

Data Analyst interview questions and answers

Prepare for data analyst interviews by explaining how a result is defined, calculated and checked. This collection combines SQL and data modeling with statistics, spreadsheets, business intelligence, Python data cleaning and experiments.

Practise Data Analyst interviews

Topics in this question bank

SQL and analytical data modeling; statistics and probability; Excel and spreadsheet reliability; BI and dashboards; Python/pandas data preparation; experimentation, conversion, retention and business metrics.

How to prepare your answers

Start by defining the population, row grain, denominator, time window and missing-data rules. Practise reconciling totals after joins, interpreting uncertainty and distinguishing descriptive changes from causal effects. In BI and spreadsheet questions, explain source freshness, access boundaries and how another person could reproduce the number.

In general preparation, choose at least three topics and your target level. For a specific job, enter the technologies required and your current skills. Keyword matching selects supported topics; it does not infer proficiency from a resume or generate new questions.

Sample Data Analyst questions with expected answers

These examples are a starting point for focused interview preparation. Accept other technically sound approaches and check the primary references for the relevant environment and version.

SQL & data modelling · foundation

How does a LEFT JOIN preserve unmatched records?

It retains rows from the left side and supplies nulls for unmatched right-side columns. A later filter on the right-side columns can remove those rows. Place predicates according to whether unmatched cases should remain.

Follow-up: How can a WHERE condition accidentally turn it into an inner-join result?

A stronger answer: Explains null-rejecting filters.

Read the primary reference

Statistics & probability · intermediate

What does a p-value mean?

It measures how incompatible the observed statistic or more extreme outcomes are with a specified null model under its assumptions. It is not the probability the null is true or the size of an effect.

Follow-up: Why can a tiny effect have a small p-value in a huge sample?

A stronger answer: Separates evidence and practical importance.

Read the primary reference

Excel & spreadsheets · intermediate

How would you diagnose a lookup returning the wrong customer?

Check exact versus approximate matching, key types, whitespace and duplicates. Confirm which match is returned and how missing keys are handled. A lookup finding a value does not establish that the key is unique.

Follow-up: What if one customer has several rows with the same ID?

A stronger answer: Verifies the key contract.

Read the primary reference

BI & dashboards · foundation

How do fact and dimension tables support a BI model?

Fact tables record measurements at a defined grain; dimensions describe entities used for filtering and grouping. Consistent keys and relationships make analysis predictable. A star-shaped diagram is not enough if grain or measures are wrong.

Follow-up: Why should you define grain before adding measures?

A stronger answer: Anchors the model in business events.

Read the primary reference

Python & data cleaning · intermediate

How would you validate a pandas merge?

Specify expected cardinality, verify key types and uniqueness, inspect unmatched keys and reconcile counts and totals. Use merge validation where appropriate. A successful function call can still produce logically incorrect many-to-many expansion.

Follow-up: What if every key matches but totals still double?

A stronger answer: Checks multiplicity independently of match rate.

Read the primary reference

Experiments & business analytics · intermediate

How would you plan an A/B test's sample size?

Define the primary metric, minimum relevant effect, variability, error rates and assignment unit, then estimate the needed observations and duration. Account for traffic and business cycles. A universal fixed number of users is not adequate planning.

Follow-up: How does a smaller detectable effect change required sample size?

A stronger answer: Connects design assumptions to feasibility.

Read the primary reference

SQL & data modelling · intermediate

A dashboard's revenue doubles after a join. How do you investigate?

Check the grain and uniqueness of each input, inspect one-to-many or many-to-many matches, and reconcile totals before and after joining. Aggregate to a compatible grain or change the join logic. DISTINCT can conceal rather than correct the problem.

Follow-up: How would you demonstrate the error using one customer?

A stronger answer: Uses traceable sample records.

Read the primary reference

Experiments & business analytics · intermediate

Revenue rose while conversion fell. How would you analyze it?

Decompose revenue into traffic, conversion and order value or other appropriate components. Compare segments, mix and measurement windows, then inspect uncertainty and data quality. The two metrics can move differently without contradiction.

Follow-up: Could a change in premium-customer share explain it?

A stronger answer: Uses a coherent metric tree.

Read the primary reference

Using these questions as an interviewer

Request a small worked example and a validation check. A good discussion explains why a query may double-count, when an aggregate hides a subgroup problem and how an analyst would communicate uncertainty without overstating what the data proves.

In the interviewer workspace, enter role requirements and candidate skills, inspect the keyword-based skill map and build a plan. Reveal guides as needed, replace questions, record notes and assess the candidate yourself. The app does not provide semantic grading or a hiring score.

Start a focused practice session

Learn mode lets you reveal guides at your own pace. Practice asks you to answer first and provides a phrase-based concept check. Mock keeps guides hidden until you finish. Optional speech input and spoken questions depend on browser support; typed answers are always available in the workspace.

Regular practice is free without an account. Verified members can also access optional AI coaching, subject to usage limits and availability. Job and resume drafts stay in memory; optional member AI matching sends them to Gemini only after separate permission. Saved answers and notes use this browser's local storage. Export JSON or print the completed-session review when you need a copy.

Open Data Analyst practice