In the IoT protocol stack, where does the MQTT protocol primarily operate?
Think about which layer handles communication protocols that applications use to exchange data.
MQTT is an application layer protocol designed for lightweight messaging between devices.
What is the expected output of the command ifconfig on a Linux IoT device that has a Wi-Fi interface named wlan0 active?
ifconfig
Look for the interface named wlan0 with an IP address in the output.
The wlan0 interface is the Wi-Fi interface and shows its IP address and status when active.
Which configuration snippet correctly sets up a CoAP server endpoint on port 5683?
CoAP typically uses UDP on port 5683.
CoAP is a UDP-based protocol and uses port 5683 by default for server endpoints.
An IoT device fails to connect to the MQTT broker. Which of the following is the most likely cause?
Check the port and protocol expected by the MQTT broker.
MQTT typically uses TCP port 1883 for unencrypted and 8883 for encrypted TLS connections. Using the wrong port or protocol causes connection failure.
Put the following steps in the correct order to securely onboard an IoT device using TLS certificates.
Think about the logical order of generating keys, getting certificates, installing them, then connecting.
The device first creates a key and CSR, then the CSR is signed by a CA, the signed certificate is installed, and finally a secure connection is established.