← Back to Blog
Data Analyst Interview Questions & Answers for Data Analyst (Mid-level)
Data Analyst12 questions·Nov 23, 2026

Data Analyst Interview Questions & Answers for Data Analyst (Mid-level)

This guide collects 12 real-world Data Analyst interview questions with clear, interviewer-ready model answers, tailored for Data Analyst candidates, at the Mid-level level. Use it to revise quickly, spot gaps, and rehearse strong answers before your next interview.

1. Walk me through how you would approach analyzing a dataset you've never seen before. What are your first steps?

I'd start by understanding the data structure, checking for missing values and data types, then exploring distributions and basic statistics to identify patterns or anomalies. For example, if given sales data, I'd first verify row counts, check date ranges, and profile key columns like revenue and customer segments.

2. Describe a time you discovered a data quality issue. How did you identify it and what did you do?

I once found duplicate customer records in a dataset when aggregating purchase totals; I identified this by checking for unique ID counts against row counts, then documented the issue and worked with the data engineering team to establish deduplication rules before re-running my analysis.

3. Explain the difference between INNER JOIN, LEFT JOIN, and OUTER JOIN. When would you use each one?

INNER JOIN returns only matching rows from both tables, LEFT JOIN keeps all rows from the left table and matches from the right, and OUTER JOIN returns all rows from both tables. I'd use INNER JOIN for strict matching like employee-department data, LEFT JOIN when I need all customers even if some lack purchase history, and OUTER JOIN when analyzing two datasets where both sides have unique records.

4. You're asked to analyze user retention. How would you define and calculate a retention cohort?

I'd define cohorts by user sign-up month, then track what percentage of each cohort returns in subsequent months using a formula like (returning users in month N / cohort size) * 100. For example, if 1,000 users signed up in January and 650 returned in February, the month-1 retention rate is 65%.

5. How would you identify and handle outliers in a dataset? Give an example.

I'd use statistical methods like the IQR rule (flagging values beyond 1.5 × IQR) or z-score method to identify outliers, then investigate their legitimacy before deciding to remove, cap, or transform them. If analyzing website load times and finding a 30-second outlier, I'd first check if it's a real server issue before removing it.

6. You're given raw transaction data. Walk me through how you'd create a summary report showing revenue by product category and region.

I'd first clean the data by removing nulls and duplicates, then use GROUP BY to aggregate revenue by product category and region, applying SUM or other relevant functions. I'd then verify the totals match source data and present the results in a pivot table or visualization showing trends by category and region.

7. How do you approach a situation where your analysis contradicts what a stakeholder believes? Describe your process.

I'd first verify my analysis by rerunning queries, checking data sources, and validating assumptions, then schedule a discussion with the stakeholder to walk through my methodology and data step-by-step. For example, if they expected higher churn but my data showed it was stable, I'd ask clarifying questions about their definition of churn to ensure alignment.

8. Explain what a correlation coefficient is and describe a scenario where high correlation might be misleading.

A correlation coefficient measures the strength and direction of a linear relationship between two variables, ranging from -1 to 1; however, correlation does not imply causation. For example, ice cream sales and drowning deaths both correlate with summer temperature, but neither causes the other—temperature is the underlying factor.

9. You're asked to create a dashboard for your marketing team. What metrics would you include and how would you prioritize them?

I'd prioritize metrics aligned with business goals: for a SaaS company, I'd include customer acquisition cost, lifetime value, churn rate, and campaign ROI, displayed with clear KPI summaries and trend lines. I'd ask stakeholders which decisions they make most frequently to ensure the dashboard drives action rather than just providing data.

10. How would you test whether a difference in conversion rates between two versions of a website is statistically significant?

I'd conduct a chi-square test or A/B test with a null hypothesis that both versions have equal conversion rates, calculating the p-value to determine significance at a 0.05 confidence level. For example, if version A had 100 conversions from 1,000 visitors (10%) and version B had 120 from 1,000 (12%), I'd test whether that 2% difference is real or due to chance.

11. Describe your experience with SQL. What's the most complex query you've written?

I'm proficient in SQL for data extraction and aggregation; I've written queries using window functions like ROW_NUMBER and PARTITION BY to rank customers by purchase frequency within regions, combined with CTEs for intermediate calculations. This allowed me to identify top spenders per region efficiently without requiring multiple queries.

12. Tell me about a time you automated a repetitive analysis task. What tools did you use and what was the impact?

I created a Python script using pandas to automatically pull daily sales data from our database, clean it, calculate KPIs, and email a summary report to stakeholders, reducing manual effort from 2 hours daily to 10 minutes of setup weekly. This freed up time for deeper analysis and ensured consistent, error-free reporting.

Practice these in a real mock interview
Get scored live and see ideal answers with an AI interviewer.
Start a Mock Interview →
← Previous
AWS Interview Questions & Answers for Cloud Engineer (Senior)
Next →
CICD ArgoCD Interview Questions & Answers

Related interview questions

CICD Pipeline Design Interview Questions & Answers
CICD · 12 Qs
CICD Pipeline Design Interview Questions & Answers
CICD ArgoCD Interview Questions & Answers
CICD · 12 Qs
CICD ArgoCD Interview Questions & Answers
AWS Interview Questions & Answers for Cloud Engineer (Senior)
AWS · 12 Qs
AWS Interview Questions & Answers for Cloud Engineer (Senior)
Full Stack Interview Questions & Answers for Backend Engineer (Senior)
Full Stack · 12 Qs
Full Stack Interview Questions & Answers for Backend Engineer (Senior)