0
0
IOT Protocolsdevops~20 mins

HTTP vs MQTT trade-offs in IOT Protocols - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
MQTT & HTTP Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Primary difference in communication style between HTTP and MQTT
Which statement best describes the main communication style difference between HTTP and MQTT?
AHTTP uses a request-response model, while MQTT uses a publish-subscribe model.
BHTTP uses a publish-subscribe model, while MQTT uses a request-response model.
CBoth HTTP and MQTT use a request-response model.
DBoth HTTP and MQTT use a publish-subscribe model.
Attempts:
2 left
💡 Hint
Think about how clients interact with servers in each protocol.
🧠 Conceptual
intermediate
2:00remaining
Energy efficiency trade-off between HTTP and MQTT
Why is MQTT generally more energy efficient than HTTP for IoT devices?
AMQTT uses larger packets which reduce the number of transmissions.
BHTTP keeps connections open longer than MQTT, saving energy.
CMQTT keeps connections open and sends small packets, reducing overhead.
DHTTP uses smaller packets than MQTT, making it more energy efficient.
Attempts:
2 left
💡 Hint
Consider connection persistence and packet size.
Best Practice
advanced
2:00remaining
Choosing protocol for real-time sensor data streaming
For a system that requires real-time sensor data streaming with minimal latency and reliable delivery, which protocol is best suited?
AMQTT, because it supports persistent connections and QoS levels.
BMQTT, because it uses UDP for faster transmission.
CHTTP, because it uses TCP which guarantees delivery.
DHTTP, because it is stateless and simple.
Attempts:
2 left
💡 Hint
Think about latency and message delivery guarantees.
Troubleshoot
advanced
2:00remaining
Troubleshooting MQTT connection issues
An IoT device using MQTT cannot maintain a connection to the broker. Which is the most likely cause?
AThe device is using MQTT over TLS on port 80.
BThe device is using HTTP instead of MQTT.
CThe device is publishing messages without subscribing.
DThe device is behind a firewall blocking MQTT port 1883.
Attempts:
2 left
💡 Hint
Consider network restrictions and default ports.
🔀 Workflow
expert
3:00remaining
Optimizing IoT device communication for low bandwidth
You need to optimize communication for IoT devices with very low bandwidth and intermittent connectivity. Which workflow best achieves this using MQTT?
A2,1,3,4
B1,2,3,4
C1,3,2,4
D1,3,4,2
Attempts:
2 left
💡 Hint
Consider the order of subscribing before publishing and power saving.