Interview Questions & Answers

Practice with structured interview scenarios across different fields and roles. Filter by level and question type, then compare your response with model answers and key evaluation points.

Showing 8 active interview questions.
Reset
Q1How would you design authentication for a REST API?
Define login, refresh, and logout flows. Use short-lived access tokens and secure refresh token rotation. Add rate limits, input validation, audit logs, and token revocation.
Q2How do you reduce unnecessary re-renders in React?
Profile first, then optimize. Keep state local, split large components, memoize expensive computations, and avoid unstable props created on each render.
Q3What does a safe CI/CD pipeline look like?
Use automated tests, security scans, and quality gates. Release with canary or blue-green strategy and maintain quick rollback paths and post-deploy monitoring.
Q4How do you prioritize features with limited engineering capacity?
Clarify goals and user impact, then apply a transparent framework such as impact versus effort plus risk. Align stakeholders and document deferred work.
Q5Design a URL shortener for high read traffic.
Cover key generation, storage schema, cache strategy, read redirect path, abuse controls, and observability. Explain scaling and consistency trade-offs.
Q6How do you validate a KPI shown on a dashboard?
Confirm metric definition, source tables, and time windows. Reconcile with independent SQL checks and verify data quality alerts for missing or delayed data.
Q7Describe a time you prevented a security incident.
Use STAR format: signal detected, investigation steps, mitigation actions, and measurable outcome. Emphasize communication and prevention controls.
Q8How do you resolve conflict between two employees?
Listen to each side, separate facts from assumptions, facilitate a respectful discussion, and agree on clear follow-up actions with accountability.