Microsoft Azure IoT Developer AZ-220 Exam Questions

Page: 1 / 14
Total 204 questions
Question 1

You have an Azure subscription that contains an Azure IoT hub and two Azure IoT Edge devices named Device1 and Device2.

You need to ensure that the IoT hub only accepts connections from Device1 and Device2.

What should you configure?



Answer : A

Ingress connectivity to IoT Hub using Azure Private Link.

A private endpoint is a private IP address allocated inside a customer-owned VNet via which an Azure resource is reachable. Through Azure Private Link, you can set up a private endpoint for your IoT hub to allow services inside your VNet to reach IoT Hub without requiring traffic to be sent to IoT Hub's public endpoint. Similarly, your on-premises devices can use Virtual Private Network (VPN) or ExpressRoute peering to gain connectivity to your VNet and your IoT Hub (via its private endpoint). As a result, you can restrict or completely block off connectivity to your IoT hub's public endpoints by using IoT Hub IP filter or the public network access toggle. This approach keeps connectivity to your Hub using the private endpoint for devices.


https://docs.microsoft.com/en-us/azure/iot-hub/virtual-network-support

Question 2

You have an loT solution that includes an Azure IoT hub named Hub1 and 20 loT devices. Hub1 sends cloud-to-device messages to the 10T devices.

You need to track the number of messages that are resubmitted for delivery to an IoT device. Which metric should you monitor?



Answer : A


Question 3

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 a Standard tier Azure IoT hub and a fleet of IoT devices.

The devices connect to the IoT hub by using either Message Queuing Telemetry Transport (MQTT) or Advanced Message Queuing Protocol (AMQP).

You need to send data to the IoT devices and each device must respond. Each device will require three minutes to process the data and respond.

Solution: You schedule an IoT Hub job to update the twin tags and you query for job progress.

Does this meet the goal?



Answer : B

Instead update the twin desired property and check the corresponding reported property.

Note: IoT Hub provides three options for device apps to expose functionality to a back-end app:

Twin's desired properties for long-running commands intended to put the device into a certain desired state. For example, set the telemetry send interval to 30 minutes.

Direct methods for communications that require immediate confirmation of the result. Direct methods are often used for interactive control of devices such as turning on a fan.

Cloud-to-device messages for one-way notifications to the device app.


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-c2d-guidance

Question 4

You are developing an Azure IoT Central application.

You add a new custom device template to the application.

You need to add a fixed location value to the device template. The value must be updated by the physical IoT device, read-only to device operators, and not graphed by IoT Central.

What should you add to the device template?



Answer : A

For example, a builder can create a device template for a connected fan that has the following characteristics:

Sends temperature telemetry

Sends location property


https://docs.microsoft.com/en-us/azure/iot-central/core/howto-set-up-template

Question 5

You have an Azure IoT Edge module named SampleModule that runs on a device named Device1.

You make changes to the code of SampleModule by using Microsoft Visual Studio Code.

You need to push the code to the container registry and then deploy the module to Device1.

Which two actions should you perform from Visual Studio Code? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer : A, B

C: Configure a deployment manifest. A deployment manifest is a JSON document that describes which modules to deploy, how data flows between the modules, and desired properties of the module twins.

B: You deploy modules to your device by applying the deployment manifest that you configured with the module information.


https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode

Question 6

You have an Azure IoT solution that includes several Azure IoT hubs.

A new alerting feature was recently added to the IoT devices. The feature uses a new device twin reported property named alertCondition.

You need to send alerts to an Azure Service Bus queue named MessageAlerts. The alerts must include

alertCondition and the name of the IoT hub.

Which two actions should you perform? Each Answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer : B, D

B: Message enrichments is the ability of the IoT Hub to stamp messages with additional information before the messages are sent to the designated endpoint. One reason to use message enrichments is to include data that can be used to simplify downstream processing. For example, enriching device telemetry messages with

a device twin tag can reduce load on customers to make device twin API calls for this information.

D: Applying enrichments

The messages can come from any data source supported by IoT Hub message routing, including the following examples:

-->device twin change notifications -- changes in the device twin device telemetry, such as temperature or pressure

device life-cycle events, such as when the device is created or deleted


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview

Question 7

You have an Azure subscription that contains the resources shown in the following table.

You create a group enrollment in DPS1 and enroll 100 loT devices. Each device is issued a leaf certificate from CAT. You need to deprovision a single loT device from the group enrollment. The solution must not affect the other devices. Solution: You delete the device entry from the device registry of Hub1. Does this meet the goal?



Answer : B


Page:    1 / 14   
Total 204 questions