HomeSubjectsUniversityBlogAbout

Backend Development Fundamentals

Topic in Web Development

210 total MCQsShowing 30 with explanations10 Easy10 Medium10 Hard

About This Topic

Backend development is the server-side part of a web application that handles business logic, data storage, authentication and responses to client requests. Questions often use Node.js and Express: defining routes, reading req.params, req.query and req.body, and how middleware functions chain with next(). Know how to structure an app with MVC, why input must be validated on the server, and how sessions differ from token-based authentication with JWTs. Expect items on environment variables, logging and centralised error handling, connecting to databases through an ORM, the N+1 query problem, background jobs with message queues, and dead letter queues for failed messages.

Below are 30 practice questions from a pool of 210 Backend Development Fundamentals MCQs, one of 17 topics in Web Development. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.

Practice Questions

Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.

Backend Development FundamentalsEasy

Q1. What is a server?

  1. A.A computer providing services to clients✓ Correct
  2. B.A type of relational database system
  3. C.A CSS framework for styling web layouts
  4. D.A web browser for viewing internet pages

Explanation

A server processes requests from clients and delivers data or services.

Report an error in this question

Backend Development FundamentalsEasy

Q2. What is Node.js?

  1. A.A JavaScript runtime on V8 for server-side code✓ Correct
  2. B.A CSS preprocessor for advanced styling
  3. C.A NoSQL document-oriented database system
  4. D.A frontend JavaScript UI framework library

Explanation

Node.js allows running JavaScript on the server side.

Report an error in this question

Backend Development FundamentalsEasy

Q3. What is an API endpoint?

  1. A.A CSS selector for targeting page elements
  2. B.A database connection string configuration
  3. C.The final termination point of an API
  4. D.A specific URL where an API receives requests✓ Correct

Explanation

An API endpoint is a specific URL path that accepts requests and returns responses.

Report an error in this question

Backend Development FundamentalsEasy

Q4. What is Express.js?

  1. A.A frontend library for building user interfaces
  2. B.A CSS framework for responsive page layouts
  3. C.A minimal web application framework for Node.js✓ Correct
  4. D.A NoSQL database for document-based storage

Explanation

Express.js is a lightweight, flexible Node.js web framework.

Report an error in this question

Backend Development FundamentalsEasy

Q5. What is a database?

  1. A.An organized collection of structured data✓ Correct
  2. B.A CSS file for styling web page elements
  3. C.A web server for hosting application files
  4. D.A programming language for writing scripts

Explanation

A database is an organized collection of data that can be accessed and managed.

Report an error in this question

Backend Development FundamentalsEasy

Q6. What does CRUD stand for?

  1. A.Create, Read, Update, Delete✓ Correct
  2. B.Compile, Run, Upload, Debug
  3. C.Connect, Retrieve, Upload, Download
  4. D.Cache, Route, Update, Deploy

Explanation

CRUD represents the four basic operations: Create, Read, Update, and Delete.

Report an error in this question

Backend Development FundamentalsEasy

Q7. What is middleware in backend development?

  1. A.Software between request and response for processing✓ Correct
  2. B.A CSS framework for building page component layouts
  3. C.A frontend component for rendering user interfaces
  4. D.A type of relational database engine system

Explanation

Middleware functions process requests between receiving and responding.

Report an error in this question

Backend Development FundamentalsEasy

Q8. What is JSON?

  1. A.A relational database management system tool
  2. B.JavaScript Object Notation for data interchange✓ Correct
  3. C.A CSS extension for advanced style features
  4. D.A server-side programming language runtime

Explanation

JSON is a text-based format for representing structured data.

Report an error in this question

Backend Development FundamentalsEasy

Q9. What is a route in backend development?

  1. A.A URL pattern mapped to a handler function✓ Correct
  2. B.A database query for fetching records
  3. C.A CSS path for selecting nested elements
  4. D.A physical network cable routing path

Explanation

A route defines a URL pattern and handler function for matching requests.

Report an error in this question

Backend Development FundamentalsEasy

Q10. What is the purpose of a package.json file?

  1. A.To store database records in JSON format
  2. B.To configure CSS preprocessor build steps
  3. C.To style web pages with CSS declarations
  4. D.To define project metadata and dependencies✓ Correct

Explanation

package.json contains project metadata, dependencies, and scripts.

Report an error in this question

Backend Development FundamentalsMedium

Q11. What is the difference between SQL and NoSQL databases?

  1. A.SQL is designed exclusively for web apps only
  2. B.They are identical in data model and usage
  3. C.NoSQL is always faster in every situation
  4. D.SQL uses tables with schemas; NoSQL uses flexible models✓ Correct

Explanation

SQL uses structured tables, while NoSQL offers flexible data models.

Report an error in this question

Backend Development FundamentalsMedium

Q12. What is RESTful routing?

  1. A.A CSS routing system for navigating style sheets
  2. B.Organizing endpoints around resources via HTTP methods✓ Correct
  3. C.A database query method for retrieving records
  4. D.Random URL patterns without any convention

Explanation

RESTful routing maps HTTP methods to CRUD operations on resources.

Report an error in this question

Backend Development FundamentalsMedium

Q13. What is authentication vs authorization?

  1. A.Authentication verifies identity; authorization controls access✓ Correct
  2. B.Authentication controls access; authorization verifies identity
  3. C.Neither is required for modern web application security
  4. D.They are the same process with different names

Explanation

Authentication confirms who a user is, while authorization determines what they can access.

Report an error in this question

Backend Development FundamentalsMedium

Q14. What is an ORM?

  1. A.A testing tool for automated browser tests
  2. B.Object-Relational Mapping for querying via objects✓ Correct
  3. C.A CSS framework for responsive page layouts
  4. D.A type of relational database engine

Explanation

An ORM maps database tables to classes and rows to objects.

Report an error in this question

Backend Development FundamentalsMedium

Q15. What is the purpose of environment variables?

  1. A.To store config values like API keys outside code✓ Correct
  2. B.To create and render HTML elements dynamically
  3. C.To style web pages with dynamic CSS rules
  4. D.To define CSS variables for theming support

Explanation

Environment variables store sensitive configuration outside source code.

Report an error in this question

Backend Development FundamentalsMedium

Q16. What is a session in web development?

  1. A.A server-side mechanism storing user data across requests✓ Correct
  2. B.A CSS class applied to styled HTML elements
  3. C.A database table for persisting application records
  4. D.A JavaScript function for handling user interactions

Explanation

A session stores user-specific data on the server between requests.

Report an error in this question

Backend Development FundamentalsMedium

Q17. What is rate limiting?

  1. A.Limiting the speed of CSS animations
  2. B.Limiting the page load speed for mobile users
  3. C.Restricting API requests a client can make per period✓ Correct
  4. D.Limiting the total size of a database instance

Explanation

Rate limiting prevents abuse by capping requests per time window.

Report an error in this question

Backend Development FundamentalsMedium

Q18. What is the MVC pattern?

  1. A.A JavaScript library for DOM manipulation tasks
  2. B.A type of database for NoSQL document storage
  3. C.A CSS framework for responsive styling layouts
  4. D.Model-View-Controller, separating data and logic✓ Correct

Explanation

MVC separates an application into Model, View, and Controller.

Report an error in this question

Backend Development FundamentalsMedium

Q19. What is a webhook?

  1. A.A CSS hook for attaching dynamic styles
  2. B.A database trigger running stored procedures
  3. C.A JavaScript hook for managing component state
  4. D.An HTTP callback sending data on events✓ Correct

Explanation

A webhook is a user-defined HTTP callback triggered by a specific event.

Report an error in this question

Backend Development FundamentalsMedium

Q20. What is the purpose of CORS middleware?

  1. A.To style HTTP responses with CSS formatting
  2. B.To handle CORS headers allowing cross-domain requests✓ Correct
  3. C.To log errors for debugging server-side issues
  4. D.To compress data for faster network transfer

Explanation

CORS middleware adds headers controlling which origins are allowed.

Report an error in this question

Backend Development FundamentalsHard

Q21. What is the difference between horizontal and vertical scaling?

  1. A.Horizontal scaling is always cheaper in every scenario
  2. B.Vertical adds power to existing servers; horizontal adds servers✓ Correct
  3. C.Vertical scaling is only applicable to database servers
  4. D.They are identical in their scaling approach

Explanation

Vertical scaling adds resources to one server, while horizontal scaling adds more servers.

Report an error in this question

Backend Development FundamentalsHard

Q22. What is a message queue in backend architecture?

  1. A.A CSS animation queue for scheduling transitions
  2. B.A database query queue for sequential execution
  3. C.An async mechanism storing messages for consumers✓ Correct
  4. D.A chat feature for sending user messages

Explanation

Message queues enable asynchronous processing by decoupling producers and consumers.

Report an error in this question

Backend Development FundamentalsHard

Q23. What is GraphQL and how does it differ from REST?

  1. A.A JavaScript charting tool for rendering bar graphs
  2. B.A graph database for storing relationship data
  3. C.A query language where clients specify exact data needed✓ Correct
  4. D.A CSS graph library for data visualization charts

Explanation

GraphQL lets clients request exactly the data they need in a single query.

Report an error in this question

Backend Development FundamentalsHard

Q24. What is the N+1 query problem?

  1. A.Fetching a list triggers one query plus N for related data✓ Correct
  2. B.A database naming convention for table schemas
  3. C.A CSS specificity issue with deeply nested selectors
  4. D.A JavaScript error caused by off-by-one indexing

Explanation

The N+1 problem makes one query for a list and N queries for related items.

Report an error in this question

Backend Development FundamentalsHard

Q25. What is a microservices architecture?

  1. A.A small lightweight embedded database system
  2. B.A small application with limited features overall
  3. C.Independent services communicating via defined APIs✓ Correct
  4. D.A CSS micro-framework for minimal page styling

Explanation

Microservices decompose an application into loosely coupled, independently deployable services.

Report an error in this question

Backend Development FundamentalsHard

Q26. What is database connection pooling?

  1. A.A database backup method for disaster recovery plans
  2. B.Maintaining reusable database connections to reduce overhead✓ Correct
  3. C.A swimming pool database for aquatic data
  4. D.A CSS pooling technique for shared style resources

Explanation

Connection pooling reuses established database connections to reduce overhead.

Report an error in this question

Backend Development FundamentalsHard

Q27. What is idempotency in API design?

  1. A.A security feature for encrypting API payloads
  2. B.A mathematical concept from pure number theory
  3. C.A caching mechanism for storing API responses locally
  4. D.Making the same request multiple times yields same result✓ Correct

Explanation

An idempotent operation produces the same result regardless of how many times it is called.

Report an error in this question

Backend Development FundamentalsHard

Q28. What is the CAP theorem?

  1. A.A capping limit on the number of API requests
  2. B.A CSS theorem about cascade priority order
  3. C.A JavaScript design pattern for state management
  4. D.A distributed system can guarantee only two of C, A, P✓ Correct

Explanation

The CAP theorem states you can only guarantee two of three properties in distributed systems.

Report an error in this question

Backend Development FundamentalsHard

Q29. What is event-driven architecture?

  1. A.A database event log for auditing record changes
  2. B.CSS event handling through pseudo-class selectors
  3. C.A React-specific pattern for component lifecycle
  4. D.A pattern where flow is determined by produced events✓ Correct

Explanation

Event-driven architecture uses events to trigger communication between decoupled services.

Report an error in this question

Backend Development FundamentalsHard

Q30. What is the purpose of a reverse proxy like Nginx?

  1. A.To reverse engineer API endpoints for testing
  2. B.To handle load balancing, SSL, caching, and routing✓ Correct
  3. C.To reverse the order of database query results
  4. D.To revert code changes to a previous version

Explanation

A reverse proxy like Nginx distributes traffic, handles SSL, and caches responses.

Report an error in this question

Ready to test yourself on Backend Development Fundamentals?

Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.

Start Backend Development Fundamentals Quiz