Microsoft Azure IoT Developer — Question 18
You have an Azure IoT solution that contains an Azure IoT Edge device named Edge1.
Edge1 fails to start.
You connect to Edge1 and identify the following:
• The IoT Edge agent is running.
• The IoT Edge agent continually reports the following error: “Empty dconfig file.”
• No modules have started.
You need to ensure that Edge1 starts successfully.
What should you do?
Answer options
- A. Update the /etc/hosts file for the host operating system and restart Edge1.
- B. Reapply the iotedge config and restart Edge1.
- C. Specify a DNS server for the container engine and restart Edge1.
- D. Restart the Docker service.
Correct answer: C
Explanation
The correct answer is C, as specifying a DNS server for the container engine can resolve connectivity issues that prevent modules from starting. Option A does not address the specific error reported by the IoT Edge agent. Option B, while relevant, does not directly solve the issue of the DNS configuration, and Option D might not resolve the underlying problem of the empty dconfig file.