Microsoft Azure IoT Developer v1.0 (AZ-220)

Page:    1 / 17   
Total 260 questions

HOTSPOT
-

You have four physical IoT devices that connect to an Azure IoT hub named iothub1. The devices are configured as shown in the following table.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.



Answer :

DRAG DROP
-

You need to configure a digital twin to accept device telemetry data from the IoT hub.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.



Answer :

You have an Azure IoT Central solution.

You need to verify that telemetry messages from devices arrive to IoT Central.

What should you use?

  • A. the Azure IoT explorer
  • B. the az command in Azure CLI
  • C. Azure Service Bus Explorer
  • D. the Azure IoT Tools for VS Code extension pack


Answer : B

You have an Azure IoT hub.

You need to configure an event subscription that will call an Azure logic app when a new device connects to the hub.

Which Endpoint Type should you select?

  • A. Event Hubs
  • B. Service Bus Queue
  • C. Web Hook


Answer : C

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 devices that connect to an Azure IoT hub. Each device has a fixed GPS location that includes latitude and longitude.

You discover that a device entry in the identity registry of the IoT hub is missing the GPS location.

You need to configure the GPS location for the device entry. The solution must prevent the changes from being propagated to the physical device.

Solution: You use an Azure policy to apply tags to IoTCentral/IoTApps objects.

Does the solution meet the goal?

  • A. Yes
  • B. No


Answer : B

HOTSPOT
-

You have an Azure IoT Central application that has a custom device template.

You need to configure the device template to support the following activities:

• Return the reported power consumption.
• Configure the desired fan speed.
• Run the device reset routine.
• Read the fan serial number.

Which option should you use for each activity? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer :

You have an Azure IoT hub that uses a Device Provisioning Service (DPS) instance.

For 100 legacy devices, you plan to create a new device enrollment that will use symmetric key attestation. The solution must minimize administrative effort.

What should you use to derive the device key?

  • A. the subscription ID
  • B. the IoT hub name
  • C. the group master key
  • D. the primary key of the DPS shared access policy


Answer : D

You have an Azure IoT solution that includes an Azure IoT hub named Hub1.

You plan to provision an IoT device named Device1 that will run Azure RTOS and the Azure IoT middleware for Azure RTOS. Device1 will be deployed to a remote network that contains a firewall named FW1.

You need to ensure that FW1 will allow Device1 to communicate with Hub1.

Which port should you open on FW1?

  • A. 5671
  • B. 5683
  • C. 8080
  • D. 8883


Answer : D

You have an Azure IoT Hub deployment.

You plan to deploy 1,000 IoT devices that will have 1 MB of RAM. The devices will be deployed behind firewalls that block port 443.

You need to configure the communication protocol for the devices. The solution must ensure that each device uses unique credentials.

Which protocol should you use?

  • A. AMQP
  • B. MQTT over WebSockets
  • C. MQTT
  • D. AMQP over WebSockets


Answer : C

You have an Azure subscription named Sub1 that contains five Azure IoT hubs in the basic tier.

You assign an Azure policy named Policy1 to Sub1. Policy1 ensures that when an IoT hub is deployed, a private endpoint is deployed for the IoT hub.

You need to ensure that Policy1 is applied to the existing IoT hubs. The solution must minimize administrative effort.

What should you do?

  • A. Reassign Policy1.
  • B. Run a remediation task.
  • C. Upgrade the IoT hubs to the standard tier.
  • D. Perform a manual failover of each IoT hub.


Answer : B

You have a project in Azure DevOps and five Azure IoT Edge devices.

You need to create a pipeline that will be used to implement Continuous Integration/Continuous Deployment (CI/CD) for the IoT Edge devices.

Which format should you use to create the pipeline definition?

  • A. YAML
  • B. JSON
  • C. XML
  • D. SGML


Answer : A

HOTSPOT -
You have the following device twin for the IoT device.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:



Answer :

Box1: Yes -

Box 2: Yes -
Fanspeed 73 is a reported property.

Box 3: No -
The deviceID property is read only.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins

You are deploying an Azure IoT Edge solution that includes multiple IoT Edge devices.
You need to configure module-to-module routing.
To which section of the deployment manifest should you add the routes?

  • A. storeAndForwardConfiguration
  • B. $edgeHub
  • C. modules
  • D. systemModules


Answer : B

Routes are declared in the $edgeHub desired properties.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

You have an IoT device that has the following configurations:
✑ Hardware: Raspberry Pi
✑ Operating system: Raspbian
You need to deploy Azure IoT Edge to the device.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Update the IoT Edge runtime.
  • B. Install the IoT Edge security daemon.
  • C. Run the Deploy-IoTEdge PowerShell cmdlet on the IoT Edge device.
  • D. Install the container runtime.


Answer : AB

The Azure IoT Edge runtime is what turns a device into an IoT Edge device. The runtime can be deployed on devices as small as a Raspberry Pi or as large as an industrial server.
The IoT Edge security daemon provides and maintains security standards on the IoT Edge device. The daemon starts on every boot and bootstraps the device by starting the rest of the IoT Edge runtime.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge

You develop a custom Azure IoT Edge module named temperature-module.
You publish temperature-module to a private container registry named mycr.azurecr.io
You need to build a deployment manifest for the IoT Edge device that will run temperature-module.
Which three container images should you define in the manifest? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0
  • B. mcr.microsoft.com/azureiotedge-agent:1.0
  • C. mcr.microsoft.com/iotedgedev:2.0
  • D. mycr.azurecr.io/temperature-module:latest
  • E. mcr.microsoft.com/azureiotedge-hub:1.0


Answer : BDE

Each IoT Edge device runs at least two modules: $edgeAgent and $edgeHub, which are part of the IoT Edge runtime. IoT Edge device can run multiple additional modules for any number of processes. Use a deployment manifest to tell your device which modules to install and how to configure them to work together.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

Page:    1 / 17   
Total 260 questions