exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 3 question 34 discussion

Actual exam question from Microsoft's AZ-220
Question #: 34
Topic #: 3
[All AZ-220 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure subscription that contains an Azure IoT hub named Hub1 and an Azure IoT Edge device named Device1.

You need to configure Device1 to operate in extended offline mode and to support modifying the configuration of modules deployed to Device1 while the device offline.

Solution: From Device1, you edit the/etc/iotedge/config.yaml file, you modify the ConfigSource and LocalConfigPath environment variables in the agent section, and then you restart the IoT Edge security daemon.

Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
j_c_000
2 years, 1 month ago
Selected Answer: A
Answer is "A". This is exactly what you need to do See https://github.com/Azure/iotedge/blob/main/edge-agent/README.md ConfigSource May be set to "twin" or "local". When set to "twin", the edge device twin is used as a configuration source for modules. When set to "local", a file (config.json) is used as a configuration source for modules. A custom configuration JSON file can be used by bind mounting a directory containing the custom configuration file into the edge agent container and specifying the path to the configuration file in the container using the LocalConfigPath environment variable. DeviceConnectionString must be set to a device connection string if ConfigSource is set to "twin". LocalConfigPath Path to the custom configuration JSON file used as the configuration source in the "local" mode.
upvoted 3 times
...
hotwheelsinsf
2 years, 2 months ago
Agent section. No Go!!!!
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...