Pass AZ-220 Exam in First Attempt Guaranteed 100% Cover Real Exam Questions [Feb-2024]
Valid AZ-220 test answers & Microsoft AZ-220 exam pdf
Microsoft Azure IoT Developer Exam Certification Details:
| Exam Price | $165 (USD) |
| Duration | 120 mins |
| Number of Questions | 40-60 |
| Exam Name | Microsoft Certified - Azure IoT Developer Specialty |
| Exam Code | AZ-220 |
NEW QUESTION # 95
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. Modify the connection string of the device.
- C. Open incoming TCP port 8883 on the device.
- D. Add the azureiotsecurity module identity to the Azure IoT Hub device identity.
Answer: D
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 # 96
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.
5 - Obtain the credential.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/concepts-get-connected
NEW QUESTION # 97
You have an Azure IoT solution that includes an Azure IoT Hub named Hub1 and an Azure IoT Edge device named Edge1. Edge1 connects to Hub1.
You need to deploy a temperature module to Edge1.
What should you do?
- A. From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, and then select Manage Child Devices. From a Bash prompt, run the following command:
az iot edge set-modules -device-id Edge1 -hub-name Hub1 -content C:
\deploymentMan1.json - B. From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, select Device Twin, and then set the deployment manifest as a desired property. From a Bash prompt, run the following command az iot hub monitor-events-device-id Edge1 -hub-name Hub1
- C. Create an IoT Edge deployment manifest that specifies the temperature module and the route to
$upstream. From a Bush prompt, run the following command:
az iot edge set-modules -device-id Edge1 -hub-name Hub1 -content C:
\deploymentMan1.json - D. Create an IoT Edge deployment manifest that specifies the temperature module and the route to
$upstream. From a Bush prompt, run the following command:
az iot hub monitor-events-device-id Edge1 -hub-name Hub1
Answer: C
Explanation:
You deploy modules to your device by applying the deployment manifest that you configured with the module information.
Change directories into the folder where your deployment manifest is saved. If you used one of the VS Code IoT Edge templates, use the deployment.json file in the config folder of your solution directory and not the deployment.template.json file.
Use the following command to apply the configuration to an IoT Edge device:
az iot edge set-modules --device-id [device id] --hub-name [hub name] --content [file path] Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-cli
NEW QUESTION # 98
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. Update desired properties.
- D. Trigger Azure functions.
- E. Send cloud-to-device messages.
- F. Disable IoT device registry entries.
Answer: A,B,C
Explanation:
Explanation
Consider using jobs when you need to schedule and track progress any of the following activities on a set of devices:
* Invoke direct methods
* Update desired properties
* Update tags
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-jobs
NEW QUESTION # 99
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 Blob storage and create an Azure function.
- C. Create a rule that uses an email action.
- D. Perform a data export to Azure Service Bus.
Answer: C
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 # 100
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 are developing a custom Azure IoT Edge module.
The module needs to identify the device ID of the local device.
Solution: You configure the module to read the IOTEDGE_DEVICEID environment variable.
Does this meet the goal?
- A. No
- B. Yes
Answer: A
Explanation:
Explanation
The Azure ID of the current device is available on the IOTEDGE_DEVICEID environment variable.
Instead read the device ID of the device twin.
Note: Device twins are JSON documents that store device state information including metadata, configurations, and conditions. Azure IoT Hub maintains a device twin for each device that you connect to IoT Hub.
Device identity properties. The root of the device twin JSON document contains the read-only properties from the corresponding device identity stored in the identity registry.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins
NEW QUESTION # 101
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.
Answer:
Explanation:
1 - Register a device in IoT Hub
2 - Configure the device connection string on a device client.
3 - Trigger a new send event from a device client.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-register-device
NEW QUESTION # 102
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.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management
NEW QUESTION # 103
HOTSPOT
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.
Hot Area:
Answer:
Explanation:
Explanation/Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-message-enrichments-overview Process and manage data Testlet 2 Case Study 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.
Requirements. Planned Changes
ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub.
The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, and noise level. The devices will be wired by using Power over Ethernet (PoE) connections.
ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production.
Requirements. POV Requirements
The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing:
* Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4.
* Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range.
* Ensure that all message content during this phase is human readable to simplify debugging.
Requirements. Pilot Requirements
During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices.
During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app.
The pilot deployment must minimize operating costs.
Requirements. Production Requirements
The production phase will include all the offices.
The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region.
The production phase must meet the following requirements:
* Ensure that the IoT solution can support performance and scale targets.
* Ensure that the IoT solution support up to 1,000 devices per office.
* Minimize operating costs of the IoT solution.
Requirements. Technical Requirements
Datum identifies the following requirements for the planned IoT solution:
* The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert.
* A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system.
* Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately.
* Multiple types of devices will collect telemetry that has different schemas.
* IoT Hub must perform message routing based on the message body.
* Direct methods must be used for cloud-to-device communication.
* Reports must be provided monthly, quarterly, and annually.
* Stored data queries must be as efficient as possible.
* The device message size will be under 4 KB.
* Development effort must be minimized.
Requirements. Throttle and Quotas
The relevant throttles and quotas for various IoT Hub tiers are shown in the following table.
Requirements. IoT Hub Routing
You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit.
NEW QUESTION # 104
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.
mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0
- A. mcr.microsoft.com/iotedgedev:2.0
- B. mcr.microsoft.com/azureiotedge-hub:1.0
- C. mcr.microsoft.com/azureiotedge-agent:1.0
- D. mycr.azurecr.io/temperature-module:latest
Answer: A,B,D
Explanation:
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
NEW QUESTION # 105
Your company is creating a new camera security system that will use Azure IoT Hub.
You plan to use an Azure IoT Edge device that will run Ubuntu Server 18.04.
You need to configure the IoT Edge 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.
Answer:
Explanation:
1 - Run the following commands
2 - From Iot Hub,create an IoT Edge device registry entry.
3 - Add the connection string to..
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux
NEW QUESTION # 106
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?
- A. No
- B. yes
Answer: A
Explanation:
Instead update the twin desired property and check the corresponding reported property.
Note: 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 # 107
You have an Azure 10T solution that includes an loT device named Device1.
You need to enable an loT Plug and Play app for Device1.
How should you complete the device connection? To answer select the appropriate options m the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 108
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 # 109
You have an Azure IoT Central application.
You need to connect an IoT device to the application.
Which two settings do you require in IoT Central to configure the device? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Group SAS Primary Key
- B. Scope ID
- C. the IoT hub name
- D. Device ID
- E. Application Name
Answer: B,D
Explanation:
Explanation
In your Azure IoT Central application, add a real device to the device template
1. On the Devices page, select the Environmental sensor device template.
2. Select + New.
3. Make sure that Simulated is Off. Then select Create.
Click on the device name, and then select Connect. Make a note of the device connection information on the Device Connection page - ID scope, Device ID, and Primary key. You need these values when you create your device code:
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/iot-central/core/tutorial-connect-device-python
NEW QUESTION # 110
You have an Azure IoT solution that includes a standard tier Azure IoT hub and an IoT device.
The device sends one 100-KB device-to-cloud message every hour.
You need to calculate the total daily message consumption of the device. What is the total daily message consumption of the device?
- A. 0
- B. 2,400
- C. 1
- D. 4,800
Answer: A
Explanation:
100 KB * 24 is around 2,400 bytes.
The 100 KB message is divided into 4 KB blocks, and it is billed for 25 messages. 25 times 24 is 600 Note: The maximum message size for messages sent from a device to the cloud is 256 KB. These messages are metered in 4 KB blocks for the paid tiers so for instance if the device sends a 16 KB message via the paid tiers it will be billed as 4 messages.
Reference:
https://azure.microsoft.com/en-us/pricing/details/iot-hub/
NEW QUESTION # 111
You need to configure device access to the loT What should you use?
- A. Azure Application Gateway
- B. private endpoints
- C. network security groups (NSGs)
- D. IP Filter
Answer: A
NEW QUESTION # 112
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 question, 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 add tags to the device twin. Does the solution meet the goal?
- A. No
- B. Yes
Answer: A
NEW QUESTION # 113
During the POV phase, telemetry from IoT Hub stops flowing to the hot path. The cold path continues to work.
What should you do to restore the hot path?
- A. Create an explicit route for the hot path.
- B. Run the Test all routes action.
- C. Modify cold-route to send only some telemetry data to the cold path.
- D. Disable the fallback route.
Answer: A
NEW QUESTION # 114
......
The Microsoft AZ-220 exam is conducted online and consists of around 40-60 multiple-choice questions. Candidates have 150 minutes to complete the exam and must achieve a passing score of 700 or above to earn the certification. Upon passing the exam, candidates will receive the Microsoft Azure IoT Developer certification, which is a valuable asset for career growth in IoT development.
AZ-220 Exam Questions – Valid AZ-220 Dumps Pdf: https://www.testkingfree.com/Microsoft/AZ-220-practice-exam-dumps.html
Verified AZ-220 dumps Q&As - Pass Guarantee: https://drive.google.com/open?id=1395lH93r8DPb9DgcpNb-pw7UdRZzZAhq