Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 48

Which statement is true about the relationship between HTTP and WebSockets?

    Correct Answer: B

    A WebSocket connection is initialized with an HTTP handshake. This is because WebSockets use an HTTP request (via an Upgrade header) to transition from an HTTP to a WebSocket connection, but after this handshake, the connection is no longer an HTTP connection and instead follows the WebSocket protocol. This allows for full-duplex communication, which is different from the request-response model of HTTP.

Discussion
zee2021Option: B

B is correct !

devmsalehOption: B

B is the correct answer

orjavaOption: B

Answer B. Traditional HTTP communication model assumes that each call is always originated by the client. Once a WebSocket connection is establish by HTTP handshake does not use HTTP after that.

zee2021Option: B

D is wrong awnser