Back to Web Development
10 Questions Total

Server-Side Programming MCQs

Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1easy
What is an Environment Variable primarily used for in backend deployment?
Q2medium
Why is Request Validation (e.g., checking if email is actually an email format) performed on the server even if it is also performed on the browser?
Q3easy
What is the difference between Authentication and Authorization middleware?
Q4medium
A server application needs to run a very long calculation (e.g., video processing) that takes 10 minutes. If the server is synchronous and single-threaded (like basic Node.js setups if not handled carefully), what will happen during these 10 minutes?
Q5medium
A developer is writing a backend controller. Which method correctly follows the RESTful principle for creating a new user?
Q6easy
What is the primary difference between a "Micro-framework" (e.g., Flask, Express) and a "Full-Stack Framework" (e.g., Django, Spring Boot)?
Q7medium
A server-side application experiences high memory consumption. Every time a request comes in, the server opens a new connection to the database. What is the most likely solution?
Q8easy
What is a Templating Engine (e.g., Jinja2, EJS) doing when it processes an HTML file? api_controller.js

// Which route is REST compliant?
app.post('/api/create-new-user-now', ...);
app.post('/api/users', ...);
Q9easy
What is a Graceful Shutdown in a backend server?
Q10medium
Why is an ORM (Object-Relational Mapping) layer generally used in server-side development?