WebSocket Fundamentals Quiz Form
Test your knowledge of WebSocket fundamentals with this 10-question quiz. All questions are required. Good luck!
Which protocol does WebSocket use to establish an initial connection?
*
HTTP
FTP
SMTP
SSH
Select all valid use cases for WebSocket technology.
*
Real-time chat applications
Live sports score updates
Email delivery
Stock market tickers
File storage
What is the default port number for unencrypted WebSocket connections?
*
80
443
8080
21
Briefly explain what happens during the WebSocket handshake.
*
Which JavaScript method is used to send data through an established WebSocket connection?
*
send()
post()
emit()
write()
Which of the following best describes the communication model of WebSocket?
*
Full-duplex, bidirectional
Half-duplex, unidirectional
Simplex
Broadcast only
Which header is required in the initial WebSocket handshake request?
*
Upgrade: websocket
Accept-Encoding
Content-Type
Authorization
List one security concern when using WebSockets.
*
Which of the following is true about message framing in WebSocket?
*
Messages are split into frames for transmission
Messages are always sent as a single packet
Framing is handled only by the client
WebSocket does not use frames
Rate your familiarity with the WebSocket API (1 = Not familiar, 5 = Very familiar).
*
1
2
3
4
5
Submit Quiz
Should be Empty: