Backend Developer
Interview Questions
23 practice questions across 20 skills — each with what the interviewer is really listening for. Prepare with intent, not guesswork.
Free · No signup · Grouped by skill
How to use this page
Don't memorise answers. For each question, read what the interviewer is looking for, then practise answering out loud in your own words with a real example. The notes describe strong answers and common red flags — they are for your prep, not a script.
Python
1 questionExplain the difference between a list and a tuple in Python. When would you choose one over the other?
BasicWhat the interviewer is looking for: A strong answer will clearly articulate mutability vs. immutability and provide practical use cases for each. Red flags include confusion about their core characteristics or inability to provide real-world scenarios.
Java
1 questionDescribe the concept of 'concurrency' in Java. How can you achieve it, and what are some common challenges?
IntermediateWhat the interviewer is looking for: The candidate should define concurrency, mention threads and executors, and discuss challenges like deadlocks, race conditions, and thread safety. A red flag is a lack of understanding of synchronization mechanisms.
Node.js
1 questionWhat is the event loop in Node.js, and how does it enable non-blocking I/O?
IntermediateWhat the interviewer is looking for: A good answer explains the single-threaded nature of Node.js, how the event loop processes tasks, and its role in handling asynchronous operations efficiently. A red flag is mistaking Node.js for multi-threaded or not understanding the callback queue.
SQL
1 questionDifferentiate between `JOIN` and `LEFT JOIN` in SQL. Provide a scenario where each would be appropriate.
BasicWhat the interviewer is looking for: The candidate should explain how each join type combines rows based on a related column and correctly identify when to include unmatched rows from one table. A red flag is confusing the output or not being able to provide clear examples.
REST APIs
1 questionWhat are the key principles of RESTful API design? Give an example of a well-designed REST endpoint.
IntermediateWhat the interviewer is looking for: A strong answer will cover statelessness, client-server architecture, uniform interface (resources, representations, HATEOAS), and provide a clear, resource-based URL example. A red flag is confusing REST with SOAP or not understanding resource orientation.
PostgreSQL
1 questionExplain the concept of ACID properties in the context of PostgreSQL transactions.
IntermediateWhat the interviewer is looking for: The candidate should define Atomicity, Consistency, Isolation, and Durability and explain how PostgreSQL ensures these properties for reliable data management. A red flag is an inability to explain any of the properties or their importance.
Git
1 questionYou've made several commits on a local branch and realize an earlier commit has a bug. How would you fix it and ensure the history is clean before pushing?
IntermediateWhat the interviewer is looking for: A strong answer will suggest using `git rebase -i` to reorder or squash commits, or `git commit --amend` for the most recent commit, demonstrating an understanding of history manipulation. A red flag is suggesting only reverting or making a new commit without cleaning history.
System Design
1 questionDescribe the CAP theorem. How does it relate to choosing between different database types like MongoDB and PostgreSQL?
AdvancedWhat the interviewer is looking for: The candidate should define Consistency, Availability, and Partition Tolerance, explaining that only two can be fully achieved simultaneously. They should then relate this to how NoSQL (like MongoDB) often prioritizes Availability/Partition Tolerance over strong Consistency, while relational DBs (like PostgreSQL) prioritize Consistency. A red flag is misunderstanding the trade-offs or mischaracterizing database types.
MongoDB
1 questionWhen would you choose MongoDB over a relational database like PostgreSQL for a new project?
IntermediateWhat the interviewer is looking for: A strong answer will highlight use cases like rapidly evolving schemas, large volumes of unstructured data, high write throughput, and horizontal scalability needs. A red flag is suggesting MongoDB is always better or not understanding its document-oriented nature.
Redis
1 questionWhat is Redis, and what are its common use cases in a backend application?
IntermediateWhat the interviewer is looking for: The candidate should identify Redis as an in-memory data structure store and list common uses such as caching, session management, real-time analytics, and message queues. A red flag is not understanding its in-memory nature or its speed benefits.
OAuth
1 questionExplain the difference between OAuth and JWT. How are they typically used together in authentication and authorization flows?
AdvancedWhat the interviewer is looking for: A strong answer will differentiate OAuth as an authorization framework from JWT as a token format, explaining how OAuth grants access and JWT carries identity/permissions. They should describe how JWTs are often issued by an OAuth provider. A red flag is confusing their roles or seeing them as mutually exclusive.
JWT
1 questionHow does JWT (JSON Web Token) work, and what are its advantages and disadvantages?
IntermediateWhat the interviewer is looking for: The candidate should explain the structure (header, payload, signature), how it's signed, and its stateless nature. Advantages include scalability and reduced database lookups, while disadvantages include token revocation challenges and potential for large tokens. A red flag is not understanding the signing process or the stateless benefit.
AWS
1 questionDescribe a scenario where you would use AWS Lambda. What are its benefits and drawbacks?
IntermediateWhat the interviewer is looking for: A strong answer will provide a serverless use case (e.g., image processing, API backend, scheduled tasks), highlighting benefits like cost-effectiveness, automatic scaling, and reduced operational overhead. Drawbacks like cold starts and execution limits should also be mentioned. A red flag is not understanding the serverless paradigm.
RabbitMQ
1 questionWhat is RabbitMQ, and why would you use a message queue in a microservices architecture?
IntermediateWhat the interviewer is looking for: The candidate should define RabbitMQ as a message broker and explain how message queues provide asynchronous communication, decoupling, load leveling, and resilience in distributed systems. A red flag is not understanding the benefits of asynchronous processing.
Docker
1 questionExplain the concept of containerization using Docker. What problem does it solve for developers?
BasicWhat the interviewer is looking for: A strong answer will describe containers as lightweight, portable, self-sufficient units, solving the 'it works on my machine' problem by packaging application and dependencies. Key benefits like consistency and isolation should be mentioned. A red flag is confusing containers with virtual machines.
Microservices
1 questionWhat are the characteristics of a microservices architecture? When might it be a better choice than a monolithic architecture?
IntermediateWhat the interviewer is looking for: The candidate should describe independent deployability, small focused services, decentralized data management, and resilience. They should identify scenarios like large, complex applications, diverse technology stacks, and teams requiring independent development. A red flag is not understanding the trade-offs involved.
CI/CD
1 questionWhat is CI/CD, and why is it crucial for modern software development?
BasicWhat the interviewer is looking for: A strong answer will define Continuous Integration (frequent merging, automated builds/tests) and Continuous Delivery/Deployment (automated release to environments). They should emphasize benefits like faster feedback, reduced risk, and quicker time to market. A red flag is not understanding the automation aspect.
Unit Testing
1 questionYou are writing a new feature. How would you approach writing unit tests for it?
IntermediateWhat the interviewer is looking for: The candidate should discuss testing individual functions/components in isolation, mocking dependencies, aiming for high coverage, and using clear test names. They should demonstrate an understanding of what constitutes a good unit test. A red flag is confusing unit tests with integration or end-to-end tests.
Problem-Solving
1 questionDescribe a time when you faced a difficult technical problem. How did you approach solving it, and what did you learn?
IntermediateWhat the interviewer is looking for: A strong answer will detail a specific problem, outline a systematic approach (e.g., breaking it down, research, experimentation, collaboration), and reflect on lessons learned. A red flag is an inability to describe a specific problem or a lack of structured problem-solving methodology.
Collaboration
1 questionImagine you are working on a team project, and a teammate consistently misses deadlines. How would you handle this situation?
IntermediateWhat the interviewer is looking for: The candidate should demonstrate empathy, a proactive approach, and focus on team success. They might suggest private conversation, offering help, escalating to a manager if necessary, and focusing on solutions rather than blame. A red flag is immediately escalating or ignoring the issue.
Behavioural & role-general
3 questionsHow do you stay updated with the latest technologies and best practices in backend development?
BasicWhat the interviewer is looking for: A strong answer will list specific methods like following blogs, attending webinars, reading documentation, contributing to open source, or personal projects. This shows initiative and a passion for learning. A red flag is a lack of specific examples or a passive approach to learning.
Why are you interested in a Backend Developer role, and what do you hope to achieve in your first year?
BasicWhat the interviewer is looking for: The candidate should articulate genuine interest in backend development (e.g., problem-solving, system design, data management) and set realistic, growth-oriented goals for their first year, demonstrating ambition and a learning mindset. A red flag is a generic answer or a lack of clear aspirations.
Describe a situation where you received constructive criticism. How did you respond, and what was the outcome?
IntermediateWhat the interviewer is looking for: A strong answer will show self-awareness, an openness to feedback, and a willingness to improve. The candidate should describe how they processed the criticism and took action, leading to a positive outcome. A red flag is defensiveness or an inability to recall such a situation.