logo

Question detail

Which statement best describes a WebSocket connection?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

The Transmission Control Protocol/Internet Protocol (TCP/IP)

Exam-style question

Try this first

Which statement best describes a WebSocket connection?.

  1. A.It is a persistent, full-duplex connection over TCP
  2. B.It permits data to travel only from the server to the client
  3. C.It is used only to store data in a database
  4. D.It replaces HTML files in a web application

Model answer

What a good answer should say

  • It is a persistent, full-duplex connection over TCP

Explanation

Why this works

The WebSocket specification establishes a persistent connection between a web browser and a server over TCP. Full-duplex communication allows both sides to send data at any time.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.