Free Backend Developer Interview Prep

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 question
  1. Explain the difference between a list and a tuple in Python. When would you choose one over the other?

    Basic

    What 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 question
  1. Describe the concept of 'concurrency' in Java. How can you achieve it, and what are some common challenges?

    Intermediate

    What 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 question
  1. What is the event loop in Node.js, and how does it enable non-blocking I/O?

    Intermediate

    What 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 question
  1. Differentiate between `JOIN` and `LEFT JOIN` in SQL. Provide a scenario where each would be appropriate.

    Basic

    What 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 question
  1. What are the key principles of RESTful API design? Give an example of a well-designed REST endpoint.

    Intermediate

    What 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 question
  1. Explain the concept of ACID properties in the context of PostgreSQL transactions.

    Intermediate

    What 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 question
  1. You'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?

    Intermediate

    What 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 question
  1. Describe the CAP theorem. How does it relate to choosing between different database types like MongoDB and PostgreSQL?

    Advanced

    What 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 question
  1. When would you choose MongoDB over a relational database like PostgreSQL for a new project?

    Intermediate

    What 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 question
  1. What is Redis, and what are its common use cases in a backend application?

    Intermediate

    What 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 question
  1. Explain the difference between OAuth and JWT. How are they typically used together in authentication and authorization flows?

    Advanced

    What 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 question
  1. How does JWT (JSON Web Token) work, and what are its advantages and disadvantages?

    Intermediate

    What 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 question
  1. Describe a scenario where you would use AWS Lambda. What are its benefits and drawbacks?

    Intermediate

    What 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 question
  1. What is RabbitMQ, and why would you use a message queue in a microservices architecture?

    Intermediate

    What 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 question
  1. Explain the concept of containerization using Docker. What problem does it solve for developers?

    Basic

    What 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 question
  1. What are the characteristics of a microservices architecture? When might it be a better choice than a monolithic architecture?

    Intermediate

    What 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 question
  1. What is CI/CD, and why is it crucial for modern software development?

    Basic

    What 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 question
  1. You are writing a new feature. How would you approach writing unit tests for it?

    Intermediate

    What 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 question
  1. Describe a time when you faced a difficult technical problem. How did you approach solving it, and what did you learn?

    Intermediate

    What 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 question
  1. Imagine you are working on a team project, and a teammate consistently misses deadlines. How would you handle this situation?

    Intermediate

    What 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 questions
  1. How do you stay updated with the latest technologies and best practices in backend development?

    Basic

    What 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.

  2. Why are you interested in a Backend Developer role, and what do you hope to achieve in your first year?

    Basic

    What 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.

  3. Describe a situation where you received constructive criticism. How did you respond, and what was the outcome?

    Intermediate

    What 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.

Before the interview, close the skill gaps first

Upload your resume and see your Backend Developer Skill Score, the exact skills you're missing, and a free learning path for each one — so you walk in prepared.