Test your knowledge

Let's see whether you can answer the following questions correctly:

  1. MQTT runs on top of:
    1. The MQIP protocol
    2. The TCP/IP protocol
    3. The IoT protocol
  2. The data for an MQTT message is known as:
    1. Payload
    2. Packet
    3. Upload
  3. In MQTT version 3.1.1, the broker is named:
    1. MQTT agent
    2. MQTT client
    3. MQTT server
  4. Mosquitto is:
    1. A cloud-based MQTT server that is only available on Windows Azure
    2. A cloud-based MQTT server that is only available on Amazon Web Services
    3. An open source MQTT server compatible with MQTT versions 3.1.1 and 3.1
  5. The default TCP port that a Mosquitto server uses is:
    1. 22
    2. 1883
    3. 9000

The rights answers are included in the Appendix, Solutions.

Get Hands-On MQTT Programming with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.