Microsoft (AZ-220) Exam Questions And Answers page 9
You plan to develop modules for an Azure IoT Edge solution.
You need to recommend a development tool that supports the following:
• Node.js
• Module templates
• Development on Linux workstations
What should you recommend?
You need to recommend a development tool that supports the following:
• Node.js
• Module templates
• Development on Linux workstations
What should you recommend?
Microsoft Visual Studio
Microsoft Visual Studio Online
Microsoft Visual Studio Code
Introduction to Azure IoT
Developing IoT Solutions
You have an Azure IoT hub.
You need to recommend a solution to scale the IoT hub automatically.
What should you include in the recommendation?
You need to recommend a solution to scale the IoT hub automatically.
What should you include in the recommendation?
Create an SMS alert in IoT Hub for the Total number of messages used metric.
Create an Azure function that retrieves the quota metrics of the IoT hub.
Configure autoscaling in Azure Monitor.
Emit custom metrics from the IoT device code and create an Azure Automation runbook alert.
Introduction to Azure IoT
Data Ingestion and Processing
You need to configure Stream Analytics to meet the POV requirements.
What are two ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
What are two ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Create an input in Stream Analytics that uses the built-in events endpoint of IoT Hub as the source.
From IoT Hub, create a custom event hub endpoint, and then configure the endpoint as an input to Stream Analytics.
Create a Stream Analytics module, and then deploy the module to all IoT Edge devices in the fleet.
Route telemetry to an Azure Blob storage custom endpoint, and then configure the Blob storage as a reference input for Stream Analytics.
Data Ingestion and Processing
Developing IoT Solutions
You have an Azure IoT solution that includes an Azure IoT hub named hub1.
You plan to deploy an Azure Time Series Insights Gen 2 environment and connect the environment to hub1.
You need to use the device ID from hub1 as the Time Series ID.
What should you set as the Time Series ID when creating the environment?
You plan to deploy an Azure Time Series Insights Gen 2 environment and connect the environment to hub1.
You need to use the device ID from hub1 as the Time Series ID.
What should you set as the Time Series ID when creating the environment?
device-id
connection-device-id
iothub-connection-device-id
deviceId
Data Ingestion and Processing
IoT Security and Compliance
You have an existing Azure IoT hub.
You use IoT Hub jobs to schedule long running tasks on connected devices.
Which two operations do the IoT Hub jobs support directly? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You use IoT Hub jobs to schedule long running tasks on connected devices.
Which two operations do the IoT Hub jobs support directly? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Trigger Azure functions.
Invoke direct methods.
Update desired properties.
Send cloud-to-device messages.
Disable IoT device registry entries.
Introduction to Azure IoT
Data Ingestion and Processing
You have an Azure IoT hub that uses a Device Provision Service instance.
You plan to deploy 100 IoT devices.
You need to confirm the identity of the devices by using the Device Provision Service.
Which three device attestation mechanisms can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You plan to deploy 100 IoT devices.
You need to confirm the identity of the devices by using the Device Provision Service.
Which three device attestation mechanisms can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
X.509 certificates
Trusted Platform Module (TPM) 2.0
Trusted Platform Module (TPM) 1.2
Symmetric key
Device Identity Composition Engine (DICE)
Device Provisioning and Management
IoT Security and Compliance
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 correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
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 correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Configure File upload for each IoT hub. Configure the device to send a file to an Azure Storage container that contains the device name and status message.
Add the following message enrichments:
Name = iotHubName
Value = $twin.tag.location
Endpoint = MessageAlerts
Name = iotHubName
Value = $twin.tag.location
Endpoint = MessageAlerts
Create an IoT Hub routing rule that has a data source of Device Twin Change Events and select the endpoint for MessageAlerts.
Add the following message enrichments:
Name = iotHubName
Value = $iothubname
Endpoint = MessageAlerts
Name = iotHubName
Value = $iothubname
Endpoint = MessageAlerts
Create an IoT Hub routing rule that has a data source of Device Telemetry Messages and select the endpoint for MessageAlerts.
Device Provisioning and Management
Data Ingestion and Processing
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 20 IoT devices deployed across two floors of a building. The devices on the first floor must be set to 60 degrees. The devices on the second floor must be set to 80 degrees.
The device twins are configured to use a tag that identifies the floor on which the twins are located.
You create the following automatic configuration for the devices on the first floor.
You create the following automatic configuration for the devices on the second floor.
The IoT devices on the first floor report that the temperature is set to 80 degrees.
You need to ensure that the first-floor devices are set to the correct temperature.
Solution: In the automatic configuration for the second-floor devices, you set Version to 2.
Does this meet the goal?
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 20 IoT devices deployed across two floors of a building. The devices on the first floor must be set to 60 degrees. The devices on the second floor must be set to 80 degrees.
The device twins are configured to use a tag that identifies the floor on which the twins are located.
You create the following automatic configuration for the devices on the first floor.
You create the following automatic configuration for the devices on the second floor.
The IoT devices on the first floor report that the temperature is set to 80 degrees.
You need to ensure that the first-floor devices are set to the correct temperature.
Solution: In the automatic configuration for the second-floor devices, you set Version to 2.
Does this meet the goal?
Yes
No
Introduction to Azure IoT
Data Ingestion and Processing
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 20 IoT devices deployed across two floors of a building. The devices on the first floor must be set to 60 degrees. The devices on the second floor must be set to 80 degrees.
The device twins are configured to use a tag that identifies the floor on which the twins are located.
You create the following automatic configuration for the devices on the first floor.
You create the following automatic configuration for the devices on the second floor.
The IoT devices on the first floor report that the temperature is set to 80 degrees.
You need to ensure that the first-floor devices are set to the correct temperature.
Solution: In the automatic configuration for the second-floor devices, you set targetCondition to "tags.floor='second'".
Does this meet the goal?
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 20 IoT devices deployed across two floors of a building. The devices on the first floor must be set to 60 degrees. The devices on the second floor must be set to 80 degrees.
The device twins are configured to use a tag that identifies the floor on which the twins are located.
You create the following automatic configuration for the devices on the first floor.
You create the following automatic configuration for the devices on the second floor.
The IoT devices on the first floor report that the temperature is set to 80 degrees.
You need to ensure that the first-floor devices are set to the correct temperature.
Solution: In the automatic configuration for the second-floor devices, you set targetCondition to "tags.floor='second'".
Does this meet the goal?
Yes
No
Introduction to Azure IoT
Data Ingestion and Processing
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?
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?
Yes
No
Introduction to Azure IoT
Data Ingestion and Processing
Comments