Verified AZ-220 dumps Q&As - Pass Guarantee Exam Dumps Test Engine [2023]
AZ-220 dumps and 193 unique questions
NEW QUESTION # 69
You have an Azure subscription that contains an Azure IoT hub and two IoT devices named Device1 and Device2.
You plan to deploy an Azure IoT Edge gateway device named Gateway1.
You need to ensure that all device-to-cloud messages and twin change notifications from Device1 and Device2 to the IoT hub are routed by using Gateway1.
What tasks should you perform to configure the devices? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
Graphical user interface, text, application, email Description automatically generated
Box 1: Device1 and Device2
Connection strings for downstream devices need the following components:
* The gateway device that the device connects through. Provide the hostname value from the IoT Edge gateway device's config file: GatewayHostName={gateway hostname} Box 2: Gateway1 To deploy the IoT Edge hub module and configure it with routes to handle incoming messages from downstream devices, follow these steps:
* In the Azure portal, navigate to your IoT hub.
* Go to IoT Edge and select your IoT Edge device that you want to use as a gateway.
* Select Set Modules.
* On the Modules page, you can add any modules you want to deploy to the gateway device.
* Select Next: Routes.
* On the Routes page, make sure that there is a route to handle messages coming from downstream devices. For example:A route that sends all messages, whether from a module or from a downstream device, to IoT Hub:
Name: allMessagesToHub Value: FROM /messages/* INTO $upstream
Box 3: FROM /messages/* INTO $upstream
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-authenticate-downstream-device
NEW QUESTION # 70
You have an Azure IoT hub.
You need to deploy a Device Provisioning Service instance that uses X.509 attestation to support new loT devices.
Which three actions should you perform in sequence in the Azure portal? To answer move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
Explanation
NEW QUESTION # 71
You have 1,000 devices that connect to an Azure IoT hub.
You discover that some of the devices fail to send data to the IoT hub.
You need to ensure that you can use Azure Monitor to troubleshoot the device connectivity issues.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. From the Diagnostics settings of the IoT hub, select Send to Log Analytic.
- B. Collect the DeviceTelemetry, Connections, and Routes logs.
- C. Collect the JobsOperations, DeviceStreams, and FileUploadOperations logs.
- D. Collect all metrics.
- E. From the Diagnostics settings of the IoT hub, select Archive to a storage account.
Answer: A,B
Explanation:
The IoT Hub resource logs connections category emits operations and errors having to do with device connections. The following screenshot shows a diagnostic setting to route these logs to a Log Analytics workspace:
Note: Azure Monitor: Route connection events to logs:
IoT hub continuously emits resource logs for several categories of operations. To collect this log data, though, you need to create a diagnostic setting to route it to a destination where it can be analyzed or archived. One such destination is Azure Monitor Logs via a Log Analytics workspace, where you can analyze the data using Kusto queries.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-troubleshoot-connectivity
NEW QUESTION # 72
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:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/howto-set-up-template
NEW QUESTION # 73
You have an existing Azure IoT hub.
You use IoT Hub jobs to schedule long running tasks on connected devices.
Which three operations do the IoT Hub jobs support directly? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. Invoke direct methods.
- B. Update tags.
- C. Trigger Azure functions.
- D. Send cloud-to-device messages.
- E. Disable IoT device registry entries.
- F. Update desired properties.
Answer: A,B,F
Explanation:
Consider using jobs when you need to schedule and track progress any of the following activities on a set ofdevices:
* Invoke direct methods
* Update desired properties
* Update tags
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-jobs
NEW QUESTION # 74
You have 1,000 IoT devices that connect to an Azure IoT hub.
Each device has a property tag named city that is used to store the location of the device.
You need to update the properties on all the devices located at an office in the city of Seattle as quickly as possible. Any new devices in the Seattle office that are added to the IoT hub must receive the updated properties also.
What should you do?
- A. Create a scheduled job by using the IoT Hub service SDKs.
- B. From Automatic Device Management, create an IoT device configuration.
- C. From the IoT hub, generate a query for the target devices.
- D. Deploy an Azure IoT Edge transparent gateway to the Seattle office and deploy an Azure Stream Analytics edge job.
Answer: B
Explanation:
Explanation
Automatic device management in Azure IoT Hub automates many of the repetitive and complex tasks of managing large device fleets. With automatic device management, you can target a set of devices based on their properties, define a desired configuration, and then let IoT Hub update the devices when they come into scope. This update is done using an automatic device configuration or automatic module configuration, which lets you summarize completion and compliance, handle merging and conflicts, and roll out configurations in a phased approach.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management
NEW QUESTION # 75
You have an Azure IoT Central application that includes a Device Provisioning Service instance.
You need to connect IoT devices to the application without first registering the devices.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
1 - Generate device credentials.
2 - Flash unique credentials to the devices.
3 - Connect the devices to IoT Central.
4 - Associate the devices to a template and approve the connections.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/concepts-get-connected
NEW QUESTION # 76
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.
Answer:
Explanation:
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
NEW QUESTION # 77
You need to configure a digital twin to accept device telemetry data from the loT hub Which four actions should you perform m sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
1 - Deploy an Azure Digital Twins instance.
2 - Create a digital twin.
3 - Upload the digital twin model.
4 - Configure a system-assigned managed identity managed identity for Azure Digital Twins.
NEW QUESTION # 78
You have an Azure IoT hub.
You need to enable Azure Defender for IoT on the IoT hub.
What should you do?
- A. From Defender, configure security alerts.
- B. From the Diagnostics settings of the loT hub, select Add diagnostic setting.
- C. From the Security settings of the loT hub, select Secure your loT solution.
- D. From Defender, add a security policy.
Answer: C
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/defender-for-iot/device-builders/quickstart-onboard-iot-hub
NEW QUESTION # 79
You have an Azure IoT Central application that monitors 100 IoT devices.
You need to generate alerts when the temperature of a device exceeds 100 degrees. The solution must meet the following requirements:
* Minimize costs
* Minimize deployment time
What should you do?
- A. Create an email property in the device templates.
- B. Perform a data export to Azure Service Bus.
- C. Perform a data export to Azure Blob storage and create an Azure function.
- D. Create a rule that uses an email action.
Answer: D
Explanation:
Explanation
Explanation:
You can create rules in IoT Central that trigger actions, such as sending an email, in response to telemetry- based conditions, such as device temperature exceeding a threshold.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/howto-configure-rules-advanced Implement security Question Set 1
NEW QUESTION # 80
You need to add Time Series Insights to the solution to meet the pilot requirements.
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.
Answer:
Explanation:
1 - Provision Time Series Insights
2 - Route telemetry from IoT Hub to a custom event.
3 - Add a data access policy to Time Series Insights for the dashboard web app Reference:
https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-update-create-environment
NEW QUESTION # 81
You need to recommend a solution to keep device properties synced to IoT Hub. The solution must minimize data loss caused by the connectivity issues.
What should you include in the recommendation?
- A. Azure Event Grid
- B. a cloud-to-device message
- C. loT Hub device twins
- D. the loT Hub direct method
Answer: C
Explanation:
Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages.
To synchronize state information between a device and an IoT hub, you use device twins. A device twin is a JSON document, associated with a specific device, and stored by IoT Hub in the cloud where you can query them. A device twin contains desired properties, reported properties, and tags.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-device-twins
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
NEW QUESTION # 82
You have an Azure IoT hub that uses a Device Provisioning Service instance.
You have 1,000 legacy IoT devices that only support MAC address or serial number identities. The device do NOT have a security feature that can be used to securely identify the device or a hardware security module (HSM).
You plan to deploy the devices to a secure environment.
You need to configure the Device Provisioning Service instance to ensure that all the devices are identified securely before they receive updates.
Which attestation mechanism should you choose?
- A. X.509 certificates
- B. symmetric key attestation
- C. Trusted Platform Module (TPM) 1.2 attestation
Answer: B
Explanation:
A common problem with many legacy devices is that they often have an identity that is composed of a single piece of information. This identity information is usually a MAC address or a serial number. Legacy devices may not have a certificate, TPM, or any other security feature that can be used to securely identify the device. The Device Provisioning Service for IoT hub includes symmetric key attestation. Symmetric key attestation can be used to identify a device based off information like the MAC address or a serial number.
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-legacy-device-symm-key
NEW QUESTION # 83
You have 100 devices that connect to an Azure IoT hub.
You need to be notified about failed local logins to a subnet of the devices.
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.
Answer:
Explanation:
Explanation:
Step 1: Enable Azure Security Center for IoT
Security alerts, such as failed local IoT hub logins, are stored in AzureSecurityOfThings.SecurityAlert table in the Log Analytics workspace configured for the Azure Security Center for IoT solution.
Step 2: Select a device security group
Update a device security group..
Step 3: Create a custom alert rule
..by creating a custom alert rule
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/asc-for-iot/how-to-security-data-access
https://docs.microsoft.com/en-us/rest/api/securitycenter/devicesecuritygroups/createorupdate
NEW QUESTION # 84
You have an Azure IoT Central application.
You add an IoT device named Oven1 to the application. Oven1 uses an IoT Central template for industrial ovens.
You need to send an email to the managers group at your company as soon as the oven temperature falls below
400 degrees.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Add a condition that has Time Aggregation set to Off.
- B. From IoT Central, create a telemetry rule for the template.
- C. Add a condition that has Aggregation set to Minimum.
- D. Create a SendGrid account in the same resource group as the IoT Central application.
- E. Add the Manager role to the IoT Central application.
Answer: A,B
Explanation:
Explanation
Devices use telemetry to send numerical data from the device. A rule triggers when the selected telemetry crosses a specified threshold.
E: To create a telemetry rule, the device template must include at least one telemetry value. The rule monitors the temperature reported by the device and sends an email when it falls below 400 degrees.
B: Configure the rule conditions.
Conditions define the criteria that the rule monitors. In this tutorial, you configure the rule to fire when the temperature exceeds 70° F.
1. Select Temperature in the Telemetry dropdown.
2. Next, choose Is less than as the Operator and enter 400 as the Value.
3. Optionally, you can set a Time aggregation. When you select a time aggregation, you must also select an aggregation type, such as average or sum from the aggregation drop-down.
* Without aggregation, the rule triggers for each telemetry data point that meets the condition.
* With aggregation, the rule triggers if the aggregate value of the telemetry data points in the time window meets the condition.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/tutorial-create-telemetry-rules
NEW QUESTION # 85
You have an Azure loT hub
You have four Azure 10T Edge devices and. The device twin code shown in the following table.
You have three deployments and the deployment code 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:
Explanation:
Explanation
NEW QUESTION # 86
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 use direct methods and check the response.
Does this meet the goal?
- A. No
- B. Yes
Answer: A
Explanation:
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.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-c2d-guidance
NEW QUESTION # 87
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?
- A. Yes
- B. No
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:
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
NEW QUESTION # 88
You have an Azure Stream Analytics job that connects to an Azure IoT hub named Hub1445 as a streaming data source. Hub1445 is configured as shown in the exhibit. (Click the Exhibit tab.)
The Stream Analytics job fails to receive any messages from the IoT hub. What should you do to resolve the issue?
- A. Enable the Route3 route.
- B. Change the Route1 route query to true.
- C. Enable the fallback route.
- D. Disable the Route2 route.
Answer: B
Explanation:
The device telemetry is usually passed as JSON from the device through the IoT Hub - this is handled nicely by Azure Streaming Analytics queries.
The IoT Hub message routing should be configured as follows: Data source: Device Telemetry Messages Routing query: true (as the routing query is an expression that evaluates to true or false for each received message, the simplest way to send all messages to the endpoint is to just supply true as the query).
Reference:
https://darenmay.com/blog/azure-iot-streaming-analytics-data-lake-analytics-and-json/
NEW QUESTION # 89
You have an Azure IoT hub that has 1,000 registered devices.
You create an Azure logic app.
You need to send Device Connected and Device Disconnected events in real time to the logic app.
What should you do?
- A. From the Diagnostic settings blade of the loT hub. add a diagnostic setting. Route the connection logs to a Log Analytics workspace.
- B. From the Message routing blade of the loT hub. add a route. Route DeviceLifecycleEvents to an Azure Service Bus queue.
- C. From the Events blade of the loThub. add an event subscription. Configure the Filter to Event Types setting and route the events to a webhook.
Answer: C
Explanation:
Reference:
https://sandervandevelde.wordpress.com/2019/12/20/subscribe-your-iothub-to-eventgrid-as-event-source/
NEW QUESTION # 90
You have an existing Azure IoT hub.
You need to connect physical IoT devices to the IoT hub.
You are connecting the devices through a firewall that allows only port 443 and port 80.
Which three communication protocols can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. AMQP
- B. MQTT
- C. HTTPS
- D. AMQP over WebSocket
- E. MQTT over WebSocket
Answer: C,D,E
Explanation:
Explanation
MQTT over WebSockets, AMQP over WebSocket, and HTTPS use port 443.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols
NEW QUESTION # 91
You need to install the Azure IoT Edge runtime on a new device that runs Windows 10 IoT Enterprise.
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:
Explanation:
Explanation:
Step 1: From Azure IoT Hub, create an IoT Edge Device
Step 2: Deploy-IoTEdge
The Deploy-IoTEdge command checks that your Windows machine is on a supported version, turns on the containers feature, and then downloads the moby runtime and the IoT Edge runtime. The command defaults to using Windows containers.
{Invoke-WebRequest -useb https://aka.ms/iotedge-win} | Invoke-Expression; ` Deploy-IoTEdge Step 3: Initialize-IoTEdge The Initialize-IoTEdge command configures the IoT Edge runtime on your machine. The command defaults to manual provisioning with Windows containers.
{Invoke-WebRequest -useb https://aka.ms/iotedge
Step 4: Enter the IoT Edge device connection string.
When prompted, provide the device connection string that you retrieved in step 1. The device connection string associates the physical device with a device ID in IoT Hub.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/module-composition
NEW QUESTION # 92
You enable Azure Security Center for IoT.
You need to onboard a device to Azure Security Center. What should you do?
- A. Install an X.509 certificate on the hardware security module (HSM) of the device.
- B. Add the azureiotsecurity module identity to the Azure IoT Hub device identity.
- C. Modify the connection string of the device.
- D. Open incoming TCP port 8883 on the device.
Answer: B
Explanation:
Explanation
Use the following workflow to deploy and test your Azure Security Center for IoT security agents:
1.Enable Azure Security Center for IoT service to your IoT Hub
2.If your IoT Hub has no registered devices, Register a new device.
3.Create an azureiotsecurity security module for your devices.
Azure Security Center for IoT makes use of the module twin mechanism and maintains a security module twin named azureiotsecurity for each of your devices.
Note: To manually create a new azureiotsecurity module twin for a device use the following instructions:
1.In your IoT Hub, locate and select the device you wish to create a security module twin for.
2.Click on your device, and then on Add module identity.
3.In the Module Identity Name field, enter azureiotsecurity.
4.Click Save.
Reference:
https://docs.microsoft.com/en-us/azure/asc-for-iot/quickstart-create-security-twin
NEW QUESTION # 93
You have an Azure loT solution that contains an Azure IoT hub and the Azure IoT Edge gateways shown in the following table.
You have the leaf devices shown in the following table.
The IoT hub receives the messages shown in the following table.
You plan to a deploy a new Azure Time Series Insight environment.
You need to recommend a Time Series ID property name to ensure that the telemetry of each device will be stored in a separate time series instance.
What should you recommend?
- A. Device ID and Gateway ID
- B. Device ID. Asset ID, and Temperature
- C. Device ID and Asset ID
- D. Device ID
Answer: A
NEW QUESTION # 94
......
Microsoft AZ-220 certification exam is designed for individuals who want to demonstrate their skills in developing and implementing solutions for the Internet of Things (IoT) on Microsoft Azure. Microsoft Azure IoT Developer certification is intended for candidates who have a strong understanding of Azure IoT services, data storage options, and data processing techniques. It also requires proficiency in programming languages such as C# or Python and knowledge of hardware components such as sensors and devices.
AZ-220 Dumps for Pass Guaranteed - Pass AZ-220 Exam: https://www.certkingdompdf.com/AZ-220-latest-certkingdom-dumps.html