300-915 · Question #41
What is a major difference of MQTT in terms of design compared to AMQP?
The correct answer is B. MQTT has very low overhead.. MQTT was purpose-built for constrained devices and unreliable networks (think IoT sensors), so its defining design characteristic is minimal overhead - the fixed header is just 2 bytes, making it extremely lightweight. Option A is wrong because MQTT actually uses less bandwidth t
Question
What is a major difference of MQTT in terms of design compared to AMQP?
Options
- AMQTT requires more bandwidth.
- BMQTT has very low overhead.
- CMQTT has more advanced routing features for messages.
- DMQTT provides routing based on headers.
How the community answered
(37 responses)- A3% (1)
- B89% (33)
- C5% (2)
- D3% (1)
Explanation
MQTT was purpose-built for constrained devices and unreliable networks (think IoT sensors), so its defining design characteristic is minimal overhead - the fixed header is just 2 bytes, making it extremely lightweight. Option A is wrong because MQTT actually uses less bandwidth than AMQP, not more. Option C is wrong because it's AMQP that offers advanced routing through exchanges and binding rules, while MQTT uses a simple publish/subscribe topic model. Option D is wrong because header-based routing is an AMQP feature (via message headers and exchange types), not MQTT's.
Memory tip: Think "MQTT = Minimal" - it was designed for the M in IoT (minimal power, minimal bandwidth, minimal protocol overhead). AMQP is the "enterprise" protocol with routing power; MQTT is the "embedded" protocol built for efficiency.
Topics
Community Discussion
No community discussion yet for this question.