Role-wise Interview Questions by Job and Tech Stack
Last updated 2026-11-19
Once you move beyond the first screening test, interviews depend on the role you applied for. A backend developer is asked about APIs, databases and scaling, a frontend developer about the browser, state and rendering, and a data or DevOps candidate about pipelines, queries and deployment. The guides in this section are organised by role or tool so that you can prepare for the interview you will actually face.
Each guide follows the same idea as the rest of the site: real questions, worked answers and an honest account of what to emphasise. They assume you already have the fundamentals from the DSA and CS banks, and they go deeper on the practical side of the job.
Match preparation to the job description
Read the job description line by line and underline every tool, framework and concept it names. Those words are your syllabus. If the description lists REST, SQL and a cloud platform, you should be able to explain how a request travels from client to database and back, and write a query on the spot.
What role interviews usually probe
- Depth in the main tool or stack, with specific examples from projects.
- Design thinking: how you would structure a small service, schema or component.
- Debugging: how you would find the cause of a slow page, a failing job or a wrong result.
- Trade-offs: why you chose one option over another.
Talk about your own projects precisely
Interviewers for role-specific rounds start from your resume. For every project, be ready to explain what you built, which part was yours, one decision you would change and one problem you had to debug. Vague claims invite probing questions, while concrete details show real experience. Never describe work you did not do.
Build one small thing in the stack
Reading about a tool is not the same as using it. Before an interview, build something small in the stack: a tiny API with a database, a component with its own state, or a pipeline that cleans a dataset. The questions interviewers ask become much easier when you have hit the common errors yourself.
Connecting role questions to the core banks
Role rounds still include fundamentals. Revise CS fundamentals for the database and networking questions behind most roles, and the language guides for the language your stack uses.
All 65 guides in this section
- A/B Testing Interview Questions and AnswersFourteen A/B testing interview questions with worked numbers: sample size, two-proportion z-test, confidence interval, SRM, peeking, CUPED and Simpson.
- Android Developer Interview Questions and AnswersSeventeen Android developer interview questions on Kotlin, Jetpack Compose, ViewModel, coroutines, Room, lifecycle and memory, with code.
- Angular Interview Questions and Answers (Angular 18 and Later)Eighteen Angular interview questions on signals, standalone components, new control flow, RxJS, DI, change detection and routing, with code.
- Ansible Interview Questions and Answers15 Ansible interview questions with worked answers: inventory, playbooks, idempotency, roles, handlers, Vault, templates, variables and debugging.
- API Testing and Postman Interview Questions16 API testing interview questions with worked answers: HTTP methods, status codes, Postman scripts, auth, chaining requests, Newman, REST Assured and pytest.
- Automation Testing Interview Questions and Answers15 automation testing interview questions with worked answers: test pyramid, framework design, what to automate, pytest, flaky tests, CI and BDD.
- AWS Interview Questions and Answers16 AWS interview questions with worked answers: EC2, S3, VPC, IAM, RDS, Lambda, load balancing, scaling and cost, with CLI and policy examples.
- Azure Interview Questions and Answers15 Azure interview questions with worked answers: Entra ID, RBAC, VNets, storage, App Service, AKS, Functions, monitoring and Bicep examples.
- Backend Developer Interview Questions and AnswersEighteen backend developer interview questions on APIs, databases, caching, auth, queues and scaling, with worked answers and runnable code.
- Business Analyst Interview Questions and AnswersThirteen business analyst interview questions with worked answers: requirements, user stories, MoSCoW, RTM, gap analysis, ROI, SQL and case structure.
- Cloud Engineer Interview Questions and Answers15 cloud engineer interview questions with worked answers: IaaS vs PaaS, networking, IAM, high availability, cost, migration, serverless and security.
- Computer Vision Interview Questions and AnswersFourteen computer vision interview questions with worked answers: convolution by hand, IoU, NMS code, mAP, Dice, focal loss, receptive field and OpenCV.
- Cybersecurity Interview Questions and Answers16 cybersecurity interview questions with worked answers: CIA triad, encryption, TLS, OWASP Top 10, IAM, zero trust, incident response and threat models.
- Data Analyst Interview Questions and AnswersFourteen data analyst interview questions with worked SQL, pandas and metric answers: joins, window functions, outliers, funnels and metric drops.
- Data Engineer Interview Questions and AnswersThirteen data engineer interview questions with worked SQL and Python answers: pipelines, idempotency, Kafka, Airflow, partitioning and sessionization.
- Data Scientist Interview Questions and AnswersThirteen data scientist interview questions with worked answers on bias-variance, regularisation, metrics, leakage, cross-validation and SQL.
- Deep Learning Interview Questions and AnswersFourteen deep learning interview questions with worked numbers and PyTorch code: backprop, softmax, Adam, batch norm, CNN sizes and attention.
- DevOps Interview Questions and Answers15 DevOps interview questions with worked answers: CI/CD, deployment strategies, GitOps, DORA metrics, IaC, monitoring and incident handling.
- Django Interview Questions and Answers (Django 5)Seventeen Django 5 interview questions on the ORM, migrations, middleware, security, DRF and async, with answers and runnable Python code.
- Docker Interview Questions and Answers16 Docker interview questions with worked answers: images vs containers, layers, multi-stage builds, networking, volumes, Compose and security.
- Ethical Hacking Interview Questions and Answers15 ethical hacking interview questions with worked answers: recon, scanning, exploitation, web attacks, privilege escalation, reporting and legal limits.
- ETL and Data Warehousing Interview Questions and AnswersFourteen ETL and data warehousing interview questions with SQL: star schema, grain, SCD type 2, CDC, incremental loads, Kimball vs Inmon and testing.
- Excel Interview Questions and AnswersFourteen Excel interview questions with formulas: XLOOKUP, INDEX MATCH, SUMIFS, pivot tables, SUMPRODUCT, dynamic arrays, dates and data cleaning.
- Express.js Interview Questions and Answers (Express 5)Seventeen Express.js interview questions on middleware, routing, error handling, security and Express 5 changes, with working code examples.
- FastAPI Interview Questions and AnswersSeventeen FastAPI interview questions on dependency injection, async, Pydantic v2, auth, lifespan, testing and deployment, with working code.
- Flask Interview Questions and AnswersSeventeen Flask interview questions on contexts, blueprints, the app factory, SQLAlchemy 2, testing and deployment, with Python code that runs.
- Flutter Interview Questions and Answers (Flutter 3, Dart 3)Seventeen Flutter interview questions on widgets, state management, the three trees, async Dart, performance and Dart 3 features, with code.
- Frontend Developer Interview Questions and AnswersEighteen frontend interview questions on HTML, CSS, JavaScript, the browser, accessibility and Core Web Vitals, with precise answers and code.
- Full Stack Developer Interview Questions and AnswersSeventeen full stack developer interview questions on auth, APIs, SSR, schema design, real-time updates and deployment, with worked answers.
- Generative AI and LLM Interview Questions and AnswersFourteen generative AI and LLM interview questions with worked numbers: temperature, RAG, LoRA, KV cache memory, MRR, quantisation and prompt injection.
- Google Cloud (GCP) Interview Questions and Answers14 Google Cloud interview questions with worked answers: projects, IAM, VPC, Compute Engine, GKE, Cloud Run, BigQuery, Pub/Sub and gcloud commands.
- GraphQL Interview Questions and AnswersSeventeen GraphQL interview questions on schema design, resolvers, N+1 and DataLoader, pagination, errors, security and federation, with code.
- Hibernate and JPA Interview Questions and AnswersSeventeen Hibernate and JPA interview questions on entity states, lazy loading, N+1, cascades, locking and performance, with Java code for Hibernate 6.
- HTML and CSS Interview Questions and AnswersEighteen HTML and CSS interview questions on layout, specificity, stacking context, responsive design and modern CSS, with working code.
- iOS and Swift Interview Questions and AnswersSeventeen iOS and Swift interview questions on ARC, optionals, protocols, concurrency, SwiftUI state and UIKit lifecycle, with Swift code.
- Jenkins and CI/CD Interview Questions and Answers15 Jenkins and CI/CD interview questions with worked answers: Jenkinsfile, agents, credentials, shared libraries, webhooks, GitHub Actions comparison.
- Kubernetes Interview Questions and Answers16 Kubernetes interview questions with worked answers: pods, Deployments, Services, probes, RBAC, scheduling, storage and troubleshooting commands.
- Machine Learning Interview Questions and AnswersFifteen machine learning interview questions with worked numbers: gradient descent, Gini, entropy, ROC AUC, PCA, naive Bayes, k-means and VIF.
- Manual Testing Interview Questions and Answers16 manual testing interview questions with worked answers: test cases, bug life cycle, severity vs priority, boundary analysis, STLC, regression and more.
- MERN Stack Interview Questions and AnswersSeventeen MERN stack interview questions on MongoDB schema design, Mongoose, Express APIs, React and JWT auth, with answers and runnable code.
- Next.js Interview Questions and Answers (Next.js 15)Eighteen Next.js 15 interview questions on the App Router, Server Components, caching, Server Actions and async request APIs, with code.
- NLP Interview Questions and AnswersFourteen NLP interview questions with worked examples: TF-IDF, cosine similarity, BPE, perplexity, BLEU, NER tagging, beam search and BERT versus GPT.
- Node.js Interview Questions and Answers (Node 22)Eighteen Node.js interview questions on the event loop, streams, ESM, worker threads, error handling and performance for Node 22, with code.
- NumPy Interview Questions and AnswersFifteen NumPy interview questions with code and verified outputs: broadcasting, views vs copies, axis, masking, linalg.solve, overflow and distances.
- Pandas Interview Questions and AnswersFifteen pandas interview questions with runnable code and outputs: loc vs iloc, merge, groupby transform, top-N per group, resample and memory tuning.
- Performance Testing and JMeter Interview Questions15 performance testing and JMeter interview questions with worked answers: load vs stress, percentiles, Little's Law, correlation, CLI runs and bottlenecks.
- Power BI Interview Questions and AnswersFourteen Power BI interview questions with DAX formulas: measures vs columns, CALCULATE, time intelligence, RLS, query folding and performance tuning.
- Probability for Data Science Interview Questions and AnswersFifteen probability interview questions with worked solutions: Bayes rule, birthday problem, Monty Hall, binomial, Poisson, expectation and simulation.
- Product Analyst Interview Questions and AnswersFourteen product analyst interview questions with SQL and worked numbers: north star metric, DAU/MAU, retention, funnels, LTV to CAC and metric drops.
- PySpark Interview Questions and AnswersFourteen PySpark interview questions with code: lazy evaluation, shuffles, broadcast joins, skew and salting, partitions, caching and window functions.
- React Hooks Interview Questions and AnswersEighteen React Hooks interview questions on useState, useEffect, useRef, useReducer, custom hooks and stale closures, with code for React 19.
- React Interview Questions and Answers (React 19)Eighteen React 19 interview questions on rendering, keys, state, Server Components, Actions and Suspense, with worked answers and code.
- React Native Interview Questions and AnswersSeventeen React Native interview questions on the New Architecture, Hermes, lists, navigation, animation, storage and performance, with code.
- Redux Interview Questions and Answers (Redux Toolkit)Seventeen Redux interview questions on Redux Toolkit, reducers, immutability, thunks, RTK Query, selectors and when not to use Redux, with code.
- SDET Interview Questions and Answers15 SDET interview questions with worked answers and code: coding problems, test design, framework architecture, CI, mocking, flaky tests and system testing.
- Selenium Interview Questions and Answers16 Selenium WebDriver interview questions with worked answers: locators, waits, Page Object Model, frames, alerts, stale elements, Grid and flaky tests.
- Site Reliability Engineer (SRE) Interview Questions and Answers15 SRE interview questions with worked answers: SLIs, SLOs, error budgets, incident response, capacity planning, toil, alerting and system design.
- SOC Analyst Interview Questions and Answers15 SOC analyst interview questions with worked answers: SIEM, alert triage, Windows event IDs, MITRE ATT&CK, phishing, log analysis and escalation.
- Software Engineer Fresher Interview Questions and AnswersFifteen core questions for fresher software engineer interviews, covering OOP, data structures, DBMS, OS, Git and coding, with worked answers.
- Spring Boot Interview Questions and Answers (Spring Boot 3)Eighteen Spring Boot 3 interview questions on auto-configuration, DI, transactions, Security 6, Actuator and testing, with Java 17 code.
- Statistics for Data Science Interview Questions and AnswersFourteen statistics interview questions for data science with worked numbers: standard error, confidence intervals, z-test, chi-square, power and R squared.
- Tableau Interview Questions and AnswersFourteen Tableau interview questions with calculated fields and LOD expressions: order of operations, FIXED vs INCLUDE, table calcs, blending and performance.
- Terraform Interview Questions and Answers16 Terraform interview questions with worked answers: state, modules, workspaces, count vs for_each, lifecycle, import, drift and remote backends.
- Web Performance Interview Questions and AnswersSeventeen web performance interview questions on Core Web Vitals, rendering, caching, images, JavaScript cost and measurement, with code.
- Web Security and OWASP Interview Questions and AnswersEighteen web security and OWASP interview questions on XSS, CSRF, injection, access control, JWT, SSRF and secure defaults, with code fixes.
Frequently asked questions
Do role-wise rounds replace DSA rounds?
Not usually. Many companies run a coding round first and a role-specific round after it, so prepare both.
How do I prepare for a stack I have only used in class projects?
Build one small project, then read the guide for that role and practise explaining your choices. Specific details beat broad claims.
Should I mention tools I have only tried once?
Only if you say so honestly. Mark the level, for example used once in a tutorial, and be ready for basic questions about it.
Where do design questions fit?
Entry-level roles get small design questions, such as a schema or an API outline. Practise sketching one on paper and explaining your trade-offs.