Test your knowledge

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

  1. Which is the default port number for MQTT over TLS:
    1. 1883
    2. 5883
    3. 8883
  2. Which of the following utilities allows us to generate an X.509 digital certificate:
    1. OpenX509
    2. TLS4Devs
    3. OpenSSL
  3. When we use MQTT over TLS:
    1. There are both bandwidth and processing overheads compared to MQTT over TCP without TLS
    2. There is just a small bandwith overhead but no processing overhead at all compared to MQTT over TCP without TLS
    3. There is no overhead compared to MQTT over TCP without TLS
  4. Which of the following can we use to secure and encrypt communications between the MQTT clients and the MQTT server:
    1. TCPS
    2. TLS
    3. HTTPS
  5. If we specify true as the value for the require_certificate ...

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.