0
0
IOT Protocolsdevops~20 mins

IoT protocol stack overview in IOT Protocols - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
IoT Protocol Stack Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Identify the correct layer for MQTT in the IoT protocol stack

In the IoT protocol stack, where does the MQTT protocol primarily operate?

ANetwork layer
BApplication layer
CData link layer
DPhysical layer
Attempts:
2 left
💡 Hint

Think about which layer handles communication protocols that applications use to exchange data.

💻 Command Output
intermediate
2:00remaining
Output of a command showing active IoT network interfaces

What is the expected output of the command ifconfig on a Linux IoT device that has a Wi-Fi interface named wlan0 active?

IOT Protocols
ifconfig
A
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.1.10  netmask 255.255.255.0  broadcast 192.168.1.255
B
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet 10.0.0.5  netmask 255.0.0.0  broadcast 10.255.255.255
CNo interfaces found
D
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
Attempts:
2 left
💡 Hint

Look for the interface named wlan0 with an IP address in the output.

Configuration
advanced
2:30remaining
Correct configuration snippet for CoAP server endpoint

Which configuration snippet correctly sets up a CoAP server endpoint on port 5683?

A
coap_server:
  port: 443
  protocol: udp
  resource: /sensor/data
B
coap_server:
  port: 80
  protocol: tcp
  resource: /sensor/data
C
coap_server:
  port: 5683
  protocol: tcp
  resource: /sensor/data
D
coap_server:
  port: 5683
  protocol: udp
  resource: /sensor/data
Attempts:
2 left
💡 Hint

CoAP typically uses UDP on port 5683.

Troubleshoot
advanced
2:00remaining
Troubleshoot why an IoT device cannot connect using MQTT

An IoT device fails to connect to the MQTT broker. Which of the following is the most likely cause?

AThe device is connected to the wrong Wi-Fi SSID
BThe device is sending HTTP requests instead of MQTT messages
CThe device is using TCP port 1883 but the broker expects port 8883 with TLS
DThe device is using UDP port 1883 instead of TCP
Attempts:
2 left
💡 Hint

Check the port and protocol expected by the MQTT broker.

🔀 Workflow
expert
3:00remaining
Order the steps to securely onboard an IoT device using TLS

Put the following steps in the correct order to securely onboard an IoT device using TLS certificates.

A1,2,3,4
B1,3,2,4
C2,1,3,4
D3,1,2,4
Attempts:
2 left
💡 Hint

Think about the logical order of generating keys, getting certificates, installing them, then connecting.