Anthropic

Anthropic

AI safety and research company behind Claude, focusing on constitutional AI.

5 Rounds ~20 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 Scientist Coding medium

Given a table `claude_generations` with columns `user_id`, `prompt_length`, `generation_time_ms`, and `timestamp`, write a SQL query to calculate the 95th percentile latency for each user tier (join with `users` table) over the last 30 days.

#Window Functions #Percentiles #Performance Metrics
Data Scientist Coding medium

Given a table `user_interactions`, write a SQL query to find all users who have triggered the safety filter (`is_blocked = TRUE`) more than 3 times within any rolling 24-hour window.

#Rolling Windows #Self Joins #Anomaly Detection
Data Scientist Coding medium

Write a SQL query to calculate the rolling 7-day average of human preference win-rates for Claude 3 versus Claude 2, partitioned by the evaluation domain.

#SQL #Window Functions #Time Series
Data Scientist Coding medium

Write a SQL query to identify the top 1% most active API users based on token consumption over the last 30 days, excluding internal Anthropic test accounts.

#SQL #Percentiles #Filtering
Data Scientist Coding medium

Given a table of human evaluations, write a SQL query to find the specific prompts that have the highest variance in human helpfulness ratings (indicating subjective or ambiguous prompts).

#SQL #Aggregation #Statistics
Data Scientist Coding medium

Write a SQL query to find the top 5% of users by token usage who have also triggered the safety filter more than 3 times in the last 30 days.

#Window Functions #Filtering #Aggregations
Data Scientist Coding hard

Given a table of user prompts with timestamps, write a SQL query to group these prompts into 'sessions'. A new session starts if there is a gap of more than 30 minutes between prompts.

#Sessionization #Window Functions #Time Series
Data Scientist Coding medium

Write a SQL query to calculate the week-over-week retention rate of users who interacted with a specific new model version.

#Cohort Analysis #Retention #Self Joins
Data Scientist Coding medium

How would you identify potential prompt injection attempts in our logs using a combination of regex and SQL?

#Regex #Security #Text Processing
Data Scientist Coding easy

Write a SQL query to calculate the 7-day rolling average of API requests per organization.

#Moving Averages #Window Functions

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