Microsoft Azure IoT Developer Exam (AZ-220) - Microsoft

Exam Questions

94%

Students found the real exam almost the same

1,057

Students passed this exam after ExamsQA Prep

95.1%

Average score during Real Exams at the Testing Centre

💡

Browse at least 50% questions to maximize your chances of passing

Free Preview Questions

Sample AZ-220 Exam Questions & Explanations

Practice with real question formats, multiple choice options, and detailed answer explanations for Microsoft AZ-220.

Question #1 Verified Q&A
You create a new IoT device named device1 on iothub1. Device1 has a primary key of Uihuih76hbHb. HOTSPOT How should you complete the device connection string? To answer, select the appropriate options in<br />
<br />
NOTE: Each correct selection is worth one point. the answer area.<br />
<br />
<img src="https://examsqa.com/storage/question-images/microsoft-azure-iot-developer-exam-az-220_page_6_Im4.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" />
Explanation:
<img src="https://examsqa.com/storage/question-images/microsoft-azure-iot-developer-exam-az-220_page_7_Im5.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
Box 1: iothub1 The Azure IoT hub is named iothub1. Box 2: azure-devices.net<br />
<br />
The format of the device connection string looks like:<br />
HostName={YourIoTHubName}.azure-<br />
devices.net;DeviceId=MyNodeDevice;SharedAccessKey={YourSharedAccessKey}<br />
Box 1: device1 Device1 has a primary key of Uihuih76hbHb.<br />
<br />
Reference: https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-dotnet
Question #2 Verified Q&A
What should you do to identify the cause of the connectivity issues?
A Use the heartbeat pattern to send messages from the IoT devices to iothub1.
B Monitor the connection status of the device twin by using an Azure function.
C Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric.
D Send cloud-to-device messages to the IoT devices.
Correct Answer: Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric.
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.<br />
<br />
Step 1:<br />
<br />
1. Sign in to the Azure portal.<br />
<br />
2. Browse to your IoT hub.<br />
<br />
3. Select Diagnostics settings.<br />
<br />
4. Select Turn on diagnostics.<br />
<br />
5. Enable Connections logs to be collected.<br />
<br />
6. For easier analysis, turn on Send to Log Analytics (see pricing).<br />
<br />
Step 2:<br />
Set up alerts for device disconnect at scale To get alerts when devices disconnect, configure alerts on the Connected devices (preview) metric.<br />
<br />
Reference: https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-troubleshoot-connectivity
Question #3 Verified Q&A
You plan to deploy Azure Time Series Insights.<br />
<br />
What should you create on iothub1 before you deploy Time Series Insights?
A a new consumer group
B a new shared access policy
C an IP filter rule
D a new message route
Correct Answer: a new consumer group
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.<br />
<br />
Reference: https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-how-to-add-an- event-source- iothub
Question #4 Verified Q&A
How should you complete the GROUP BY clause to meet the Streaming Analytics requirements?
A GROUP BY TumblingWindow(Second, 30)
B GROUP BY SlidingWindow(Second, 30)
C GROUP BY SessionWindow(Second, 30, 60)
D GROUP BY HoppingWindow(Second, 60, 30)
Correct Answer: GROUP BY TumblingWindow(Second, 30)
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.<br />
<br />
InAnswers: 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.<br />
<br />
Reference: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions
Question #5 Verified Q&A
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.<br />
<br />
NOTE: Each correct selection is worth one point.<br />
<br />
<img src="https://examsqa.com/storage/question-images/microsoft-azure-iot-developer-exam-az-220_page_11_Im6.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" />
Explanation:
<img src="https://examsqa.com/storage/question-images/microsoft-azure-iot-developer-exam-az-220_page_12_Im7.jpg" alt="Exhibit" style="max-width: 100%; height: auto;" /><br />
<br />
Reference: https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-message-enrichments-overview

Want to practice all 204 questions?

Practice under real exam conditions with instant grading, timed simulations, and community insights.

Start Full AZ-220 Practice Test

Frequently Asked Questions

Common questions about the Microsoft AZ-220 certification practice test

How many questions are in the Microsoft AZ-220 practice exam on ExamsQA?
Our AZ-220 (Microsoft Azure IoT Developer Exam) practice question bank currently includes 204 verified questions with comprehensive explanations.
Are the AZ-220 exam practice questions up to date for 2026?
Yes, all Microsoft AZ-220 practice questions are regularly updated and verified against current exam objectives.
Will the AZ-220 practice questions help me pass on my first attempt?
The AZ-220 (Microsoft Azure IoT Developer Exam) question bank is built to mirror the real exam's format and topics, with detailed explanations for every answer so you understand the reasoning — not just memorize responses.
Is there a free demo available for AZ-220 Microsoft Azure IoT Developer Exam?
Yes, ExamsQA offers free demo questions for the AZ-220 exam so you can test the interface and question quality before purchasing full access.