exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 237 discussion

Exam question from Amazon's ANS-C00
Question #: 237
Topic #: 1
[All ANS-C00 Questions]

From the following options, select the answer that correctly describes the implementation of the HTTP protocol

  • A. By definition, HTTP is a connection-less oriented protocol and therefore utilises TCP
  • B. By definition, HTTP is a connection orientated protocol and therefore utilises TCP
  • C. By definition, HTTP is a connection-less oriented protocol and therefore utilises UDP
  • D. By definition, HTTP can be configured to be either connection or connection-less oriented ג€" by specifying the appropriate HTTP header.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
HTTP is a connection orientated protocol and therefore utilizes TCP
Reference:
https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
eeghai7thioyaiR4
Highly Voted 3 years, 8 months ago
Ans: B HTTP uses TCP, for version HTTP/0.9 to HTTP/2 Note that this is getting false over the time, as HTTP3 is based on UDP (QUIC) However, this is not based on the header, so this question is simply a bit outdated and the answer is still B
upvoted 9 times
...
dotchi
Most Recent 3 years, 1 month ago
D Theoretically, HTTP could use an alternative transport layer protocol to TCP, like UDP, but HTTP almost always uses TCP, which is connection-based and more reliable than UDP. It is favored by applications where the data must be reliable, relevant, and complete, for example a news story. UDP is a connectionless protocol and cannot retransmit lost data packets. However, UDP is faster than TCP and is often used in applications like video conferencing and streaming where small transfer hiccups are barely noticeable. However, the most recent draft version of HTTP, HTTP/3, addresses some of the issues in TCP and UDP, combining features from two protocols: HTTP/2 and QUIC over UDP. HTTP/3 is also called HTTP-over-QUIC.
upvoted 1 times
...
andyle
3 years, 2 months ago
Ans: B UDP is connection-less
upvoted 1 times
...
Huy
3 years, 7 months ago
My choice is D. The term "connection" depends on the context. The fact that one layer is connection-oriented doesn't force any other layer to be connection-oriented. In HTTP/0.9 and 1.0, the connection is closed after a single request/response pair. In HTTP/1.1 a keep-alive-mechanism was introduced, where a connection could be reused for more than one request.
upvoted 1 times
...
ChauPhan
3 years, 7 months ago
B. By definition, HTTP is a connection orientated protocol and therefore utilises TCP
upvoted 4 times
...
JamesTR
3 years, 8 months ago
According to the referenced Wikipedia article, it should be D
upvoted 1 times
...
doubeguy
3 years, 8 months ago
D?? In HTTP/0.9 and 1.0, the connection is closed after a single request/response pair. In HTTP/1.1 a keep-alive-mechanism was introduced, where a connection could be reused for more than one request. Such persistent connections reduce request latency perceptibly because the client does not need to re-negotiate the TCP 3-Way-Handshake connection after the first request has been sent. Another positive side effect is that, in general, the connection becomes faster with time due to TCP's slow-start-mechanism.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...