Recall & Review
beginner
What is a 'Topic' in IoT messaging protocols like MQTT?
A 'Topic' is a string that acts like an address or channel where devices publish or subscribe to messages. It helps organize communication between devices.
Click to reveal answer
beginner
Why use hierarchical topic design in IoT?
Hierarchical topics use levels separated by slashes (e.g., home/livingroom/temperature) to organize data clearly. This makes it easy to filter and manage messages.
Click to reveal answer
intermediate
What is a wildcard in IoT topic subscriptions?
Wildcards are special symbols (+ or #) used in topic subscriptions to match multiple topics. '+' matches one level, '#' matches all remaining levels.
Click to reveal answer
intermediate
Explain the 'Device-centric' topic design pattern.
In device-centric design, topics start with the device ID, like device123/sensors/temperature. This groups all data from one device together.
Click to reveal answer
intermediate
What is the benefit of 'Function-centric' topic design?
Function-centric design groups topics by data type or function, like sensors/temperature/device123. It helps when you want to process all temperature data together.
Click to reveal answer
Which symbol in MQTT topics matches exactly one level in a subscription?
✗ Incorrect
The '+' wildcard matches exactly one level in a topic hierarchy. '#' matches all remaining levels.
In a hierarchical topic like 'home/kitchen/temperature', what does each part represent?
✗ Incorrect
Each part represents a level in the hierarchy, usually from general to specific, like building area to sensor type.
What is a key advantage of device-centric topic design?
✗ Incorrect
Device-centric design organizes topics by device ID, making it easy to find all messages from one device.
Which wildcard matches all remaining topic levels in MQTT?
✗ Incorrect
The '#' wildcard matches all remaining levels in a topic hierarchy.
Function-centric topic design is best when you want to:
✗ Incorrect
Function-centric design groups topics by data type or function, helping process similar data together.
Describe the difference between device-centric and function-centric topic design patterns in IoT.
Think about whether topics start with device names or data types.
You got /4 concepts.
Explain how wildcards work in MQTT topic subscriptions and why they are useful.
Consider how to subscribe to multiple topics with one pattern.
You got /4 concepts.