Data Analyst Interview Preparation Guide - Junior Level (FAANG Standard)
This guide is based on general FAANG interview practices and may not reflect specific company procedures.
Junior-level Data Analyst interviews at FAANG companies follow a structured multi-stage process designed to assess technical SQL proficiency, statistical thinking, product analytics intuition, and collaboration skills. The process typically spans 4-6 weeks from initial application to offer and includes recruiter screening, multiple technical assessments, product/business case analysis, and behavioral evaluation. Each round builds on previous assessments to evaluate your ability to work independently on data problems while contributing to team success.
Interview Rounds
Recruiter Screening
What to Expect
Your initial conversation with a technical recruiter to assess basic qualifications, motivation, and communication skills. This round determines whether you move forward in the process. The recruiter will ask about your background, why you're interested in the role, your experience with the required tools, and your availability. This is your chance to demonstrate enthusiasm and articulate how your experience aligns with the role. Recruiter screens typically last 20-30 minutes and are relatively straightforward if you're qualified.
Tips & Advice
Prepare a clear 30-second elevator pitch about who you are and why you want to work at the company. Research the company's data products and mention specific examples. For a junior level candidate, emphasize your eagerness to learn, foundational strength in SQL and analytics, and ability to work collaboratively. Have specific examples ready of your hands-on experience with data tools. Be honest about your strengths and areas for growth—recruiters appreciate authenticity. Ask thoughtful questions about the team, the types of data problems they solve, and how the role contributes to the company's mission.
Focus Topics
Motivation & Fit
Authentic interest in the role, the team, and the company. Be ready to explain why this opportunity excites you and how it aligns with your career goals.
Practice Interview
Study Questions
Clear Communication & Professionalism
Ability to speak clearly, listen actively, answer questions directly, and ask thoughtful follow-up questions. Avoid rambling or going off-topic.
Practice Interview
Study Questions
Company Product Knowledge
Basic understanding of what the company does, its key products and services, and how data analytics drives decisions in that context. For FAANG companies, know their major product lines and business models.
Practice Interview
Study Questions
Resume Alignment & Background Story
Ability to articulate your data analytics experience, relevant projects, and technical skills in a way that connects to the job description. Know your resume inside and out and be prepared to discuss specific projects where you worked with SQL, dashboards, or statistical analysis.
Practice Interview
Study Questions
SQL & Data Querying Technical Screen
What to Expect
A technical phone or video interview focused on your SQL proficiency. You'll be asked to write SQL queries to solve data problems, typically using a shared coding environment or whiteboard. Questions range from basic to intermediate complexity and test your ability to work with joins, aggregations, filtering, and window functions. You'll need to think aloud, explain your approach, and handle edge cases. This round directly tests your core technical foundation as a data analyst.
Tips & Advice
Practice the six-step SQL problem-solving process: (1) Restate the question to confirm understanding, (2) Explore the data by asking questions about column types and unique identifiers, (3) Identify relevant columns, (4) Define what the output should look like, (5) Write code incrementally, and (6) Explain your solution. Start by talking through your approach before coding—this gives the interviewer a chance to redirect you if needed and shows organized thinking. Use proper formatting and clear variable names. If you hit a blocker, say it out loud and work through it methodically rather than sitting in silence. Test your logic mentally with edge cases (empty results, duplicates, NULL values). For intermediate queries, consider efficiency: when should you use a CTE versus a subquery? When should you use window functions instead of self-joins? Practice on LeetCode, HackerRank, and CodeWars daily. Time yourself to build speed under pressure.
Focus Topics
Data Cleaning & Handling Edge Cases
Dealing with NULL values, duplicates, type mismatches, and data inconsistencies in queries. Validating results and checking for anomalies. Using CASE statements for data transformation.
Practice Interview
Study Questions
Window Functions: ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, SUM OVER
Intermediate-level SQL using window functions to perform calculations over subsets of data without collapsing rows. Understanding PARTITION BY and ORDER BY within window functions.
Practice Interview
Study Questions
Subqueries & Common Table Expressions (CTEs)
Using subqueries in WHERE, FROM, and SELECT clauses. Building readable queries using CTEs (WITH clauses) to break complex logic into steps.
Practice Interview
Study Questions
SQL Fundamentals: SELECT, WHERE, GROUP BY, ORDER BY
Mastery of basic SQL syntax for filtering rows, selecting columns, grouping data, and ordering results. These are the building blocks for every query.
Practice Interview
Study Questions
Aggregation & Grouping: SUM, COUNT, AVG, MAX, MIN, HAVING
Ability to aggregate data across groups, handle NULL values in aggregations, filter on aggregated results using HAVING, and distinguish between WHERE and HAVING clauses.
Practice Interview
Study Questions
SQL Joins: INNER, LEFT, RIGHT, FULL, CROSS
Deep understanding of different join types, when to use each, how they handle NULL values, and common pitfalls like duplicate rows from multiple joins. Ability to visualize Venn diagrams conceptually.
Practice Interview
Study Questions
Data Analysis & Business Metrics Round
What to Expect
An interview focused on your ability to think like a data analyst who understands business impact. You'll be given real-world scenarios and asked to design metrics, analyze performance, or solve a business problem using data. For example: 'How would you measure success for a new feature?' or 'We're seeing a drop in user engagement—how would you investigate?' You'll be expected to ask clarifying questions, break down the problem, identify relevant metrics, and explain what insights you'd look for. This round assesses your product intuition and ability to connect data to business decisions.
Tips & Advice
Start by asking clarifying questions: What are we trying to achieve? What defines success? What data do we have access to? What's the business context? Then structure your answer using a framework: problem → metrics → data approach → insights you'd look for. For a junior-level candidate, focus on defining clear, measurable KPIs and explaining your reasoning. Don't overthink this—simple, logical metrics are better than complex ones. Use real-world examples from the company's products if possible. For instance, if interviewing at YouTube, mention watch time and retention as potential success metrics. Walk through how you'd validate assumptions (e.g., 'I'd check if the metric is moving in the direction we expect'). For a junior analyst, it's acceptable to say 'I'd escalate this to a senior analyst' for very complex statistical questions, but show that you understand the basic approach. Be clear and structured in your communication; this is as much a communication test as a thinking test.
Focus Topics
Trend Analysis & Anomaly Detection
Recognizing when metrics are moving in expected vs. unexpected directions. Identifying root causes of changes (seasonal effects, external events, product changes). Using visualizations to communicate trends.
Practice Interview
Study Questions
Dashboard & Reporting Design Principles
Understanding what information to present to different stakeholders, how to design dashboards for clarity, and best practices for data visualization. Knowing when to use different chart types.
Practice Interview
Study Questions
Exploratory Data Analysis (EDA) Approach
Systematic methodology for understanding a dataset: asking questions, identifying patterns, detecting anomalies, and forming hypotheses. Knowing what to look for in data and how to validate assumptions.
Practice Interview
Study Questions
Feature Analysis & Launch Evaluation
Ability to design a framework for evaluating whether a new feature is successful. Identifying key metrics to track, timeframes for evaluation, and potential confounding factors. Understanding basic A/B testing concepts.
Practice Interview
Study Questions
Defining Key Performance Indicators (KPIs) & Business Metrics
Understanding how to translate business goals into measurable metrics. Knowledge of common metrics across different products (engagement, retention, conversion, growth) and when each is appropriate. Distinguishing between lagging and leading indicators.
Practice Interview
Study Questions
Statistics & A/B Testing Round
What to Expect
An interview assessing your understanding of statistical concepts and experimental design. You'll be asked to explain hypothesis testing, interpret p-values and confidence intervals, evaluate the design of an A/B test, or solve problems involving statistical reasoning. For example: 'We ran an A/B test and found a 2% improvement in conversion rate with a p-value of 0.08. Should we launch?' You're expected to explain not just the answer but the reasoning behind it. This round tests whether you understand the 'why' behind statistics, not just memorized formulas.
Tips & Advice
Focus on conceptual understanding over formulas. Be able to explain p-values, confidence intervals, Type I and Type II errors, and statistical significance in plain English using real-world examples. For the A/B test evaluation example above, walk through: Is the p-value below our significance threshold (typically 0.05)? Are we confident the difference is real? What's the practical significance—is a 2% improvement worth the effort? For a junior analyst, it's acceptable to ask clarifying questions like 'How many users were in the test?' or 'How long did the test run?' Show that you understand confounding factors. Practice interpreting real A/B test results and explaining them to a non-technical audience. Use real examples from your past work if possible. Stay away from overly complex statistics; junior-level interviews focus on core concepts like hypothesis testing and basic statistical validation.
Focus Topics
Common Statistical Distributions & Tests
Basic understanding of normal distribution, binomial distribution, and when to use t-tests, chi-square tests, or non-parametric tests. Not requiring deep knowledge but knowing what test to apply to different data types.
Practice Interview
Study Questions
A/B Testing Design & Evaluation
Ability to evaluate an A/B test design for flaws: proper randomization, adequate sample size, appropriate test duration, control for confounding factors. Understanding when to use one-tailed vs. two-tailed tests. Identifying issues like multiple comparison problem or peeking.
Practice Interview
Study Questions
Confidence Intervals & Statistical Significance
Understanding what a 95% confidence interval means, how it differs from a point estimate, and how to use it for decision-making. Knowing the relationship between sample size, variability, and confidence interval width.
Practice Interview
Study Questions
Type I & Type II Errors (False Positives & False Negatives)
Understanding the trade-off between Type I error (false positive: launching a feature that doesn't actually help) and Type II error (false negative: missing a genuinely good feature). Knowing how to calculate power and sample size.
Practice Interview
Study Questions
Hypothesis Testing Fundamentals
Understanding null and alternative hypotheses, p-values, significance levels, and when to reject the null hypothesis. Ability to interpret p-values correctly and explain what they mean (probability of observing results if null hypothesis is true, not probability that hypothesis is true).
Practice Interview
Study Questions
Tools & Dashboard Implementation Round
What to Expect
An interview or practical assignment evaluating your proficiency with business intelligence and visualization tools (Tableau, Power BI, Looker, etc.) and your ability to build reports and dashboards that communicate insights effectively. You may be asked to take a dataset and build a dashboard, interpret an existing dashboard and suggest improvements, or walk through dashboards you've built previously. This round assesses both technical tool skills and your ability to think about user needs and data storytelling.
Tips & Advice
Be hands-on with at least one BI tool (preferably the one the company uses). Practice building dashboards from scratch that tell a clear story, not just display all available data. For each dashboard, be able to articulate: Who is the user? What decision are they trying to make? What's the key insight? What metrics are most important? Learn best practices: use consistent color schemes, label axes clearly, avoid clutter, and highlight what matters. When discussing dashboards, explain your design choices. For example: 'I used a line chart for this metric because we care about trends over time, and a table for detailed numbers because stakeholders need exact values for forecasting.' Know how to filter data, create calculated fields, and build drill-down capabilities. Be comfortable with Excel too—many analysts use it for ad-hoc analysis. If you're given a dataset during the interview, walk through your dashboard-building process out loud, not just silently building. Explain your metrics, filters, and design choices. For a junior analyst, it's more important to build something clear and useful than something visually stunning.
Focus Topics
Advanced Excel Skills
Proficiency with pivot tables, VLOOKUP/INDEX-MATCH, formulas for calculations, data validation, and conditional formatting. Understanding Excel's role in ad-hoc analysis before moving to BI tools.
Practice Interview
Study Questions
Data Storytelling & Insight Communication
Ability to use dashboards and visualizations to tell a story, not just display data. Highlighting key insights, using narrative to guide the viewer, and connecting data to business impact.
Practice Interview
Study Questions
Dashboard Design & Best Practices
Understanding principles of effective visualization: choosing appropriate chart types, using color meaningfully, minimizing clutter, labeling clearly, and designing for the user's needs. Knowing when to use tables vs. charts.
Practice Interview
Study Questions
Tableau or Power BI Proficiency
Hands-on ability to connect to data sources, build charts and dashboards, create calculated fields, apply filters, and design interactive views. Understanding the tool's capabilities and limitations.
Practice Interview
Study Questions
Behavioral & Collaboration Round
What to Expect
An interview assessing your soft skills, teamwork, communication, and fit with the company culture. You'll be asked about your experience working with teams, handling feedback, dealing with ambiguity, collaborating across departments, and how you approach learning. For junior-level candidates, the focus is on demonstrating coachability, curiosity, and ability to work well with senior colleagues. FAANG companies assess 'culture fit' or company-specific principles (e.g., Amazon's Leadership Principles, Google's Googleyness). You'll discuss past situations using the STAR method: Situation, Task, Action, Result.
Tips & Advice
Prepare 3-5 strong stories showcasing technical skills AND teamwork. Use the STAR method: clearly set the Situation, define your Task, describe the specific Actions you took, and quantify the Results. For junior-level roles, stories should emphasize learning from feedback, collaborating with teammates, and taking initiative within a team context. Avoid stories where you solve everything alone or where you're the hero—show how you worked with others. Have stories ready for scenarios like: 'Tell me about a time you received critical feedback,' 'Describe a time you worked with someone who had a different approach,' 'Tell me about a project where things didn't go as planned,' 'When have you had to work cross-functionally with teams outside your area?' Practice out loud and time yourself to around 2 minutes per story. Be ready to answer why you're interested in the company and role specifically, not generically. Research the company culture and mission. For FAANG companies, familiarize yourself with their core values or principles. Ask thoughtful questions about the team, growth opportunities, and what success looks like in the first 6 months. Show genuine curiosity about learning and growing as an analyst.
Focus Topics
Handling Ambiguity & Imperfect Information
Ability to work effectively when requirements are unclear, data is incomplete, or the best approach is uncertain. Examples of how you've navigated ambiguous situations.
Practice Interview
Study Questions
Initiative & Problem-Solving
Examples of taking ownership of tasks, identifying problems proactively, and suggesting solutions. Showing initiative without waiting to be told what to do.
Practice Interview
Study Questions
Communication & Clarity
Ability to explain technical concepts to non-technical stakeholders, write clear reports, present findings effectively, and communicate proactively when there are blockers or ambiguity.
Practice Interview
Study Questions
Coachability & Learning Mindset
Demonstrating openness to feedback, ability to learn from mistakes, and eagerness to develop skills. Examples of how you've improved based on feedback or learned a new tool/skill.
Practice Interview
Study Questions
Collaboration & Teamwork
Ability to work effectively with engineers, product managers, and other analysts. Examples of cross-functional projects, how you handle disagreements, and your approach to receiving feedback from teammates.
Practice Interview
Study Questions
Frequently Asked Data Analyst Interview Questions
Tell me about a time you had to re-prioritize your workload to deliver a business-critical insight under a tight deadline. Describe what information you used to decide, how you communicated the change to stakeholders, how you executed the work, and what trade-offs you accepted.
Sample Answer
STAR skeleton. Situation: name the competing priorities you were already carrying and what suddenly made one piece of work business-critical, a real trigger, not just "it became urgent." Task: the specific insight you were asked to deliver and the actual deadline. Action: cover the four things this question asks for directly, what information you used to decide to reprioritize, not just "I decided it was important," how you communicated the change to whoever owned the work you deprioritized, how you actually executed under the compressed timeline, and what trade-offs you knowingly accepted, stated specifically, not just "I worked extra hours." Result: the outcome, ideally with a number, and what happened to the deprioritized work afterward, since that's often left out and it matters.
Worked example. I was two weeks into a planned quarterly cohort-retention analysis, roughly 60% done, when our VP of Sales asked, on a Tuesday, for an analysis of why a specific enterprise renewal, a $400,000 annual contract, was showing unusual usage decline, needed before a Thursday renewal call. The information I used to decide to reprioritize wasn't just "a VP asked": I checked the account's contract value against our team's current quarter revenue-at-risk list, confirmed it was already flagged internally as a top-5 renewal risk, and got a one-line confirmation from my manager that this took priority over the cohort analysis for the week, so the decision wasn't made on my read of urgency alone.
How I communicated the change: I messaged the stakeholder waiting on the cohort analysis, our head of product, the same day, not at the next scheduled check-in, explaining specifically what displaced it, a $400K renewal risk with a Thursday deadline, and gave a concrete new delivery date, Friday the 12th instead of the original Friday the 5th (five business days later, stated so it was checkable, not an open-ended "I'll get to it when I can").
How I executed: with roughly a day and a half of real working time before Thursday, I skipped the broader cohort-level analysis I'd normally run and went straight to the one account, pulling its usage logs for the trailing 90 days and comparing feature-by-feature usage against the account's usage at renewal 12 months prior. I found a specific driver within the first afternoon: usage of the account's primary integrated feature had dropped 40%, from roughly 1,200 to 720 weekly actions, starting exactly the week a key admin user's account was deprovisioned during an internal reorg on their side, pointing to an onboarding gap for their new admin rather than a product satisfaction problem. I validated that read by checking two comparable accounts that had gone through a similar admin transition and seen a partial usage recovery within 6 weeks once a new admin was properly onboarded.
Trade-offs I accepted: I explicitly decided not to investigate two secondary, less time-sensitive drop patterns the same data surfaced, flagging them in my notes for follow-up rather than chasing them before Thursday, since they weren't relevant to the renewal conversation and pursuing them would have meant either missing the deadline or doing the primary analysis shallowly. I also accepted that the cohort-retention analysis would ship five business days later than originally planned, and said so plainly rather than quietly hoping to make up the time.
Result: the sales team used the finding to reframe the Thursday call around a specific onboarding fix, getting the new admin properly set up, rather than a discount negotiation, the renewal closed the following week at full value, and the cohort analysis shipped Friday the 12th, five business days after its original Friday-the-5th deadline, with no material impact since I'd flagged the delay to the stakeholder in advance.
What separates a strong answer from a mediocre one. A mediocre answer says "I dropped what I was doing and got it done," which shows responsiveness but nothing about judgment, since agreeing to reprioritize for anyone senior who asks isn't actually a skill, it's compliance. A strong answer shows the specific check that confirmed the reprioritization was actually warranted, here cross-referencing the revenue-at-risk list rather than taking urgency at face value, names the trade-off given up explicitly rather than implying everything got done, and closes the loop on the deprioritized work rather than letting the story end at "I delivered the urgent thing."
The same shape shows up outside a data role: a product manager asked to drop a roadmap review to urgently investigate a pricing complaint from a large customer would run the identical arc, confirm the account's actual size and risk before assuming urgency, tell the roadmap stakeholder the same day with a new date, execute against the narrower urgent question rather than a broader one, and be explicit about what got pushed as a result.
A heatmap shows time-of-day vs day-of-week user activity. Explain three insights a PM could extract from this visualization, and suggest two product changes that could leverage those insights to improve engagement or conversion.
Sample Answer
Direct answer
A time-of-day-versus-day-of-week heatmap reveals when user activity actually concentrates, which can surface insights like a mid-week evening peak, a weekend lull, or an unexpected spike at an odd hour that a simple daily-trend line would completely hide, since a heatmap preserves both time dimensions simultaneously rather than collapsing them into one aggregate.
Structured elaboration
- Insight 1: identifying the true peak windows: the heatmap can reveal that activity peaks on, say, weekday evenings rather than a naive assumption of "business hours," directly informing when to schedule a notification, promotion, or a feature launch for maximum visibility.
- Insight 2: spotting day-specific anomalies: a single day-of-week (e.g. every Sunday morning) showing unusually low or high activity relative to its neighbors can prompt investigation into whether that's a genuine behavioral pattern or an artifact (a scheduled job, a reporting/timezone issue).
- Insight 3: comparing weekday vs. weekend rhythms: the heatmap can reveal that weekday and weekend usage follow fundamentally different daily rhythms (e.g. weekday usage clusters around commute times, weekend usage is flatter and later), which single-line daily trend charts collapse away entirely.
- Turning insights into product changes: shifting notification send-times to align with the discovered peak window, or adjusting on-call/support staffing to match actual (not assumed) peak load times.
Worked example
A heatmap reveals engagement peaks on weekday evenings between 7-9pm and is notably higher on Sundays than other weekend hours; a product team could shift a weekly digest notification's send-time to align with the observed weekday-evening peak, and consider a Sunday-specific re-engagement push that the prior "weekends are quiet" assumption would have missed.
Trade-offs and pitfalls
A time-of-day heatmap reflects users' current (possibly time-zone-mixed) local or server time; if the user base spans multiple time zones and the heatmap isn't normalized to each user's local time, apparent patterns can be an artifact of the population's geographic mix rather than a genuine behavioral rhythm.
Explain semi-join and anti-join as concepts distinct from a regular INNER or LEFT JOIN: what question each one answers and why. Then write a semi-join with EXISTS to check whether a customer has any qualifying transaction, and explain why this can outperform (and avoid duplicate rows compared to) an INNER JOIN followed by DISTINCT.
Sample Answer
Direct answer. A semi-join answers "does at least one matching row exist," returning each left-side row at most once. An anti-join answers the opposite: "does NO matching row exist." Neither one pulls any columns from the other side, which is what makes them cheaper and safer than a regular join for a pure existence check.
Structured elaboration. A regular INNER JOIN, by contrast, returns one row per MATCH, not per left-side row: if a customer has five qualifying transactions, an INNER JOIN returns that customer five times, and you'd need a DISTINCT (or a GROUP BY) afterward to get back to one row per customer. EXISTS expresses the semi-join directly: the database can stop scanning the right side the instant it finds one match, because it never needs to know how many matches there are or fetch any of their columns.
Worked example. Consider customers(customer_id) and transactions(customer_id, amount), and the question "which customers have at least one transaction over $500?"
-- semi-join via EXISTS: one row per qualifying customer, regardless of match count
SELECT c.customer_id
FROM customers c
WHERE EXISTS (
SELECT 1 FROM transactions t
WHERE t.customer_id = c.customer_id AND t.amount > 500
);
-- the join-then-distinct alternative, doing more work for the same answer
SELECT DISTINCT c.customer_id
FROM customers c
JOIN transactions t ON t.customer_id = c.customer_id AND t.amount > 500;
Both return the same set of customer_ids. The EXISTS version never has to materialize or deduplicate the (potentially many) matching transaction rows; the JOIN + DISTINCT version does the work of producing every match and then throwing most of it away.
Trade-offs and pitfalls. The performance gap widens as the number of matches per left-row grows: a customer with 10,000 qualifying transactions costs the JOIN version 10,000 rows to produce and then collapse, versus one early-exit check for EXISTS. The same semi-join pattern generalizes to combined conditions across multiple tables, for example excluding a customer if they match EITHER of two separate exclusion tables, which is naturally expressed as two EXISTS (or NOT EXISTS) clauses ORed or ANDed together rather than as extra joins that would otherwise multiply rows across both tables at once.
Explain Simpson's paradox and provide a concrete A/B testing example with hypothetical numbers where aggregating across segments yields the opposite conclusion from segment-level analysis. Describe how you would detect such paradoxes and resolve the correct interpretation for product decisions.
Sample Answer
Direct answer
Simpson's paradox is when a trend that appears in an aggregated dataset reverses, or disappears, once the data is broken into meaningful subgroups. It happens when a subgroup variable is both correlated with the outcome and unevenly distributed across the groups being compared, so the aggregate is really comparing different mixes of subgroups rather than like-for-like. In A/B testing this can flip an experiment's headline verdict if traffic composition differs between arms.
Structured elaboration
Mechanism. The paradox needs two ingredients: a segment (e.g. new vs returning users) whose baseline conversion rate differs a lot, and a segment mix that differs between the two experiment arms, whether from a randomization bug, non-random routing, or the arms genuinely attracting different user mixes (for example, if the treatment changes something only new users see first). When the high-baseline segment is overrepresented in one arm, that arm's aggregate gets pulled up regardless of the true within-segment treatment effect.
Two distinct causes worth separating. (1) A randomization or logging bug that skews segment composition between arms even though the metric itself has a uniform effect. This should be treated like Sample Ratio Mismatch: a data-quality problem to fix, not a real result to interpret. (2) A genuine, real segment-mix or heterogeneous-effect situation (e.g. the arms were deliberately targeted differently, or the treatment interacts with user tenure). This is a real result that needs segment-aware reporting, not a bug.
Worked example
Two segments with very different baseline conversion, and arms that got very different mixes of each:
| Segment | Control | Treatment |
|---|---|---|
| High-intent users | 380 / 900 = 42.2% | 45 / 100 = 45.0% |
| Low-intent users | 6 / 100 = 6.0% | 63 / 900 = 7.0% |
| Aggregate | 386 / 1,000 = 38.6% | 108 / 1,000 = 10.8% |
(All counts verified by direct computation.) Notice: treatment wins in both segments individually (45.0% > 42.2%, and 7.0% > 6.0%), but because control's traffic was mostly high-intent users (who convert well regardless of arm) and treatment's traffic was mostly low-intent users (who convert poorly regardless of arm), the aggregate makes it look like control is dramatically better. Reading only the aggregate row would lead to killing a feature that actually helped every segment it touched.
Detection. Treat segment-mix balance as a standard experiment health check alongside SRM: compare the proportion of each key segment (device, new/returning, geography) between arms, and flag if that mix itself differs significantly between arms (a chi-square test of segment distribution by arm is a direct way to check this). Separately, fit the metric with an interaction term, metric∼arm+segment+arm:segment, to see whether the treatment effect actually differs by segment (heterogeneity) as opposed to just the segment mix differing (composition).
Resolution. If the segment-mix imbalance traces back to a bug (bad routing, non-random assignment), that invalidates the experiment; the fix is to correct randomization and rerun, not to reweight around the bug. If the imbalance is real and expected (e.g. the two arms intentionally target different populations, or a feature launch changes what fraction of traffic is new users), report segment-level effects explicitly rather than a single aggregate number, and if a single summary number is still needed, use a standardized/weighted average that applies one fixed reference mix (e.g. last month's traffic composition) to both arms instead of letting each arm's own live mix drive the number.
Trade-offs & pitfalls
- Don't go looking for a favorable segment cut after seeing an unfavorable aggregate result; that's post-hoc fishing and needs the same multiple-comparisons discipline as any other exploratory subgroup analysis. Segment checks belong in the pre-registered analysis plan, run regardless of which way the aggregate goes.
- Trusting an aggregate number without ever looking at segment balance is the classic wrong turn, and it's especially dangerous because the aggregate looks perfectly clean (large N, tight CI) even while hiding a completely reversed within-segment story.
- Not every segment-level difference is Simpson's paradox; if segment mix is balanced across arms and the aggregate and segment-level conclusions agree, that's just a normal heterogeneous-effect finding, worth reporting, but not a paradox to resolve.
You suspect a colleague's report has a hidden bias from how the data was sampled, and it's already circulating with stakeholders. How do you raise that in a way that leads to a joint investigation rather than putting them on the defensive?
Sample Answer
Direct answer
Go to the colleague privately first, before doing anything more public, and frame the concern as a question about the sampling method rather than a conclusion about their competence. Bring the specific evidence, propose a joint, falsifiable check that would settle whether the bias is real, and only then decide together how to handle the already-circulated report.
Structured elaboration
- Verify before you raise it. Confirm the specific gap yourself (which source, what kind of gap) so you are not escalating a hunch. Raising a vague suspicion is more likely to read as an attack than raising a concrete, checkable one.
- Private channel first. Do not raise it in the stakeholder meeting or a public thread. The goal at this stage is a shared understanding between the two of you, not a public correction.
- Lead with evidence, not the conclusion. Ask how the sample was chosen and show what you noticed, rather than opening with "your report is biased." The evidence does the work; you are not the one delivering a verdict.
- Propose a joint, falsifiable test. Agree in advance on a specific check that would settle the question either way, for example, re-running the analysis with a more complete data source and comparing results. If the two produce materially different conclusions, that is evidence of the bias; if not, the original report holds and nothing was lost.
- Handle the stakeholder-facing correction together. If the test confirms the bias, present the fix as a normal part of the quality process, credit the colleague's original work, and avoid framing it as catching an error.
Worked example
A colleague circulated a cohort analysis to stakeholders built from a single data source you know has intermittent collection gaps. Rather than flagging it in the stakeholder thread, you ask to talk privately: "I noticed this cohort uses source A, do you know if that source had full coverage this quarter?" You show the specific evidence (gap periods, affected date ranges) and ask how the sample was chosen. Together you agree on the joint test: re-run the same cohort analysis using a second, more complete source and compare the two results. If the numbers move meaningfully, you have confirmed a real bias and both go to stakeholders together with an updated report and a data-quality caveat; if the numbers hold steady, the original report stands and the check cost an afternoon, not a reputation.
Trade-offs & pitfalls
- Raising it directly in the stakeholder meeting "to protect the org from a bad decision" scores a point in the moment but damages the working relationship and makes the colleague defensive on the next collaboration.
- Staying silent because raising it feels confrontational lets a real bias ship into decisions uncorrected, which is a worse outcome for the partnership than a slightly awkward private conversation.
- The senior move here is designing the joint test so the evidence settles the question, rather than relying on how persuasively you phrase the concern. A well-chosen test does the convincing; the conversation itself does not have to.
- A remaining pitfall: proposing a fix without proposing how to verify it worked. A joint investigation that ends without a joint, agreed check on the outcome tends to resurface as the same disagreement later.
After an instrumentation or ETL change, you discover a specific cohort or segment has been silently undercounted (or rows silently dropped) for some time, while the aggregate metrics looked normal enough not to trigger existing alerts. Describe how you would quantify the size and scope of the bias, what you would do to remediate it, and what you would add to your monitoring so a similar defect doesn't go undetected again.
Sample Answer
Quantify the bias by comparing the affected segment against a control segment that wasn't touched by the change, rather than trusting the overall aggregate, since a silent undercount for one cohort can be small enough in the total to hide behind normal day-to-day noise while still being large relative to that specific cohort.
Approach
Compare the affected cohort's metric trend before and after the suspected change against an unaffected control cohort's trend over the same period; a divergence that appears only in the affected cohort, and only after the change, is strong evidence the change itself caused the undercount rather than a coincidental broader shift.
Worked example
An instrumentation change duplicates events for roughly 5% of users in one specific country; the overall engagement metric barely moves (that country is a small share of total traffic), but a country-level breakdown shows engagement in that one country jumping in a way no other country shows, and the jump timing lines up exactly with the instrumentation deploy date, pinpointing both the cause and the affected scope.
Trade-offs and pitfalls
Remediation has to address both the historical data and the ongoing pipeline: backfilling or annotating the historically affected rows (rather than silently overwriting them, so the correction itself stays auditable) and re-instrumenting or reverting the change that caused the bias going forward. The preventive lesson is usually the more valuable output of this exercise: whatever check would have caught this sooner (a per-segment, not just an aggregate, monitoring rule) should be added, since the whole reason this class of defect is dangerous is that it hides behind an aggregate that looks fine.
You want to check whether related rows exist in another table without duplicating the left-hand rows the way a plain JOIN can. Using orders and payments, show when you'd reach for EXISTS instead of a JOIN specifically to avoid row duplication (not for the NULL-handling reason), with an example where the JOIN version silently multiplies rows.
Sample Answer
Direct answer: Reach for EXISTS instead of a JOIN when you only need to know whether a related row exists and you do not want the left table's rows duplicated by the join. A LEFT JOIN (or INNER JOIN) produces one output row per matching right-side row, so an order with three payment rows shows up three times; EXISTS returns a single boolean per order and never multiplies anything, because it only asks "is there at least one match," not "give me every match." This is a separate problem from the NOT IN / NULL trap: it is about row multiplication from the join's cardinality, not about NULLs breaking a comparison.
Structured elaboration
- A
JOIN's output cardinality is driven by how many rows on the right side match each row on the left. Ifpayments.order_idis not unique per order,orders JOIN paymentsreturns one row per (order, payment) pair, not one row per order. EXISTSis a correlated subquery that the engine evaluates as true/false per outer row; it stops at the first matching payment and never expands the result set.- If all you need is a flag ("does this order have a payment yet") or you're filtering on existence (
WHERE EXISTS (...)),EXISTSis both correct and typically cheaper, because it doesn't have to materialize every matching payment row just to throw most of them away. - If you genuinely need columns FROM the right table (e.g. the payment amount), you cannot avoid a JOIN, but you can avoid duplication by picking exactly one right-side row per left-side row first (a
ROW_NUMBER()filtered to 1, or an aggregate likeMAX(amount)), then joining to that pre-reduced result instead of the raw table.
Worked example (executed in DuckDB)
-- orders(id, user_id, total); payments(id, order_id, amount)
CREATE TABLE orders (id INT, user_id INT, total INT);
INSERT INTO orders VALUES (100, 123, 50);
CREATE TABLE payments (id INT, order_id INT, amount INT);
INSERT INTO payments VALUES (1,100,20), (2,100,20), (3,100,10); -- three partial payments on the same order
-- LEFT JOIN: one order silently becomes three rows
SELECT o.id AS order_id, o.total, p.id AS payment_id
FROM orders o
LEFT JOIN payments p ON p.order_id = o.id
WHERE o.user_id = 123;
-- -> (100,50,1), (100,50,2), (100,50,3) -- the order row is tripled
-- EXISTS: exactly one row, no duplication
SELECT o.id AS order_id, o.total,
EXISTS (SELECT 1 FROM payments p WHERE p.order_id = o.id) AS has_payment
FROM orders o
WHERE o.user_id = 123;
-- -> (100, 50, true) -- one row, as expected for one order
If this order feeds a report that sums total per user, the LEFT JOIN version overstates that user's order total by 3x purely because of how many payments happened to exist, which is a subtle and easy-to-miss bug: the query runs fine, returns real-looking data, and the error only shows up as an inflated aggregate somewhere downstream.
Trade-offs & pitfalls
- The fix is not always "use EXISTS everywhere": if you need
payments.amountin the output, EXISTS can't give it to you, and a JOIN is genuinely required. In that case dedupe first (pick the latest or largest payment per order) rather than joining raw. COUNT(*)after a JOIN is a common place this bug hides:SELECT COUNT(*) FROM orders o JOIN payments p ON ...counts payments, not orders, if you meant the latter.- Don't reach for
DISTINCTas a band-aid over row multiplication; it's slower than not creating the duplicates in the first place, and it silently hides which rows are getting deduped and why.
Tell me about a time you combined qualitative feedback with quantitative data to improve a product. What signals did you weigh, how did you measure success, and what did you change?
Sample Answer
The short version
Numbers tell you where and how much; conversations and support tickets tell you why. I use each to check the other, weigh them by how much each can be trusted, and write down in advance how I will measure success. The most interesting part of the story is usually the moment they disagree, because that is where the extra checking happens.
The story, with illustrative numbers
The figures here are assumptions that show the shape of the story. In your own telling, use your real numbers and be clear about which are exact and which are rounded.
Situation. A self-serve invoicing product had weak account setup. Of 1,000 new accounts that started setup, 700 reached the "connect your bank account" step and only 420 completed it. That is 420 / 700 = 60% completion, so 40% (280 people) left at that step. Keep this 60% apart from the 42% that appears in the test below: both count the same 420 completers, but 60% divides by the 700 who reached the bank step, while 42% divides by all 1,000 who started setup. The test uses the second one, because it counts every account that started, not only those who reached the bank step.
Signals I weighed.
| Signal | What it told me | How far I trusted it |
|---|---|---|
| Funnel data | Where people leave (this step) and how many | High for where, silent on why |
| Support tickets, 120 sampled and tagged by theme | 31 of 120 (about 26%) asked why the bank details were needed | Medium: only people who contact support appear, and they are not typical |
| 8 customer interviews | 6 of 8 said they were unsure why the step was needed | Low for any count (8 people), useful for generating explanations to test |
The interviews and tickets pointed to a hypothesis (a prediction a result could prove wrong): users do not understand or trust the request. The funnel showed it was worth fixing, because the step lost 280 of every 700 arrivals.
How I defined success before changing anything. The headline measure was the share of started accounts that complete setup within 7 days and send a first invoice within 14 days. I chose a downstream measure on purpose: a change that raises completion of this one step while pushing people to quit later would look like a win on the step and be a loss overall. The guardrail (a measure that must not get worse) was support contacts per new account.
When the research and the experiment disagreed
Research said "explain why you need it". So I tested a short explanation on the step, as a randomised A/B test with 1,000 accounts per arm. Because this first test was about one step, its primary readout was the share of started accounts that connected a bank account, with the headline measure and the support-contact guardrail tracked alongside. Illustrative result: control 420 of 1,000 completed (42.0%) and the explanation arm 435 of 1,000 (43.5%).
Difference = 43.5% - 42.0% = 1.5 percentage points (absolute)
Standard error = sqrt(0.42 x 0.58 / 1000 + 0.435 x 0.565 / 1000)
= sqrt(0.0002436 + 0.0002458) = sqrt(0.0004894) = 0.0221
95% interval = 1.5 +/- 1.96 x 2.21 = 1.5 +/- 4.3 = -2.8 to +5.8 points
Reading those lines. The difference is the explanation arm's completion rate minus the control's, in percentage points (an absolute change: 43.5 minus 42.0). The same gap as a relative change is the difference divided by the control rate, 1.5 / 42.0, about 3.6%. The two are easy to confuse, and "1.5 points" and "3.6%" describe the same gap. The standard error is how much a rate measured on 1,000 accounts would wobble if you repeated the test with other accounts; for each arm it is the square root of rate x (1 - rate) / 1,000, and for the difference the two arms' squared standard errors add (the two terms under the square root above), which gives 0.0221, or 2.21 points. The 95% interval is the difference plus or minus 1.96 standard errors. The 1.96 is the point of the bell curve (the normal distribution) with 2.5% of the probability in each tail, so the middle 95% lies within 1.96 standard errors of the centre. Here that gives 1.5 plus or minus 4.3 points. The program reproduces the numbers:
import math
n = 1000
p_ctrl, p_test = 420 / n, 435 / n
diff = p_test - p_ctrl
se = math.sqrt(p_ctrl * (1 - p_ctrl) / n + p_test * (1 - p_test) / n)
print("difference, percentage points:", round(diff * 100, 1))
print("relative change, percent:", round(diff / p_ctrl * 100, 1))
print("standard error, points:", round(se * 100, 2))
print("95% interval, points:", round((diff - 1.96 * se) * 100, 1), "to", round((diff + 1.96 * se) * 100, 1))
Output:
difference, percentage points: 1.5
relative change, percent: 3.6
standard error, points: 2.21
95% interval, points: -2.8 to 5.8
The interval spans zero and is wide. So the experiment was inconclusive: it neither confirmed the interviews nor showed that the explanation does nothing. Reading it as "the research was wrong" would have been a mistake, and so would reading it as "it works".
The extra validation I ran.
- Checked whether users saw the treatment. The exposure data showed that only 55% of users in the explanation arm scrolled far enough to see the text (assumption). A weak treatment explains a weak result. I treated this as a diagnosis only. Analysing just the people who scrolled would be misleading, because people who scroll differ from people who do not, so the test result still stands by assignment.
- Went back to users. I ran 6 short sessions where people saw the explanation. They read it, understood it, and still hesitated, saying they wanted to connect their bank account later. The reason was not understanding; it was the timing of the request. Six sessions cannot size an effect, but they pointed to a different cause that the first round had not considered.
- Ran a second test with a "Do this later" option and a reminder, with the downstream success measure as its primary readout.
Decision. Both the sessions and the second test favoured the "do this later" flow, so I shipped it with a one-line explanation kept in place, and kept watching the downstream measure and the support-contact guardrail. When you tell this story, close with your real result and its uncertainty. If the second test was also mixed, say so and say what you did about it.
What I would do differently
- Size the first test before running it. With 1,000 per arm, the interval is about plus or minus 4.3 points, so only a fairly large change could have been seen. A quick calculation up front would have told me the test could not settle the question.
- Check that the exposure event exists before launch, not afterwards.
- Interview first with a wider mix of customers, including those who did not contact support.
Pitfalls
- Citing only the evidence that agrees with the decision you wanted.
- Treating 8 interviews as a statistic ("75% of users") when they are best used to find ideas.
- Calling a flat, wide-interval result "no effect".
- Changing the definition of success after seeing the data.
- Telling the story as if the qualitative and quantitative evidence agreed from the start. The disagreement is where the learning was.
Given a small sample table with a few missing cells across two columns, decide whether the missingness in each column looks most consistent with MCAR, MAR, or MNAR based on what else you can see in the rows, and name two diagnostics you'd run to confirm your read on a larger dataset.
Sample Answer
Direct answer
On a small sample table with age missing for one user and country missing for another, look at what else is known about each row before concluding anything: if the missingness seems tied to specific OTHER observed fields (say, both missing values belong to users with very short last_active_days, suggesting incomplete signups rather than a random gap), that points toward missing at random (MAR) rather than missing completely at random (MCAR); if there's no such pattern at all, MCAR is the more plausible working assumption, though a sample this small can't rule out much with confidence either way.
Reading the indicators in a small sample
The judgment here is necessarily provisional: with only a handful of missing values, you're looking for suggestive patterns, not statistical proof. Check whether the missing values cluster on particular values of other observed columns (a specific signup channel, a specific date range, a specific last_active_days value) rather than spreading randomly across the table; a cluster is a hint worth chasing further, while a scattered, unpatterned handful of missing values in an otherwise unremarkable small sample is consistent with MCAR, though genuinely inconclusive at this size.
Worked example
In a four-row sample: age is missing for the user with last_active_days of 5, and country is missing for the user with last_active_days of 30. If this were the ENTIRE evidence, it's genuinely ambiguous at n=4, but the diagnostics worth running on a larger version of the same table would be: does age missingness correlate with recency of signup or activity level across many more rows (pointing toward MAR via activity level as the observed explanation), or does it look scattered across every level of activity (more consistent with MCAR)? The two concrete diagnostics to propose here are a missingness-versus-last_active_days crosstab and a simple bar chart of missingness rate by signup cohort, both cheap to run once you have more than four rows to work with.
Trade-offs and pitfalls
Resist over-interpreting a genuinely small sample: the honest answer at n=4 is "here's a hypothesis and here's how I'd test it on the full dataset," not a confident MCAR-versus-MAR conclusion drawn from four rows.
You maintain a 10-year sales time series and notice the trend shifts after a pricing change. Describe statistical methods to detect structural breaks (e.g., Chow test, CUSUM, Bayesian change point detection) and how you'd attribute the break to pricing versus coincident events.
Sample Answer
Direct answer
Detecting a structural break means testing whether a series' underlying parameters (mean, trend, variance) shifted at some point, using methods like the Chow test (tests a hypothesized break date), CUSUM (accumulates deviations to flag a sustained shift), or Bayesian change point detection (estimates a posterior distribution over where a break most likely occurred); attributing the break to a specific cause (like a pricing change) versus a coincident event requires comparing the break's timing and shape against what you'd expect that specific cause to produce, ideally with a control series that wasn't exposed to the same cause.
Structured elaboration
- Chow test: tests a SPECIFIC, pre-specified candidate break date by comparing the fit of one regression over the whole series against two separate regressions split at that date; an F-test determines whether the split significantly improves fit. Use it when you already have a hypothesis for WHEN the break happened (e.g. the exact date of a pricing change).
- CUSUM: accumulates signed deviations from a reference/target value over time and flags when the cumulative sum crosses a threshold; naturally suited to detecting a SUSTAINED shift (as opposed to a single outlier), and doesn't require knowing the break date in advance.
- Bayesian change point detection: puts a prior over possible break locations (and possibly the number of breaks) and returns a posterior distribution, which is useful when you're not confident there's exactly one break, or want an honest measure of uncertainty about WHERE the break occurred rather than a single point estimate.
- Attributing the break to pricing vs a coincident event: check whether the break's TIMING lines up precisely with the pricing change date (a break that starts 3 weeks before the price change is a red flag that something else is driving it); check whether the break's DIRECTION and MAGNITUDE make sense for the mechanism (a price increase should plausibly reduce volume, not increase it, absent some other explanation); and, most powerfully, compare against a CONTROL series not exposed to the pricing change (a comparable product/region where price didn't change) - if the control also shows a break at the same time, the true cause is more likely something coincident (a seasonal event, a macro shift) than the pricing change itself.
Worked example (executed)
Run against a synthetic 300-point series (seed=0) with an abrupt level shift of +5 at index 100, followed by a separate GRADUAL linear ramp of +5 starting at index 200 and completing by index 300, both with unit-variance Gaussian noise:
import numpy as np, ruptures as rpt
np.random.seed(0)
n = 300
x = np.zeros(n)
x[:100] = np.random.normal(0, 1, 100)
x[100:200] = np.random.normal(5, 1, 100)
ramp = np.linspace(0, 5, 100)
x[200:300] = 5 + ramp + np.random.normal(0, 1, 100)
algo = rpt.Pelt(model="rbf").fit(x.reshape(-1, 1))
result = algo.predict(pen=10)
print("result =", result)
Executed output: result = [100, 235, 300]. PELT located the abrupt shift's true onset (index 100) EXACTLY, but only flagged the gradual ramp at index 235 - thirty-five periods after its true onset at index 200 - a genuine, informative result: algorithms tuned for abrupt shifts (Chow test at a hypothesized date, standard CUSUM/PELT) can systematically under-detect or mis-locate a GRADUAL regime change, since there's no single sharp point where the "before" and "after" distributions are maximally separated. If a pricing change caused a gradual behavioral adaptation rather than an immediate jump, methods built around detecting sharp breaks will underperform, and a trend-based or rolling-regression approach may localize the shift better.
Trade-offs & pitfalls
At the scale of many series at once (e.g. 10 million SKU-store combinations), running full changepoint detection on every series individually is computationally prohibitive; a practical architecture screens cheaply first (a simple rolling-mean-shift heuristic) and reserves the expensive Bayesian/PELT-style methods for the subset flagged as plausible candidates, with human review prioritized toward breaks that are both large in magnitude AND business-critical, rather than trying to review every detected break. After a deployment or pricing change specifically, build the investigation triage into a repeatable runbook (a rollback threshold, a standard set of first checks) rather than an ad hoc analysis each time, since "did our recent change cause this" is a recurring question, not a one-off.
Recommended Additional Resources
- LeetCode Database Problems: Practice SQL queries on LeetCode's database section (easy to hard difficulty levels). Focus on daily practice with 2-3 problems per day.
- HackerRank SQL Challenges: Solve SQL challenges on HackerRank, which provides automated feedback and allows you to compare solutions with other users.
- CodeWars: Practice coding challenges in SQL and Python to build problem-solving speed and learn efficient approaches from community solutions.
- Cracking the Coding Interview (6th Edition) by Gayle Laakmann McDowell: While focused on software engineers, the chapters on SQL and data analysis questions are valuable. Focus on Part VI (Knowledge Based) for SQL and data analysis.
- Designing Data-Intensive Applications by Martin Kleppmann: Advanced but useful for understanding data concepts underlying real-world analytics systems.
- Google's Data Analytics Professional Certificate (Coursera): Covers SQL, Tableau, and foundational analytics concepts. Good for structured learning if you need basics.
- Mode Analytics SQL Tutorial: Free, practical SQL tutorial with real datasets to practice querying.
- Tableau Public Gallery & Tableau Desktop: Download Tableau Public for free, explore dashboards others have built, and practice building your own with public datasets (Kaggle, Google Public Datasets).
- Kaggle Datasets: Use Kaggle for hands-on practice with real datasets. Combine SQL practice with EDA and visualization projects.
- Thinking with Data by Max Shron: Short book on frameworks for answering business questions with data. Excellent for structuring your approach to case study interviews.
- Statistics Resources: Khan Academy's statistics course for foundational concepts, StatQuest videos on YouTube for clear explanations of p-values and hypothesis testing.
- A/B Testing Resources: Read case studies of real A/B tests on company blogs (Google Research Blog, Netflix Tech Blog, Airbnb Engineering) to understand how companies design and interpret experiments.
- Company Research: Familiarize yourself with target company's products, recent data-related blog posts, and engineering blogs. Understand what problems they likely solve with data analytics.
Search Results
Google Data Analyst Interview Guide 2025 (Process, Questions ...
Prepare for the 2025 Google data analyst interview with a full breakdown of stages, SQL and product questions, preparation tips, and salary insights.
20 Data Science Interview Questions With Examples - Tredence
Prepare for your next data science interview with these 20 essential data science interview questions and real-world examples.
SQL Interview Questions: A Data Analyst's Guide for Success
With this guide, you'll learn more about SQL technical screenings, what type of screening you might encounter, and some common types of questions that come ...
65+ Data Analyst Interview Questions and Answers for 2026
Ready to Crush Your Data Analyst Interview? Dive into Invaluable Questions for Top-notch Preparation. Elevate Your Career Now!
Most Asked Scenario-Based Questions in Data Analyst Interviews ...
... guide data analyst interview, real world data analyst scenarios, how to answer scenario-based questions, interview tips data analytics, junior data analyst ...
Meta (Facebook) Data Scientist Interview Guide - Exponent
Interview Prep · Write SQL queries daily · Review A/B testing design and randomization methods · Brush up on probability, statistics, and regression basics.
This interview preparation guide was generated using AI-powered research from the sources listed above. While we strive for accuracy, we recommend verifying critical information from official company sources.
Want to create your own tailored preparation guide using our deep research?
Get Started for FreeInterview-Ready Courses
Visual-first, interactive, structured learning paths