๐ฏ Advanced Data Analyst Mock Interview Questions (With Answers) ๐
๐ 1๏ธโฃ A dashboard suddenly shows incorrect numbers. How would you troubleshoot it?
โ
Strong Answer:
โI would troubleshoot step-by-step:
1. Verify source data
2. Check recent ETL/data pipeline changes
3. Validate SQL queries and joins
4. Check filters and calculations in dashboard
5. Compare results with raw database values
This helps isolate whether the issue is from data ingestion, transformation, or visualization.โ
๐ง 2๏ธโฃ Difference between RANK(), DENSE_RANK(), and ROW_NUMBER()?
โ
Answer:
ROW_NUMBER โ No duplicate rank, No skips rank
RANK โ Yes duplicate rank, Yes skips rank
DENSE_RANK โ Yes duplicate rank, No skips rank
Example:
SELECT salary,
RANK() OVER(ORDER BY salary DESC)
FROM employees;
๐ 3๏ธโฃ What is the difference between OLTP and OLAP?
โ
Answer:
OLTP
- Transactional systems
- Fast inserts/updates
- Normalized data
- Example: Banking app
OLAP
- Analytical systems
- Complex queries
- Denormalized data
- Example: Power BI dashboard
๐ 4๏ธโฃ How do you optimize a slow SQL query?
โ
Strong Answer:
โI would:
- Avoid SELECT
- Use indexes properly
- Filter early with WHERE
- Avoid unnecessary joins
- Analyze execution plan using EXPLAIN
- Use CTEs/window functions carefullyโ
๐ง 5๏ธโฃ Explain Primary Key vs Foreign Key
โ
Answer:
- Primary Key uniquely identifies each row
- Foreign Key creates relationship between tables
Example:
customer_id in customers โ Primary Key
customer_id in orders โ Foreign Key
๐ 6๏ธโฃ What is data cleaning?
โ
Answer:
โData cleaning means handling:
- Missing values
- Duplicates
- Incorrect formats
- Inconsistent records
It improves data quality before analysis.โ
๐ 7๏ธโฃ What are the most important SQL concepts for a data analyst?
โ
Answer:
- Joins
- Aggregations
- Window functions
- Subqueries & CTEs
- Date functions
- NULL handling
๐ง 8๏ธโฃ Explain a situation where you used data to solve a business problem
โ
Strong Answer:
โI analyzed customer purchase patterns and identified products with low repeat sales. Based on the analysis, targeted campaigns were suggested, which improved customer retention.โ
๐ 9๏ธโฃ Difference between UNION and UNION ALL
โ
Answer:
- UNION removes duplicates
- UNION ALL keeps duplicates and is faster
๐ ๐ How do you measure dashboard performance?
โ
Answer:
โI check:
- Query execution time
- Dashboard load speed
- Number of visuals
- Data model optimization
- DAX/query efficiencyโ
๐ง 1๏ธโฃ1๏ธโฃ What is cardinality in databases?
โ
Answer:
Cardinality defines relationship between tables:
- One-to-One
- One-to-Many
- Many-to-Many
Example: One customer โ many orders.
๐ 1๏ธโฃ2๏ธโฃ Explain ETL Process
โ
Answer:
- Extract โ collect data
- Transform โ clean/process data
- Load โ store into warehouse/database
๐ 1๏ธโฃ3๏ธโฃ What is the difference between a view and a table?
โ
Answer:
- Table stores physical data
- View is a virtual query result
๐ง 1๏ธโฃ4๏ธโฃ How would you identify trends in sales data?
โ
Strong Answer:
โI would use:
- Time-series analysis
- Running totals
- Month-over-month growth
- Moving averages
- Visualization dashboardsโ
๐ 1๏ธโฃ5๏ธโฃ Explain Star Schema
โ
Answer:
Star schema contains:
- One fact table
- Multiple dimension tables
Used heavily in:
- Data warehouses
- Power BI models
โญ Most Important Interview Advice
Interviewers test:
- SQL logic
- Business understanding
- Communication skills
- Problem-solving approach not just syntax.
๐ Double Tap โค๏ธ For More
Post #3056
983
- โค 3