Worksheetsmqtt
Total questions: 20
Worksheet time: 19mins
Is MQTT a Standard?
Yes
No
Standard port number for secure MQTT is:
1883
8000
8883
8888
Each IP packet must contain:
Only Destination IP Address
Only Source IP Address
None of Above
Source and destination IP Addresses
MQTT is:
Based on client-server architecture
Based on publish-subscribe architecture
Based on both of the above
Based on none of the above
What is WPA?
wi-fi protected access
wired process acces
wired protected access
wi-fi process access
Which of the following is true?
IoT is a subset of M2M
M2M is a subset of IoT
IoT is a subset of CPS
CPS is a subset of Web of Things(WoT)
What is the main purpose of MQTT?
Real-time communication
Data storage
Video streaming
Audio recording
Where can you find MQTT protocol being used?
Smartphones
Smartwatches
Smart homes
Smart TVs
What is the role of a Publisher in MQTT?
Sending messages to the Broker
Receiving messages from the Broker
Storing messages in a database
Deleting messages from the Broker
What does MQTT use to send a new message to all subscribers of a topic?
Broker
Speech
What is a Broker in MQTT?
A person who deals with messages
A subscribers to a topic
A Publisher to a topic
What is MQTT?
A messaging protocol
A type of bird
A cooking recipe
A dance move
What concept does MQTT use for messaging?
Topics
Phrases
Hashtags
Keywords
Which security type is used for the Wi-Fi network?
WPA2-Personal
WEP
WPA-Mixed
Open
What is the port number used for TCP communication in the Wi-Fi configuration?
1883
443
8080
1234
What IP address is used for the MQTT server?
192.168.1.1
io.adafruit.com
mqtt.example.com
127.0.0.1
What port is used for MQTT communication?
1883
8080
443
80
Which function is responsible for initializing the MQTT client?
mqtt_init()
mqtt_publish()
WIFI_Init()
WIFI_MQTTClientInit()
What happens if the MQTT publish operation fails?
The message is queued for retry
The system prints an error message
The program enters an error handler
The message is logged for debugging
What credentials are used for MQTT authentication?
API key only
User name and password
No authentication
Token-based authentication
