Interview question library
Search interview questions by role, level and type. Each one names the answer framework that suits it and what a strong answer covers. Members can also see what candidates report being asked at a company, and practice any question out loud with feedback.
New to the frameworks? See the answer frameworks, or read the Interview Framework Cheat Sheet.
Sign in to see what candidates report being asked at a company, and the questions written for your own jobs.
Interview questions
385 questions
How do you measure the effect of a change when you cannot run an experiment?
TechnicalData & AnalyticsSeniorPEEL frameworkA strong answer: Describes methods such as comparing before and after with a control group, their assumptions, and how you would test them.
What are the common ways an experiment gives a misleading result?
TechnicalData & AnalyticsSeniorPEEL frameworkA strong answer: Covers stopping early, many comparisons, novelty effects, uneven assignment and interference between users.
How would you find duplicate records in a table?
TechnicalData & AnalyticsEntryPEEL frameworkA strong answer: Groups by the identifying columns and filters by count, and explains how you would decide which copy to keep.
What are window functions, and when would you use one?
TechnicalData & AnalyticsMid-levelPEEL frameworkA strong answer: Explains calculations across related rows without collapsing them, with examples such as running totals and rankings.
How would you calculate monthly retention from a table of user events?
TechnicalData & AnalyticsMid-levelPEEL frameworkA strong answer: Defines the cohort and what counts as active, joins users to their later activity, and checks the result for edge cases.
How would you design a data model for analytics on orders and customers?
TechnicalData & AnalyticsSeniorPEEL frameworkA strong answer: Separates facts from descriptive tables, chooses the level of detail, handles changes over time, and considers how it will be queried.
What is overfitting, and how do you prevent it?
TechnicalData & AnalyticsEntryPEEL frameworkA strong answer: Explains learning noise instead of pattern, how you detect it with held-out data, and remedies such as simpler models and regularization.
How do you evaluate a classification model when one class is rare?
TechnicalData & AnalyticsMid-levelPEEL frameworkA strong answer: Explains why accuracy misleads, uses precision, recall and their trade-off, and ties the threshold to the cost of each error.
How do you choose which features to give a model?
TechnicalData & AnalyticsMid-levelPEEL frameworkA strong answer: Uses knowledge of the problem, checks for leakage of the answer, tests the contribution of features, and prefers the simpler set.
How do you know a model in production is still working?
TechnicalData & AnalyticsSeniorPEEL frameworkA strong answer: Monitors input data and predictions for drift, compares against real outcomes, and defines when to retrain or roll back.
How would you explain a model's prediction to a non-technical stakeholder?
TechnicalData & AnalyticsSeniorPEEL frameworkA strong answer: Uses the main factors behind the prediction in plain terms, is honest about uncertainty, and avoids overstating what the model knows.
What is the difference between encryption and hashing?
TechnicalCybersecurityEntryPEEL frameworkA strong answer: Explains that encryption can be reversed with a key and hashing cannot, and gives a correct use for each, such as storing passwords.
What is the principle of least privilege, and how do you apply it?
TechnicalCybersecurityEntryPEEL frameworkA strong answer: Explains giving only the access needed, with practical examples such as role-based access and regular reviews.
Explain a common web vulnerability and how you would prevent it.
TechnicalCybersecurityMid-levelPEEL frameworkA strong answer: Chooses one such as injection or cross-site scripting, explains how the attack works, and the specific defenses.
How would you investigate a suspected phishing compromise?
TechnicalCybersecurityMid-levelPEEL frameworkA strong answer: Contains the account, reviews sign-ins and mail rules, checks what was accessed, resets credentials, and informs those affected.
How do you approach threat modeling for a new application?
TechnicalCybersecuritySeniorPEEL frameworkA strong answer: Identifies what needs protecting and who might attack, maps the data flows, ranks threats, and decides on controls with the team.
What does a zero-trust approach mean in practice?
TechnicalCybersecuritySeniorPEEL frameworkA strong answer: Explains verifying every request regardless of network, strong identity, device checks and small segments, with realistic first steps.
What is the difference between black-box and white-box testing?
TechnicalQA/TestingEntryPEEL frameworkA strong answer: Explains testing from the outside against testing with knowledge of the code, and when each is useful.
How would you test an API?
TechnicalQA/TestingMid-levelPEEL frameworkA strong answer: Covers valid and invalid inputs, permissions, error responses, performance and contract changes, with the tools you would use.
What makes an automated test suite reliable and worth keeping?
TechnicalQA/TestingMid-levelPEEL frameworkA strong answer: Describes independent tests, stable test data, fast feedback, clear failures and regular pruning.
Answer frameworks
Each question in the library names the framework that suits it. Here is what each one stands for. The Interview Framework Cheat Sheet goes through each part with an example.
Best for
- Behavioral questions
- Teamwork, conflict and failure
- Initiative and pressure
Best for
- Technical problems
- Incidents and fixes
- Short follow-up answers
Best for
- Hard decisions
- Leading through change
- Weighing options
Best for
- Opinions
- "How would you approach" questions
- Showing how you think
Best for
- Explaining a concept
- Technical definitions
- Talking to people outside your field
Free tools to try
No account needed.
Other places to research
Sites we find useful. They are not part of Pitchloom.
- Company researchGlassdoorCompany reviews, pay data and interview reports from employees.(opens in a new tab)
- Pay dataLevels.fyiPay data for technology companies, by level.(opens in a new tab)
- Industry talkBlindAn anonymous community of people discussing their employers.(opens in a new tab)
- SkillsLinkedIn LearningCourses for building professional skills.(opens in a new tab)