Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Web Architecture & ProtocolsEasy
Q1. What does HTTP stand for?
- A.Hyper Text Transport Protocol
- B.High Tech Transfer Protocol
- C.Hyper Text Transfer Protocol✓ Correct
- D.Home Transfer Text Protocol
Explanation
HTTP stands for Hyper Text Transfer Protocol.
Report an error in this question
Web Architecture & ProtocolsEasy
Q2. What is a client in web architecture?
- A.The web server that hosts content
- B.The database that stores records
- C.The network cable carrying signals
- D.The device or browser making requests✓ Correct
Explanation
A client (typically a browser) sends requests to a server and displays the response.
Report an error in this question
Web Architecture & ProtocolsEasy
Q3. What is the default port for HTTP?
- A.Port 443
- B.Port 21
- C.Port 8080
- D.Port 80✓ Correct
Explanation
Port 80 is the default port for HTTP communication.
Report an error in this question
Web Architecture & ProtocolsEasy
Q4. What does DNS stand for?
- A.Dynamic Network Server
- B.Data Network Service
- C.Digital Naming Standard
- D.Domain Name System✓ Correct
Explanation
DNS translates human-readable domain names into IP addresses.
Report an error in this question
Web Architecture & ProtocolsEasy
Q5. Which HTTP method is used to retrieve data from a server?
- A.POST
- B.DELETE
- C.PUT
- D.GET✓ Correct
Explanation
The GET method requests data from a resource without modifying it.
Report an error in this question
Web Architecture & ProtocolsEasy
Q6. What is an IP address?
- A.A human-readable domain website name
- B.A server-side scripting language for web
- C.A software application like a web browser
- D.A numerical label assigned to each device✓ Correct
Explanation
An IP address is a unique numerical label assigned to each device on a network.
Report an error in this question
Web Architecture & ProtocolsEasy
Q7. What does the status code 200 mean in HTTP?
- A.OK (Success)✓ Correct
- B.Not Found Error
- C.Redirect Response
- D.Internal Server Error
Explanation
HTTP 200 means the request was successful.
Report an error in this question
Web Architecture & ProtocolsEasy
Q8. What is the role of a web server in the client-server model?
- A.To store only the user password data
- B.To forward requests to other clients
- C.To process requests and send responses✓ Correct
- D.To display web pages to the end user
Explanation
A web server processes client requests and sends back appropriate responses.
Report an error in this question
Web Architecture & ProtocolsEasy
Q9. Which protocol is used for sending emails?
- A.SMTP✓ Correct
- B.DNS
- C.HTTP
- D.FTP
Explanation
SMTP is the standard protocol for sending emails.
Report an error in this question
Web Architecture & ProtocolsEasy
Q10. What is a web API?
- A.An interface for applications to communicate✓ Correct
- B.A CSS framework for responsive design
- C.A relational database management system
- D.An HTML element used for page layout
Explanation
A web API allows different software applications to communicate over the web.
Report an error in this question
Web Architecture & ProtocolsMedium
Q11. What is the difference between HTTP and HTTPS?
- A.HTTPS delivers content more quickly
- B.HTTPS encrypts data using TLS/SSL✓ Correct
- C.HTTP provides stronger security features
- D.There is no practical difference at all
Explanation
HTTPS adds a layer of security by encrypting data in transit using TLS/SSL.
Report an error in this question
Web Architecture & ProtocolsMedium
Q12. Which HTTP status code indicates a resource was not found?
- A.200
- B.500
- C.404✓ Correct
- D.301
Explanation
HTTP 404 means the server could not find the requested resource.
Report an error in this question
Web Architecture & ProtocolsMedium
Q13. What is a RESTful API?
- A.An API built solely with the React library
- B.An API that always requires authentication
- C.An API that exclusively uses GET requests
- D.An API that follows REST design constraints✓ Correct
Explanation
A RESTful API follows REST principles: stateless, client-server, uniform interface.
Report an error in this question
Web Architecture & ProtocolsMedium
Q14. What is the purpose of the HTTP POST method?
- A.To retrieve existing data from a resource
- B.To submit data for processing by the server✓ Correct
- C.To delete a specific resource from storage
- D.To update only the HTTP request headers
Explanation
POST submits data to the server for processing.
Report an error in this question
Web Architecture & ProtocolsMedium
Q15. What is a proxy server?
- A.A specialized type of relational database
- B.A redundant backup server for data recovery
- C.An intermediary server between client and target✓ Correct
- D.A domain name resolution DNS server system
Explanation
A proxy server acts as an intermediary, forwarding requests from clients to servers.
Report an error in this question
Web Architecture & ProtocolsMedium
Q16. What is latency in web architecture?
- A.The total download size of a given web page
- B.The processing speed of the server CPU
- C.The number of concurrent users currently online
- D.The delay between a request and a response✓ Correct
Explanation
Latency is the time delay between sending a request and receiving the first byte of the response.
Report an error in this question
Web Architecture & ProtocolsMedium
Q17. Which HTTP header specifies the content type of a response?
- A.Cache-Control
- B.Content-Type✓ Correct
- C.Accept-Type
- D.Authorization
Explanation
The Content-Type header tells the client what media type the response body contains.
Report an error in this question
Web Architecture & ProtocolsMedium
Q18. What does a CDN do?
- A.Manages relational database connections
- B.Compiles source code into machine language
- C.Distributes content across global servers✓ Correct
- D.Designs web page layouts automatically
Explanation
A CDN caches and serves content from servers closer to the user.
Report an error in this question
Web Architecture & ProtocolsMedium
Q19. What is WebSocket used for?
- A.Managing relational database schemas and queries
- B.Full-duplex real-time client-server communication✓ Correct
- C.Applying visual styles to web page elements
- D.Compressing files to reduce transfer size
Explanation
WebSocket provides a persistent, full-duplex communication channel for real-time data exchange.
Report an error in this question
Web Architecture & ProtocolsMedium
Q20. What is the purpose of the HTTP PUT method?
- A.To update or replace a resource at a URL✓ Correct
- B.To delete an existing resource completely
- C.To retrieve existing data from a resource
- D.To establish a new connection to a server
Explanation
PUT replaces the entire resource at the given URL with the request payload.
Report an error in this question
Web Architecture & ProtocolsHard
Q21. What is the difference between HTTP/1.1 and HTTP/2?
- A.HTTP/2 does not support any form of HTTPS encryption
- B.HTTP/1.1 is significantly faster in performance than HTTP/2
- C.HTTP/2 supports multiplexing requests over one connection✓ Correct
- D.HTTP/2 is text-based while HTTP/1.1 uses binary framing
Explanation
HTTP/2 introduces binary framing, multiplexing, header compression, and server push.
Report an error in this question
Web Architecture & ProtocolsHard
Q22. What is CORS in web architecture?
- A.Cross-Origin Resource Sharing, allowing cross-domain requests✓ Correct
- B.A NoSQL document-oriented database for storing data
- C.A lightweight JavaScript library for DOM manipulation
- D.A popular CSS utility-first framework for styling apps
Explanation
CORS allows servers to specify which origins can access their resources.
Report an error in this question
Web Architecture & ProtocolsHard
Q23. What is the purpose of the OPTIONS HTTP method?
- A.To retrieve existing data from a server resource
- B.To update existing data on the specified server
- C.To permanently delete a resource from the server
- D.To describe the communication options for a resource✓ Correct
Explanation
OPTIONS is used in preflight requests to determine supported HTTP methods and headers.
Report an error in this question
Web Architecture & ProtocolsHard
Q24. What does the HTTP status code 304 indicate?
- A.Bad request due to client error
- B.Not modified, use the cached version✓ Correct
- C.A permanent redirect to another URL
- D.Internal server processing error
Explanation
304 tells the client the resource has not changed, so the cached version can be used.
Report an error in this question
Web Architecture & ProtocolsHard
Q25. What is HTTP/3 based on?
- A.FTP protocol
- B.TCP protocol
- C.WebSocket API
- D.UDP via QUIC✓ Correct
Explanation
HTTP/3 uses QUIC, a transport protocol built on UDP.
Report an error in this question
Web Architecture & ProtocolsHard
Q26. What is the Same-Origin Policy?
- A.A security measure restricting cross-origin script access✓ Correct
- B.A policy requiring all files on a single web server
- C.A CSS naming convention for component-scoped styling
- D.A database access rule governing read-write permissions
Explanation
The Same-Origin Policy restricts web pages from making requests to a different domain, protocol, or port.
Report an error in this question
Web Architecture & ProtocolsHard
Q27. What is a reverse proxy?
- A.A client-side mechanism for caching web assets
- B.A type of VPN for securing remote connections
- C.A proxy system that blocks all incoming traffic
- D.A server that forwards client requests to backends✓ Correct
Explanation
A reverse proxy forwards client requests to backend servers while providing load balancing and caching.
Report an error in this question
Web Architecture & ProtocolsHard
Q28. What is content negotiation in HTTP?
- A.Negotiating the pricing for a website project
- B.The process of agreeing on the response format✓ Correct
- C.A handshake protocol for secure connections
- D.A type of compression for reducing file sizes
Explanation
Content negotiation uses headers like Accept to agree on the format of the response.
Report an error in this question
Web Architecture & ProtocolsHard
Q29. What is the purpose of an ETag header?
- A.To specify the content encoding type
- B.To set and manage session cookies
- C.To encrypt transmitted data in transit
- D.To provide a version identifier for cache✓ Correct
Explanation
An ETag is a unique identifier for a resource version, enabling efficient cache validation.
Report an error in this question
Web Architecture & ProtocolsHard
Q30. What is the difference between stateful and stateless protocols?
- A.Stateful protocols are always significantly faster
- B.Stateless protocols store all data on the server
- C.Stateless protocols do not retain session information✓ Correct
- D.Stateful protocols are unable to use any cookies
Explanation
In a stateless protocol like HTTP, each request is independent.
Report an error in this question