Download Microsoft.AZ-220.ExamCollection.2021-07-11.88q.vcex

Download Exam

File Info

Exam Microsoft Azure IoT Developer
Number AZ-220
File Name Microsoft.AZ-220.ExamCollection.2021-07-11.88q.vcex
Size 6 MB
Posted Jul 11, 2021
Download Microsoft.AZ-220.ExamCollection.2021-07-11.88q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

You create a new IoT device named device1 on iothub1. The primary key value assigned to device1 is Uihuih76hbHb.
How should you complete the device connection string? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: iothub1The Azure IoT hub is named iothub1. Box 2: azure-devices.netThe format of the device connection string looks like:HostName={YourIoTHubName}.azure-devices.net;DeviceId=MyNodeDevice;SharedAccessKey={YourSharedAccessKey} Box 1: device1Device1 has a primary key of Uihuih76hbHb. Reference:https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-dotnet
Box 1: iothub1
The Azure IoT hub is named iothub1. 
Box 2: azure-devices.net
The format of the device connection string looks like:
HostName={YourIoTHubName}.azure-devices.net;DeviceId=MyNodeDevice;SharedAccessKey={YourSharedAccessKey} 
Box 1: device1
Device1 has a primary key of Uihuih76hbHb. 
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-dotnet



Question 2

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 IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance,and 1,000 connected IoT devices. 
All the IoT devices are provisioned automatically by using one enrollment group. 
You need to temporarily disable the IoT devices from the connecting to the IoT hub. 
Solution: From the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned.  
Does the solution meet the goal?


  1. Yes
  2. No
Correct answer: A
Explanation:
You may find it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service. In general, deprovisioning a device involves two steps:Disenroll the device from your provisioning service, to prevent future auto-provisioning. Depending on whether you want to revoke access temporarily or permanently, you may want to either disable or delete an enrollment entry. Deregister the device from your IoT Hub, to prevent future communications and data transfer. Again, you can temporarily disable or permanently delete the device's entry in the identity registry for the IoT Hub where it was provisioned. Reference:https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices
You may find it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service. 
In general, deprovisioning a device involves two steps:
  1. Disenroll the device from your provisioning service, to prevent future auto-provisioning. Depending on whether you want to revoke access temporarily or permanently, you may want to either disable or delete an enrollment entry. 
  2. Deregister the device from your IoT Hub, to prevent future communications and data transfer. Again, you can temporarily disable or permanently delete the device's entry in the identity registry for the IoT Hub where it was provisioned. 
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices



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 an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. 
All the IoT devices are provisioned automatically by using one enrollment group. 
You need to temporarily disable the IoT devices from the connecting to the IoT hub. 
Solution: You delete the enrollment group from the Device Provisioning Service. 
Does the solution meet the goal?


  1. Yes
  2. No
Correct answer: B
Explanation:
Instead, from the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned. Reference:https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices
Instead, from the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned. 
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices



Question 4

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 IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance,and 1,000 connected IoT devices. 
All the IoT devices are provisioned automatically by using one enrollment group. 
You need to temporarily disable the IoT devices from the connecting to the IoT hub. 
Solution: From the IoT hub, you change the credentials for the shared access policy of the IoT devices. 
Does the solution meet the goal?


  1. Yes
  2. No
Correct answer: B
Explanation:
Reference:https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices



Question 5

You have an Azure IoT hub. 
You plan to deploy 1,000 IoT devices by using automatic device management. 
The device twin is shown below. 
    
You need to configure automatic device management for the deployment. 
Which target Condition and Device Twin Path should you use? To answer, select the appropriate options in the answer area. 
NOTE: Each correct selection is worth one point.
 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: tags.engine.warpDriveType='VM105a'Use tags to target twins. Before you create a configuration, you must specify which devices or modules you want to affect. Azure IoT Hub identifies devices and using tags in the device twin, and identifies modules using tags in the module twin. Box 2: properties.desired.warpOperatingThe twin path, which is the path to the JSON section within the twin desired properties that will be set.  For example, you could set the twin path to properties.desired.chiller-water and then provide the following JSON content:{   "temperature": 66,  "pressure": 28} Reference:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management
Box 1: tags.engine.warpDriveType='VM105a'
Use tags to target twins. Before you create a configuration, you must specify which devices or modules you want to affect. 
Azure IoT Hub identifies devices and using tags in the device twin, and identifies modules using tags in the module twin. 
Box 2: properties.desired.warpOperating
The twin path, which is the path to the JSON section within the twin desired properties that will be set.  
For example, you could set the twin path to properties.desired.chiller-water and then provide the following JSON content:
  "temperature": 66,
  "pressure": 28
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management



Question 6

You plan to deploy a standard tier Azure IoT hub. 
You need to perform an over-the-air (OTA) update on devices that will connect to the IoT hub by using scheduled jobs. 
What should you use?


  1. a device-to-cloud message
  2. the device twin reported properties
  3. a cloud-to-device message
  4. a direct method
Correct answer: D
Explanation:
Releases via the REST API. All of the operations that can be performed from the Console can also be automated using the REST API. You might do this to automate your build and release process, for example. You can build firmware using the Particle CLI or directly using the compile source code API. Note: Over-the-air (OTA) firmware updates are a vital component of any IoT system. Over-the-air firmware updates refers to the practice of remotely updating the code on an embedded device. Reference:https://docs.particle.io/tutorials/device-cloud/ota-updates/
Releases via the REST API. 
All of the operations that can be performed from the Console can also be automated using the REST API. 
You might do this to automate your build and release process, for example. 
You can build firmware using the Particle CLI or directly using the compile source code API. 
Note: Over-the-air (OTA) firmware updates are a vital component of any IoT system. 
Over-the-air firmware updates refers to the practice of remotely updating the code on an embedded device. 
Reference:
https://docs.particle.io/tutorials/device-cloud/ota-updates/



Question 7

You have an IoT device that gathers data in a CSV file named Sensors.csv. 
You deploy an Azure IoT hub that is accessible at ContosoHub.azure-devices.net. 
You need to ensure that Sensors.csv is uploaded to 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.


  1. Upload Sensors.csv by using the IoT Hub REST API.
  2. From the Azure subscription, select the IoT hub, select Message routing, and then configure a route to storage.
  3. From the Azure subscription, select the IoT hub, select File upload, and then configure a storage container.
  4. Configure the device to use a GET request to ContosoHub.azure-devices.net/devices/ContosoDevice1/ files/notifications.
Correct answer: AC
Explanation:
C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified. For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT Hub. If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the Containers A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a file. To start the file upload process, the device sends a POST request to {iot hub}.azure-devices.net/devices/ {deviceId}/files with the following JSON body:{     "blobName": "{name of the file for which a SAS URI will be generated}"} Incorrect Answers:D: Deprecated: initialize a file upload with a GET. Use the POST method instead.Reference:https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-configure-file-upload.md
C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. 
Select File upload to display a list of file upload properties for the IoT hub that is being modified. 
For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT Hub. 
If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the Containers 
A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a file. 
To start the file upload process, the device sends a POST request to {iot hub}.azure-devices.net/devices/ {deviceId}/files with the following JSON body:
    "blobName": "{name of the file for which a SAS URI will be generated}"
Incorrect Answers:
D: Deprecated: initialize a file upload with a GET. Use the POST method instead.
Reference:
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-configure-file-upload.md



Question 8

You plan to deploy an Azure IoT hub. 
The IoT hub must support the following:
  • Three Azure IoT Edge devices 
  • 2,500 IoT devices 
Each IoT device will spend a 6 KB message every five seconds. 
You need to size the IoT hub to support the devices. The solution must minimize costs. 
What should you choose?


  1. one unit of the S1 tier
  2. one unit of the B2 tier
  3. one unit of the B1 tier
  4. one unit of the S3 tier
Correct answer: D
Explanation:
2500* 6 KB * 12 = 180,000 KB/minute = 180 MB/Minute. B3, S3 can handle up to 814 MB/minute per unit. Incorrect Answers:A, C: B1, S1 can only handle up to 1111 KB/minute per unitB: B2, S2 can only handle up to 16 MB/minute per unit.Reference:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-scaling
2500* 6 KB * 12 = 180,000 KB/minute = 180 MB/Minute. 
B3, S3 can handle up to 814 MB/minute per unit. 
Incorrect Answers:
A, C: B1, S1 can only handle up to 1111 KB/minute per unit
B: B2, S2 can only handle up to 16 MB/minute per unit.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-scaling



Question 9

You deploy an Azure IoT hub. 
You need to demonstrate that the IoT hub can receive messages from a device. 
Which three 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. 
 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Step 1: Register a device in IoT HubBefore you can use your IoT devices with Azure IoT Edge, you must register them with your IoT hub. Once a device is registered, you can retrieve a connection string to set up your device for IoT Edge workloads. Step 2: Configure the device connection string on a device client.When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. Step 3: Trigger a new send event from a device client.Reference:https://docs.microsoft.com/en-us/azure/iot-edge/how-to-register-device
Step 1: Register a device in IoT Hub
Before you can use your IoT devices with Azure IoT Edge, you must register them with your IoT hub. 
Once a device is registered, you can retrieve a connection string to set up your device for IoT Edge workloads. 
Step 2: Configure the device connection string on a device client.
When you're ready to set up your device, you need the connection string that links your physical device with its identity in the IoT hub. 
Step 3: Trigger a new send event from a device client.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-register-device



Question 10

You have an Azure IoT hub. 
You plan to attach three types of IoT devices as shown in the following table. 
    
You need to select the appropriate communication protocol for each device. 
What should you select? To answer, drag the appropriate protocols to the correct devices. 
Each protocol may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. 
NOTE: Each correct selection is worth one point.
 


Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: AMQPUse AMQP on field and cloud gateways to take advantage of connection multiplexing across devices. Box 2: MQTTMQTT is used on all devices that do not require to connect multiple devices (each with its own per-device credentials) over the same TLS connection. Box 3: HTTPSUse HTTPS for devices that cannot support other protocols. Reference:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols
Box 1: AMQP
Use AMQP on field and cloud gateways to take advantage of connection multiplexing across devices. 
Box 2: MQTT
MQTT is used on all devices that do not require to connect multiple devices (each with its own per-device credentials) over the same TLS connection. 
Box 3: HTTPS
Use HTTPS for devices that cannot support other protocols. 
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files