Using The MQTT Python Client
Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
Quick Quiz to test your knowledge of using the Paho Python MQTT clients.
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%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
You install the paho python MQTT client using the pip command?
Correct
Incorrect
-
Question 2 of 10
2. Question
Before you can publish a message you need to create a connection to a MQTT broker?
Correct
Incorrect
-
Question 3 of 10
3. Question
You can use the Python client without an MQTT broker?
Correct
Incorrect
-
Question 4 of 10
4. Question
You need to subscribe before you can publish?
Correct
Incorrect
-
Question 5 of 10
5. Question
The broker stores all MQTT messages just like Email?
Correct
Incorrect
-
Question 6 of 10
6. Question
The retain flag is set by a client when it subscribes to a topic
Correct
Incorrect
-
Question 7 of 10
7. Question
You can tell if the message you receive is a retained message?
Correct
Incorrect
-
Question 8 of 10
8. Question
When connecting the clean session flag is False by default?
Correct
Incorrect
-
Question 9 of 10
9. Question
You have connected to a broker and subscribed to a topic that you know should contain your sensor data which is being published every seconds but you don’t’ see any data. What is the most likely cause?
Correct
Incorrect
-
Question 10 of 10
10. Question
You can publish on several topics with a single publish
Correct
Incorrect
Join out Email list and stay up to date
Make a Contribution
if you find this useful and would like to make a contribution, then you can do so by clicking here.
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