AZ-220Free trialFree trial

By microsoft
Aug, 2025

Verified

25Q per page

Question 1

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

Question 2

You create an Azure IoT hub by running the following command. az iot hub create --resource-group MyResourceGroup --name MyIotHub --sku B1 --location westus --partition-count 4
What does MylotHub support?

  • A: Device Provisioning Service
  • B: cloud-to-device messaging
  • C: Azure IoT Edge
  • D: device twins

Question 3

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: MQTT over WebSocket
  • B: AMQP
  • C: AMQP over WebSocket
  • D: MQTT
  • E: HTTPS

Question 4

You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices.
You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443.
You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs.
What should you do?

  • A: Configure the upstream protocol of the devices to use MQTT over TCP.
  • B: Configure the upstream protocol of the devices to use MQTT over WebSocket.
  • C: Connect the external networks to the IoT solution by using ExpressRoute.
  • D: Integrate cellular communication hardware onto the devices and avoid the use of the external networks.

Question 5

You have 100 devices that connect to an Azure IoT hub named Hub1. The devices connect by using a symmetric key.
You deploy an IoT hub named Hub2.
You need to migrate 10 devices from Hub1 to Hub2. The solution must ensure that the devices retain the existing symmetric key.
What should you do?

  • A: Add a desired property to the device twin of Hub2. Update the endpoint of the 10 devices to use Hub2.
  • B: Add a desired property to the device twin of Hub1. Recreate the device identity on Hub2.
  • C: Recreate the device identity on Hub2. Update the endpoint of the 10 devices to use Hub2.
  • D: Disable the 10 devices on Hub1. Update the endpoint of the 10 devices to use Hub2.

Question 6

DRAG DROP -
You have an Azure subscription that contains an Azure IoT hub and 100 IoT devices.
The devices connect to the IoT hub by using the Advanced Message Queuing Protocol (AMQP) protocol and authenticate to the IoT hub by using symmetric keys.
You need to configure the SASL PLAIN username for the AMQP connection.
How should you configure the username? To answer, drag the appropriate options to the correct targets. Each option 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.
Select and Place:

Image 1

Question 7

You are configuring a production environment for an Azure IoT solution.
You plan to deploy 1,000 IoT devices. Each device will send one device-to-cloud message every hour. Each message will be 4 KB.
You need to deploy an Azure IoT hub that will support the IoT device deployment. The solution must meet the following requirements:
✑ Perform bulk device operations such as creating multiple device identities.
✑ Minimize costs
What should you deploy?

  • A: one unit of the B1 tier
  • B: one unit of the free tier
  • C: one unit of the S1 tier
  • D: one unit of the S2 tier

Question 8

You have an Azure IoT hub that receives messages from an IoT device. The messages are serialized as Protobuf.

You need the IoT hub to route the messages.

What should you do first?

  • A: From the Azure portal, add desired properties to the device twin.
  • B: Configure the IoT device to add application properties to the messages.
  • C: From the Azure portal, configure the IoT hub to add message enrichments.
  • D: Configure the IoT device to add ASCII-encoded properties to the body of the messages.

Question 9

You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices.

You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443.

You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs.

What should you do?

  • A: Configure the upstream protocol of the devices to use MQTT over TCP.
  • B: Configure the upstream protocol of the devices to use AMQP over WebSocket.
  • C: Connect the external networks to the IoT solution by using ExpressRoute.
  • D: Integrate cellular communication hardware onto the devices and avoid the use of the external networks.

Question 10

DRAG DROP

You have an Azure subscription that contains an Azure IoT hub and 100 IoT devices.

The devices connect to the IoT hub by using the Message Queuing Telemetry Transport (MQTT) protocol and authenticate to the IoT hub by using symmetric keys.

You need to configure the username and password for the MQTT connection.

What should you use? To answer, drag the appropriate components to the correct targets. Each component 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.

Image 1

Question 11

You are developing a proof of concept (POC) for a customer.

You need to deploy an Azure IoT solution that meets the following requirements:

• Registers two Azure MXCHIP IoT DevKit devices
• Minimizes costs and deployment effort
• Registers a simulated device

What should you do?

  • A: Create an Azure event hub. Run the az iot hub device-identity create command for each device.
  • B: Create two Azure IoT hubs. Register the IoT DevKit devices and simulate the devices to different IoT hubs.
  • C: Create an Azure IoT hub. Run the az iot device-identity create command for each device.
  • D: Create an Azure IoT hub. Run the az iot hub monitor-events command for each device.

Question 12

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?

  • A: Yes
  • B: No

Question 13

You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices.

You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443.

You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs.

What should you do?

  • A: Configure the upstream protocol of the devices to use MQTT over TCP.
  • B: Configure the upstream protocol of the devices to use AMQP over WebSocket.
  • C: Connect the devices to use an HTTPS proxy.
  • D: Integrate cellular communication hardware onto the devices and avoid the use of the external networks.

Question 14

HOTSPOT

You have an Azure subscription that contains the following Azure IoT hub:

• Name: Hub1
• Tier: S1
• Number of units: 14

The subscription has the tiers and unit costs shown in the following table.

Image 1

You have 60 IoT devices that connect to Hub1. Each IoT device sends a single 1-KB message to Hub1 per second.

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

NOTE: Each correct selection is worth one point.

Image 2

Question 15

HOTSPOT

You create an Azure IoT hub as shown in the following exhibit.

Image 1

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

NOTE: Each correct selection is worth one point.

Image 2

Question 16

DRAG DROP

You are building an IoT device management application by using the Azure IoT Hub Service SDK.

You need to configure the application to send instructions via an IoT hub to IoT devices.

How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value 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.

Image 1

Question 17

You have an Azure IoT solution that includes an Azure IoT hub. The hub has the following configurations:

• Name: IoTHub1
• Retain for: 1 Day
• Azure region: East US
• Number of IoT hub units: 1
• Pricing and scale tier: B1 - Basic
• Consumer groups: $Default Only
• Connectivity method: Public endpoint (all networks)

You need to ensure that the solution supports IoT Hub jobs that update device twin properties.

What should you do first?

  • A: Create a device twin.
  • B: Create a module twin.
  • C: Create a shared access policy.
  • D: Upgrade to a standard tier IoT hub.

Question 18

You have an Azure subscription that contains the Azure IoT hubs shown in the following table.

Image 1

You plan to evaluate the Microsoft Defender for IoT agent-based solution in Built-in mode.

Which IoT hubs can you use for the evaluation?

  • A: Hub4 only
  • B: Hub3 and Hub4 only
  • C: Hub2, Hub3, and Hub4 only
  • D: Hub1, Hub2, Hub3, and Hub4

Question 19

You have an Azure IoT solution that contains an Azure IoT hub in the S1 - Standard-tier. The IoT hub has four built-in event endpoint partitions.

You need to increase the number of partitions to eight. The solution must minimize administrative effort.

What should you do?

  • A: From the Pricing and scale blade of the IoT hub, change the tier to S2 - Standard.
  • B: From the Pricing and scale blade of the IoT hub, increase the number of IoT Hub units to eight.
  • C: Create a new IoT hub and set Device-to-cloud partitions to eight.
  • D: Create a new IoT hub and set the number of IoT Hub units to eight.

Question 20

HOTSPOT

You have an Azure IoT solution that includes an IoT device named Device1.

You are creating an IoT Plug and Play model for Device1.

On Device1, you create a device model file in a folder named dtmi/com/source/.

How should you complete the model? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Image 1

Question 21

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?

  • A: Yes
  • B: No

Question 22

HOTSPOT -
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.

Image 1

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.
Hot Area:

Image 2

Question 23

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?

  • A: a device-to-cloud message
  • B: the device twin reported properties
  • C: a cloud-to-device message
  • D: a direct method

Question 24

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.

  • A: Upload Sensors.csv by using the IoT Hub REST API.
  • B: From the Azure subscription, select the IoT hub, select Message routing, and then configure a route to storage.
  • C: From the Azure subscription, select the IoT hub, select File upload, and then configure a storage container.
  • D: Configure the device to use a GET request to ContosoHub.azure-devices.net/devices/ContosoDevice1/files/notifications.

Question 25

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?

  • A: one unit of the S1 tier
  • B: one unit of the B2 tier
  • C: one unit of the B1 tier
  • D: one unit of the S3 tier
Page 1 of 9 • Questions 1-25 of 220

Free preview mode

Enjoy the free questions and consider upgrading to gain full access!