Amazon

Amazon

E-commerce and cloud computing giant with AWS, the world's leading cloud platform.

5 Rounds ~28 Days Very Hard
Start Mock Interview

The Interview Loop

Recruiter Screen (30 min)

Standard fit check, behavioral questions, and resume overview.

Technical Loop (3-4 Rounds)

Deep dive into domain knowledge, coding, and system design.

Interview Question Bank

Data Analyst Coding medium

What is a pivot table in SQL? How would you implement it without native PIVOT support?

#Pivot #Data Transformation
Data Analyst Coding hard

What is a funnel query? Write one for a 3-step user onboarding flow.

#Funnel Analysis
Data Analyst Coding medium

Explain window functions. Write a query using LAG() to compute day-over-day change.

#Window Functions
Data Analyst Coding hard

How would you detect anomalies in a daily revenue time series using SQL?

#Anomaly Detection #SQL
Data Analyst Coding hard

Write a SQL query to calculate the rolling 28-day average session duration per user.

#Rolling Average #Sessions
Data Analyst Coding hard

Write a SQL query to find customers who made purchases in both January and February but not March.

#Set Operations
Data Analyst Coding hard

How would you build a cohort analysis for user retention in SQL?

#Cohort Analysis #Retention
Data Analyst Coding medium

Write a SQL query to calculate month-over-month revenue growth.

#Revenue #Growth Analytics
Data Analyst Technical medium

How do you handle timezone conversions in SQL analytics?

#Timezones #Analytics
Data Analyst Technical easy

Explain the difference between a HAVING clause and a WHERE clause.

#SQL Basics
Data Engineer Coding hard

Write a SQL query to identify 'loyal' customers who have made at least one purchase in 3 consecutive months.

#Self Joins #Window Functions #Gaps and Islands
Data Engineer Coding medium

Write a SQL query to calculate the Year-over-Year (YoY) growth rate of total revenue for each product sub-category.

#Date Functions #CTEs #Math Operations
Data Engineer Coding medium

Write a SQL query to find the second highest salary per department.

#Window Functions #SQL
Data Engineer Coding medium

Write a SQL query to compute a 7-day rolling average of daily sales.

#Window Functions #Analytics
Data Engineer Coding medium

Write a SQL query to find the rolling 7-day average of daily sales per product category, given an 'orders' table with order_id, product_id, category_id, order_date, and order_amount.

#Window Functions #Time Series #Aggregations
Data Engineer Technical medium

Explain the difference between OLAP and OLTP systems. When would you use each?

#OLAP #OLTP #Databases
Data Engineer Technical hard

How would you optimize a SQL query that is running slowly on a 1 billion row table?

#Query Optimization #Indexing
Data Engineer Technical medium

Explain the difference between RANK(), DENSE_RANK(), and ROW_NUMBER().

#Window Functions #SQL
Data Engineer Technical medium

What is a materialized view? How does it differ from a regular view?

#Materialized Views #Performance
Data Engineer Technical medium

What are CTEs (Common Table Expressions) and how do they differ from subqueries?

#CTEs #SQL
Data Scientist Coding medium

Write a query to identify duplicate records and deduplicate them.

#Deduplication #Data Quality
Data Scientist Coding hard

How would you write a funnel analysis query in SQL?

#Funnel #Analytics
Data Scientist Coding hard

Write a SQL query to calculate 30-day user retention.

#Retention #Analytics
Data Scientist Coding medium

Write a SQL query to find the top 3 best-selling products in each category for the last 30 days, considering only orders that were successfully delivered.

#Window Functions #Filtering #Joins
Data Scientist Coding hard

Write a SQL query to calculate the month-over-month retention rate of Amazon Prime members.

#Self Joins #Date Functions #Cohort Analysis
Data Scientist Technical easy

Explain the difference between INNER JOIN, LEFT JOIN, and CROSS JOIN.

#Joins #SQL

Difficulty Radar

Based on recent AI-sourced data.

Meet Your Interviewers

The "Standard" Interviewer

Senior Engineer

Focuses on core competencies, system constraints, and clear communication.

Simulate

Unwritten Rules

Think Out Loud

Always explain your thought process before writing code or drawing architecture.

Practice Now