HTTP Protocol: Understanding the Basics | Cisco Exam 400-251

HTTP Protocol

Prev Question Next Question

Question

Which statement about the HTTP protocol is true?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

C.

The HTTP (Hypertext Transfer Protocol) is an application protocol for distributed, collaborative, and hypermedia information systems, such as the World Wide Web. It is designed to enable communication between clients and servers.

Let's go through each option:

A. The request method does not include the protocol version. This statement is not true. The HTTP request message includes the protocol version in the request line, for example, "GET /index.html HTTP/1.1".

B. The proxy acts as an intermediary receiving agent in the request-response chain. This statement is true. A proxy server can act as an intermediary agent between a client and a server. When a client sends an HTTP request to the server via a proxy server, the proxy server receives the request, forwards it to the server, receives the server's response, and forwards it back to the client.

C. The tunnel acts as an intermediary relay agent in the request-response chain. This statement is not true. A tunnel is a virtual private network ( VPN) connection that can be created using HTTP. It does not act as an intermediary relay agent in the request-response chain.

D. The gateway acts as an intermediary forwarding agent in the request-response chain. This statement is true. A gateway is a server that acts as an intermediary agent between a client and a server for different protocols. It can translate protocols and forward requests and responses between the two parties.

E. The success and error codes are returned in the response message by the user-agent. This statement is not true. The success and error codes are returned in the response message by the server, not the user-agent.

Therefore, the correct answers are B and D.