Free AZ-220: Microsoft Azure IoT Developer Exam Questions and Answers
Microsoft Azure IoT Developer is exam AZ-220, part of Microsoft Certifications. Microsoft exam codes name the solution area rather than the level — AZ for Azure, DP for data, MS for Microsoft 365, PL for Power Platform, SC for security, AI for Azure AI — with one reliable rule: any exam numbered 900 or 901 is Fundamentals. Every technical exam is scored from 1 to 1000 with 700 to pass, a scaled score Microsoft notes is explicitly not 70% of the marks.
Looking for AZ-220 exam dumps or ExamTopics AZ-220 questions? These AZ-220 practice questions cover the same ground with verified answers and explanations, a downloadable AZ-220 PDF and a full AZ-220 practice test, kept current as Microsoft updates the exam.
Last updated: October 6, 2026
- Exam code
- AZ-220
- Provider
- Microsoft
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
You plan to deploy Azure Time Series Insights. What should you create on iothub1 before you deploy Time Series Insights?
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
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
You have an Azure IoT solution that includes several Azure IoT hubs. A new alerting feature was recently added to the IoT devices. The feature uses a new device twin reported property named alertCondition. You need to send alerts to an Azure Service Bus queue named MessageAlerts. The alerts must include alertCondition and the name of the IoT hub. Which two actions should you perform? Each Answer presents part of the solution. NOTE: Each correct selection is worth one point.
Correct answer: C
Explanation
B: Message enrichments is the ability of the IoT Hub to stamp messages with additional information before the messages are sent to the designated endpoint. One reason to use message enrichments is to include data that can be used to simplify downstream processing. For example, enriching device telemetry messages with a device twin tag can reduce load on customers to make device twin API calls for this information. D: Applying enrichments The messages can come from any data source supported by IoT Hub message routing, including the following examples: -->device twin change notifications -- changes in the device twin device telemetry, such as temperature or pressure device life-cycle events, such as when the device is created or deleted Reference: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
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.
Select 3 answers.
Correct answer: A, C, E
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
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
You have 10 IoT devices that connect to an Azure IoT hub named Hub1. From Azure Cloud Shell, you run az iot hub monitor-events --hub-name Hub1 and receive the following error message: "az iot hub: 'monitor-events' is not in the 'az iot hub' command group. See 'az iot hub --help'." You need to ensure that you can run the command successfully. What should you run first?
Correct answer: D
Explanation
Execute az extension add --name azure-cli-iot-ext once and try again. In order to read the telemetry from your hub by CLI, you have to enable IoT Extension with the following commands: Add: az extension add --name azure-cli-iot-ext Reference: https://github.com/MicrosoftDocs/azure-docs/issues/20843
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
From the Device Provisioning Service, you create an enrollment as shown in the exhibit. (Click the Exhibit tab.) You need to deploy a new IoT device. What should you use as the device identity during attestation?

Correct answer: C
Explanation
Each device uses its derived device key with your unique registration ID to perform symmetric key attestation with the enrollment during provisioning. To generate the device key, use the key you copied from your DPS enrollment to compute an HMAC-SHA256 of the unique registration ID for the device and convert the result into Base64 format. Reference: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-symmetric-keys
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
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?
Correct answer: A
Explanation
Instead add the desired properties to the device twin. Note: Device Twins are used to synchronize state between an IoT solution's cloud service and its devices. Each device's twin exposes a set of desired properties and reported properties. The cloud service populates the desired properties with values it wishes to send to the device. When a device connects it requests and/or subscribes for its desired properties and acts on them. Reference: https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-notifications-and-device-twin/
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
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?
Correct answer: B
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/
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
You have 1,000 devices that connect to a standard tier Azure IoT hub. All the devices are commissioned and send telemetry events to the built-in IoT Hub endpoint. You configure message enrichment on the events endpoint and set the enrichment value to $twin.tags.ipV4. When you inspect messages on the events endpoint, you discover that all the messages are stamped with a string of "$twin.tags.ipV4". What are two possible causes of the issue? Each Answer presents a complete solution. NOTE: Each correct selection is worth one point.
Select 2 answers.
Correct answer: C, E
Explanation
In some cases, if you are applying an enrichment with a value set to a tag or property in the device twin, the value will be stamped as a string value. For example, if an enrichment value is set to $twin.tags.field, the messages will be stamped with the string "$twin.tags.field" rather than the value of that field from the twin. This happens in the following cases: (C) Your IoT Hub is in the standard tier, but the device sending the message has no device twin. (E) Your IoT Hub is in the standard tier, but the device twin path used for the value of the enrichment does not exist. For example, if the enrichment value is set to $twin.tags.location, and the device twin does not have a location property under tags, the message is stamped with the string "$twin.tags.location". Your IoT Hub is in the basic tier. Basic tier IoT hubs do not support device twins. Reference: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
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.
Select 3 answers.
Correct answer: B, D, E
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
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
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 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 the desired properties to the device twin. Does the solution meet the goal?
Correct answer: B
Explanation
Device Twins are used to synchronize state between an IoT solution's cloud service and its devices. Each device's twin exposes a set of desired properties and reported properties. The cloud service populates the desired properties with values it wishes to send to the device. When a device connects it requests and/or subscribes for its desired properties and acts on them. Reference: https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-notifications-and-device-twin/
Continue with AZ-220: Microsoft Azure IoT Developer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in AZ-220: Microsoft Azure IoT Developer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther Microsoft certifications
- AZ-500: Microsoft Azure Security Technologies (opens in a new tab)
- MS-101: Microsoft 365 Mobility and Security (opens in a new tab)
- MS-102: Microsoft 365 Administrator (beta) (opens in a new tab)
- MS-100: Microsoft 365 Identity and Services (opens in a new tab)
- PL-900: Microsoft Power Platform Fundamentals (opens in a new tab)
- AZ-305: Designing Microsoft Azure Infrastructure Solutions (opens in a new tab)
- MS-900: Microsoft 365 Fundamentals (opens in a new tab)
- AZ-400: Microsoft Azure DevOps Solutions (opens in a new tab)
- AZ-900: Microsoft Azure Fundamentals (opens in a new tab)
- 70-740: Installation, Storage, and Compute with Windows Server 2016 (opens in a new tab)
- MD-102: Endpoint Administrator (beta) (opens in a new tab)
- PL-300: Microsoft Power BI Data Analyst (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://learn.microsoft.com/en-us/credentials/
- Q1: What is the AZ-220: Microsoft Azure IoT Developer exam?
- A: AZ-220: Microsoft Azure IoT Developer is a Microsoft certification exam. Judging by the questions in our bank, it concentrates on azure, edge, hub1, enrollment and series.
- Q2: What topics does the AZ-220: Microsoft Azure IoT Developer exam cover?
- A: Questions in our AZ-220: Microsoft Azure IoT Developer bank cluster around azure, edge, hub1, enrollment, series, provisioning, named and device1. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for AZ-220: Microsoft Azure IoT Developer?
- A: Work through the AZ-220: Microsoft Azure IoT Developer practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q4: Are these real AZ-220: Microsoft Azure IoT Developer exam questions?
- A: They are drawn from officially released past questions and from community members who have sat AZ-220: Microsoft Azure IoT Developer. Answers are verified and updated weekly.
- Q5: Where do I register for the AZ-220: Microsoft Azure IoT Developer exam?
- A: Register through Microsoft directly at https://learn.microsoft.com/en-us/credentials/. Exampractice is not affiliated with Microsoft and does not administer the exam.
- Q6: Is there a free AZ-220: Microsoft Azure IoT Developer sample?
- A: Yes. Every AZ-220: Microsoft Azure IoT Developer page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: What are Microsoft Certification Exams?
- A: Microsoft Certification Exams validate your expertise in using and managing Microsoft’s technologies and solutions, including Azure, Office 365, Windows, and more. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Microsoft products to support business operations and IT infrastructure.
- Q8: Why should I pursue Microsoft Certification?
- A: Microsoft Certification enhances your professional credibility, showcasing your skills and knowledge in Microsoft technologies. This can lead to better job opportunities, higher salaries, and career advancement in IT, cloud computing, software development, and related fields.
- Q9: What are the benefits of Microsoft Certification?
- A: Benefits include recognition as a certified Microsoft professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Microsoft technologies and best practices.
- Q10: Who should take Microsoft Certification Exams?
- A: IT professionals, system administrators, developers, cloud engineers, data analysts, and anyone involved in managing and implementing Microsoft solutions should consider these certifications to validate their expertise and advance their careers.
- Q11: What types of Microsoft Certification Exams are available?
- A: Microsoft offers various certification paths, including:
- Q12: How do I prepare for Microsoft Certification Exams?
- A: Preparation can include official Microsoft training courses, study guides, practice exams, online tutorials, and hands-on experience with Microsoft products and solutions.
- Q13: Where can I take Microsoft Certification Exams?
- A: Microsoft Certification Exams can be taken online with remote proctoring or at authorized Pearson VUE testing centers worldwide, providing flexibility to fit your schedule and location.
- Q14: How do Microsoft Certifications impact my career?
- A: Microsoft Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, cloud computing, software development, and other tech-related fields.
- Q15: Are there any prerequisites for Microsoft Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Microsoft products. Check the specific requirements for each certification path on the Microsoft Learn website.
- Q16: How often do I need to recertify for Microsoft Certifications?
- A: Microsoft Certifications typically require renewal every year or two, depending on the certification, to ensure that certified professionals stay updated with the latest technologies and industry practices.



