Download Microsoft.AZ-220.NewDumps.2021-07-14.93q.vcex

Download Exam

File Info

Exam Microsoft Azure IoT Developer
Number AZ-220
File Name Microsoft.AZ-220.NewDumps.2021-07-14.93q.vcex
Size 7 MB
Posted Jul 14, 2021
Download Microsoft.AZ-220.NewDumps.2021-07-14.93q.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: 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
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

What should you do to identify the cause of the connectivity issues?


  1. Send cloud-to-device messages to the IoT devices.
  2. Use the heartbeat pattern to send messages from the IoT devices to iothub1.
  3. Monitor the connection status of the device twin by using an Azure function.
  4. Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric.
Correct answer: D
Explanation:
Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. To log device connection events and errors, turn on diagnostics for IoT Hub. We recommend turning on these logs as early as possible, because if diagnostic logs aren't enabled, when device disconnects occur, you won't have any information to troubleshoot the problem with. Step 1:Sign in to the Azure portal. Browse to your IoT hub. Select Diagnostics settings. Select Turn on diagnostics. Enable Connections logs to be collected. For easier analysis, turn on Send to Log Analytics (see pricing). Step 2:Set up alerts for device disconnect at scale To get alerts when devices disconnect, configure alerts on the Connected devices (preview) metric. Reference:https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-troubleshoot-connectivity
Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. 
To log device connection events and errors, turn on diagnostics for IoT Hub. We recommend turning on these logs as early as possible, because if diagnostic logs aren't enabled, when device disconnects occur, you won't have any information to troubleshoot the problem with. 
Step 1:
  1. Sign in to the Azure portal. 
  2. Browse to your IoT hub. 
  3. Select Diagnostics settings. 
  4. Select Turn on diagnostics. 
  5. Enable Connections logs to be collected. 
  6. For easier analysis, turn on Send to Log Analytics (see pricing). 
Step 2:
Set up alerts for device disconnect at scale 
To get alerts when devices disconnect, configure alerts on the Connected devices (preview) metric. 
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-troubleshoot-connectivity



Question 3

You are writing code to provision IoT devices by using the Device Provisioning Service. 
Which two details from the Overview blade of the Device Provisioning Service are required to provision a new IoT client device?  
To answer, select the appropriate detail 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: ID Scope -In the Azure portal, select the Overview blade for your Device Provisioning service and copy the ID Scope value. The ID Scope is generated by the service and guarantees uniqueness. It is immutable and used to uniquely identify the registration IDs. Box 2: Global device endpoint -  The global_prov_uri variable, which allows the IoT Hub client registration API IoTHubClient_LL_CreateFromDeviceAuth to connect with the designated Device Provisioning Service instance. Example code:static const char* global_prov_uri = "global.azure-devices-provisioning.net"; static const char* id_scope = "[ID Scope]"; Reference:https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-set-up-device
Box 1: ID Scope -
In the Azure portal, select the Overview blade for your Device Provisioning service and copy the ID Scope value. The ID Scope is generated by the service and guarantees uniqueness. It is immutable and used to uniquely identify the registration IDs. 
Box 2: Global device endpoint -  
The global_prov_uri variable, which allows the IoT Hub client registration API IoTHubClient_LL_CreateFromDeviceAuth to connect with the designated Device Provisioning Service instance. 
Example code:
static const char* global_prov_uri = "global.azure-devices-provisioning.net"; static const char* id_scope = "[ID Scope]"; 
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-set-up-device



Question 4

You plan to deploy Azure Time Series Insights. 
What should you create on iothub1 before you deploy Time Series Insights?


  1. a new message route
  2. a new consumer group
  3. a new shared access policy
  4. an IP filter rule
Correct answer: B
Explanation:
Create a dedicated consumer group in the IoT hub for the Time Series Insights environment to consume from. Each Time Series Insights event source must have its own dedicated consumer group that isn't shared with any other consumer. If multiple readers consume events from the same consumer group, all readers are likely to exhibit failures. Reference:https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-how-to-add-an-event-source-iothub
Create a dedicated consumer group in the IoT hub for the Time Series Insights environment to consume from. 
Each Time Series Insights event source must have its own dedicated consumer group that isn't shared with any other consumer. If multiple readers consume events from the same consumer group, all readers are likely to exhibit failures. 
Reference:
https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-how-to-add-an-event-source-iothub



Question 5

How should you complete the GROUP BY clause to meet the Streaming Analytics requirements?


  1. GROUP BY HoppingWindow(Second, 60, 30)
  2. GROUP BY TumblingWindow(Second, 30)
  3. GROUP BY SlidingWindow(Second, 30)
  4. GROUP BY SessionWindow(Second, 30, 60)
Correct answer: B
Explanation:
Scenario: You plan to use a 30-second period to calculate the average temperature reading of the sensors.Tumbling window functions are used to segment a data stream into distinct time segments and perform a function against them, such as the example below. The key differentiators of a Tumbling window are that they repeat, do not overlap, and an event cannot belong to more than one tumbling window. Incorrect Answers:A: Hopping window functions hop forward in time by a fixed period. It may be easy to think of them as Tumbling windows that can overlap, so events can belong to more than one Hopping window result set. Reference:https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions
Scenario: You plan to use a 30-second period to calculate the average temperature reading of the sensors.
Tumbling window functions are used to segment a data stream into distinct time segments and perform a function against them, such as the example below. The key differentiators of a Tumbling window are that they repeat, do not overlap, and an event cannot belong to more than one tumbling window. 
Incorrect Answers:
A: Hopping window functions hop forward in time by a fixed period. It may be easy to think of them as Tumbling windows that can overlap, so events can belong to more than one Hopping window result set. 
Reference:
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions



Question 6

You need to use message enrichment to add additional device information to messages sent from the IoT gateway devices when the reported temperature exceeds a critical threshold. 
How should you configure the enrich message values?  
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:
https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-message-enrichments-overview
https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-message-enrichments-overview



Question 7

You need to enable telemetry message tracing through the entire IoT solution. 
What should you do? 


  1. Monitor device lifecycle events.
  2. Upload IoT device logs by using the File upload feature.
  3. Enable the DeviceTelemetry diagnostic log and stream the log data to an Azure event hub.
  4. Implement distributed tracing.
Correct answer: D
Explanation:
IoT Hub is one of the first Azure services to support distributed tracing. As more Azure services support distributed tracing, you'll be able trace IoT messages throughout the Azure services involved in your solution. Note:Enabling distributed tracing for IoT Hub gives you the ability to:Precisely monitor the flow of each message through IoT Hub using trace context. This trace context includes correlation IDs that allow you to correlate events from one component with events from another component. It can be applied for a subset or all IoT device messages using device twin. Automatically log the trace context to Azure Monitor diagnostic logs. Measure and understand message flow and latency from devices to IoT Hub and routing endpoints. Start considering how you want to implement distributed tracing for the non-Azure services in your IoT solution. Reference:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-distributed-tracing
IoT Hub is one of the first Azure services to support distributed tracing. As more Azure services support distributed tracing, you'll be able trace IoT messages throughout the Azure services involved in your solution. 
Note:
Enabling distributed tracing for IoT Hub gives you the ability to:
  • Precisely monitor the flow of each message through IoT Hub using trace context. This trace context includes correlation IDs that allow you to correlate events from one component with events from another component. It can be applied for a subset or all IoT device messages using device twin. 
  • Automatically log the trace context to Azure Monitor diagnostic logs. 
  • Measure and understand message flow and latency from devices to IoT Hub and routing endpoints. 
  • Start considering how you want to implement distributed tracing for the non-Azure services in your IoT solution. 
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-distributed-tracing



Question 8

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 9

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 10

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









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