While building a smart home dashboard, which web publishing method ensures…
2023
While building a smart home dashboard, which web publishing method ensures secure, real-time updates from IoT devices like thermostats or cameras ?
- A.
FTP server upload
- B.
Static HTML pages
- C.
WebSocket communication
- D.
HTTP polling every minute
Attempted by 56 students.
Show answer & explanation
Correct answer: C
The correct option is C. WebSocket communication provides a secure, persistent, full-duplex TCP connection. This allows continuous, bi-directional, real-time data streaming between IoT devices and a dashboard without the high overhead or lag associated with repeated HTTP requests.