Test you knowledge and understanding of MQTT with these short quizzes.
MQTT Basics
Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
A test of MQTT Basics
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Make a Contribution
if you find this useful and would like to make a contribution using paypal, then you can do so by clicking here.
or you can buy me a coffee using the button below
Newsletter
Receive content update notifications and new demo scripts by signing up for the newsletter.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
In a Publish/Subscribe model how does the publisher know who is subscribing.
Correct
Incorrect
-
Question 2 of 10
2. Question
MQTT uses
Correct
Incorrect
-
Question 3 of 10
3. Question
MQTT-SN uses
Correct
Incorrect
-
Question 4 of 10
4. Question
Each client that connects to a broker must have a unique client id?
Correct
Incorrect
-
Question 5 of 10
5. Question
When connecting to an MQTT broker you always need a username and password?
Correct
Incorrect
-
Question 6 of 10
6. Question
An MQTT broker can use any port, but by default it uses port 1883?
Correct
Incorrect
-
Question 7 of 10
7. Question
MQTT transmits data to and from a broker in which format.
Correct
Incorrect
-
Question 8 of 10
8. Question
Messages sent to an MQTT broker are encrypted by default?
Correct
Incorrect
-
Question 9 of 10
9. Question
You can subscribe to multiple topics at once using wild cards?
Correct
Incorrect
-
Question 10 of 10
10. Question
You must always start your topic hierachy with a / e.g. /topic name?
Correct
Incorrect
MQTT Basics -Retained Messages,Clean Sessions and Last Will
Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
This quiz Tests your Knowledge of Retained messages,last will messages and clean sessions.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Make a Contribution
if you find this useful and would like to make a contribution using paypal, then you can do so by clicking here.
or you can buy me a coffee using the button below
Newsletter
Receive content update notifications and new demo scripts by signing up for the newsletter.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
The Last Will Message is used to:
Correct
Incorrect
-
Question 2 of 10
2. Question
To Receive a last will message.
Correct
Incorrect
-
Question 3 of 10
3. Question
The Last will message is sent from?
Correct
Incorrect
-
Question 4 of 10
4. Question
When you publish a message to a topic with the retained flag set what happens to the message?
Correct
Incorrect
-
Question 5 of 10
5. Question
To receive a retained message?
Correct
Incorrect
-
Question 6 of 10
6. Question
To delete a retained message from a broker you must?
Correct
Incorrect
-
Question 7 of 10
7. Question
When you connect to a broker with clean session flag set to true what Happens?
Correct
Incorrect
-
Question 8 of 10
8. Question
You connect to a broker with the clean session flag set to false and subscribe to the topic house/sensor1.
You then disconnect and after about 10 minutes you reconnect with the same client. Do you need to Subscribe to the topic house/sensor1 again?Correct
Incorrect
-
Question 9 of 10
9. Question
You connect to a broker with the clean session flag set to false, and subscribe to the topic house/sensor1 with QOS 1.You then disconnect, and after about 10 minutes you reconnect with the same client. If another client publishes messages on house/sensor1 with QOS 1 while you are disconnected. What happens when you reconnect?
Correct
Incorrect
-
Question 10 of 10
10. Question
You connect to a broker with the clean session flag set to false, and subscribe to the topic house/sensor1 with QOS 0.You then disconnect, and after about 10 minutes you reconnect with the same client. If another client publishes messages on house/sensor1 with QOS 1 while you are disconnected. What happens when you reconnect?
Correct
Incorrect
Learning Resources
I have a book on Kindle where you can find all of the information from the site in one place, and some people prefer a book that they can read offline. I do not recommend that you buy the book if you have already read the tutorial listed below:
- How MQTT Works -Beginners Guide
- MQTT Publish and Subscribe Beginners Guide
- Using MQTT Over WebSockets with Mosquitto
- Understanding MQTT Topics
- Introduction to MQTT Security Mechanisms
- MQTT Retained Messages Explained
- MQTT Last Will and Testament Examples
- MQTT Clean Sessions and QOS Examples
Learning Resources
- Receiving Messages with the Paho MQTT Python Client
- Two Way communication Using MQTT and Python
- Handling Multiple Client Connections-Python MQTT
- Simple Python MQTT Publish and Subscribe Example Script
- My Python Working Notes
- Paho Python MQTT Client – Understanding Callbacks
- Paho Python MQTT Client-Understanding The Loop
- Paho Python MQTT Client Objects
- Python MQTT Client Connections– Working with Connections
- Paho Python MQTT Client – Publish With Examples