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 ?

  1. A.

    FTP server upload

  2. B.

    Static HTML pages

  3. C.

    WebSocket communication

  4. 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.

Explore the full course: Btsc Lab Assistant