Question

    Which IoT communication protocol is lightweight and

    optimized for constrained devices?
    A HTTP Correct Answer Incorrect Answer
    B MQTT Correct Answer Incorrect Answer
    C FTP Correct Answer Incorrect Answer
    D SOAP Correct Answer Incorrect Answer
    E SMTP Correct Answer Incorrect Answer

    Solution

    MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol designed for IoT. It works on a publish-subscribe model, minimizing network bandwidth usage. MQTT is ideal for resource-constrained devices due to its minimal overhead and efficient communication over unreliable networks. Example: An IoT device like a smart thermostat publishes temperature data to an MQTT broker, which then forwards it to subscribed clients. ________________________________________ Why Other Options Are Incorrect: 1. HTTP: HTTP is heavier and not optimized for low-power IoT devices. 2. FTP: FTP is used for file transfer, unsuitable for real-time IoT communication. 3. SOAP: SOAP is a verbose protocol primarily used in web services, unsuitable for constrained environments. 4. SMTP: SMTP is for email transfer and lacks IoT-specific optimizations.

    Practice Next