Back to Web Development
15 Questions Total

Web Architecture & Protocols 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
Q1medium
(Code/Console Logic) Examine the raw HTTP response header below. What can you conclude about the content the browser is about to receive?
Q2easy
Compare the PUT and PATCH methods. When should a developer prefer PATCH?
Q3easy
Why is HTTP referred to as a Stateless Protocol? ◦ ◦ ◦ ◦
Q4easy
What is a DNS CNAME Record used for?
Q5hard
A network has a Round Trip Time (RTT) of 100ms. A browser needs to establish a standard TCP Connection (3-way handshake) before sending an HTTP request. Ignoring processing time, what is the minimum delay before the first byte of data is sent by the client?
Q6medium
(Calculation/Comparison) A web page loads 10 small icons. In HTTP/1.1, the browser opens 6 parallel TCP connections. In HTTP/2, it uses 1 connection. Why is HTTP/2 typically faster in this scenario?
Q7easy
What is the purpose of the Host header in an HTTP/1.1 request?
Q8medium
A user attempts to access a restricted admin dashboard. They have logged in correctly, but they are a "Standard User," not an "Admin." The server refuses to show the page. Which status code is most appropriate?
Q9medium
An e-commerce site moves its "Account" page from /old-profile to /new-profile permanently. Which HTTP status code should the server return to tell search engines to update their index to the new URL?
Q10medium
(Code/Console Logic) Which of the following is a key characteristic of the WebSocket protocol as shown in this connection initialization?