All Practice Exams

100+ Free Azure IoT Developer (AZ-220) Practice Questions

Pass your Microsoft Azure IoT Developer Specialty (AZ-220) exam on the first try — instant access, no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
Not publicly published Pass Rate
100+ Questions
100% Free
1 / 100
Question 1
Score: 0/0

Which Azure IoT Hub tier is REQUIRED to use IoT Hub message routing, device twins, and Azure IoT Edge module deployment?

A
B
C
D
to track
2026 Statistics

Key Facts: Azure IoT Developer (AZ-220) Exam

Retired

AZ-220 status

Microsoft Learn exam page (retired 2023-07-31)

7

Skill areas

Microsoft Learn study guide

20-25%

Largest weight (IoT Edge)

Microsoft Learn

100 min

Historical duration without labs

Microsoft exam-experience page

700/1000

Historical passing score

Microsoft scaled passing score policy

US$165

Historical US fee

Not currently bookable

Mar 31 2025

TSI retirement (use Fabric RTI / ADX)

Microsoft Learn

100

Free practice questions

OpenExamPrep set

AZ-220 retired on July 31, 2023, along with the Microsoft Certified: Azure IoT Developer Specialty credential. There is no successor exam and the renewal assessment is also retired. Use this 100-question study set to validate working knowledge of IoT Hub, DPS, IoT Edge, device twins, message routing, Stream Analytics, Azure Digital Twins, IoT Central, Defender for IoT, and the modern 2026 successors (Microsoft Fabric Real-Time Intelligence and Azure Data Explorer for telemetry analytics, replacing the now-retired Time Series Insights).

Sample Azure IoT Developer (AZ-220) Practice Questions

Try these sample questions to test your Azure IoT Developer (AZ-220) exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1Which Azure IoT Hub tier is REQUIRED to use IoT Hub message routing, device twins, and Azure IoT Edge module deployment?
A.Free (F1)
B.Basic (B1/B2/B3)
C.Standard (S1/S2/S3)
D.Premium
Explanation: Standard tier IoT Hubs (S1/S2/S3) support the full feature set: device twins, module twins, message routing, IoT Edge deployments, cloud-to-device messages, direct methods, and file uploads. Per the Microsoft Learn IoT Hub scaling article, Basic tier is intentionally limited (no twins, no IoT Edge, no C2D messaging) for one-way device-to-cloud telemetry.
2A developer registers a new device in IoT Hub using SAS authentication. Which value, combined with the device ID and the IoT Hub hostname, lets the device generate a SAS token to connect?
A.The IoT Hub iothubowner connection string
B.The device's primary symmetric key
C.The TPM endorsement key
D.The DPS scope ID
Explanation: For SAS-based device authentication, the device uses its primary or secondary symmetric key (provisioned in the IoT Hub identity registry) plus the IoT Hub hostname and device ID to compute a SAS token. The Microsoft Learn 'Control access to IoT Hub' page documents this flow.
3You need IoT Hub to route only telemetry messages whose body contains a temperature property greater than 30 to a Service Bus queue endpoint. What should you configure?
A.A custom endpoint plus a routing query 'temperature > 30' on data source DeviceMessages
B.A built-in events endpoint with a fallback route
C.A device twin desired property change with a query on reported properties
D.A storage container endpoint with a SQL query against blobs
Explanation: IoT Hub message routing requires a custom endpoint (Storage, Service Bus queue/topic, or Event Hubs) plus a route whose query is evaluated against message properties or body. For body queries, the message must use contentType=application/json and contentEncoding=utf-8. The query 'temperature > 30' on the DeviceMessages data source filters telemetry as required.
4An IoT Hub message contains a JSON body but the routing query 'temperature > 30' never matches. What is the MOST likely cause?
A.The IoT Hub uses Standard tier
B.The device sends the message without contentType=application/json and contentEncoding=utf-8
C.The route uses a Service Bus queue endpoint
D.The route is an enrichment, not a routing rule
Explanation: For IoT Hub routing to evaluate the message body, the device SDK must set contentType to 'application/json' and contentEncoding to 'utf-8' (or utf-16/utf-32). Without these system properties, IoT Hub treats the body as opaque and only properties-based queries work, as documented in 'IoT Hub message routing query syntax' on Microsoft Learn.
5What happens to telemetry messages that do not match any custom IoT Hub route when the fallback route is enabled?
A.They are dropped silently
B.They are sent to the built-in Event Hub-compatible endpoint
C.They are sent to Azure Event Grid
D.They are stored in the device twin
Explanation: The fallback route forwards all DeviceMessages that do not match any other route to the built-in Event Hub-compatible 'events' endpoint. If you disable the fallback route, unmatched messages are dropped. This is documented in 'IoT Hub message routing' on Microsoft Learn.
6Which IoT Hub endpoint type should you choose to capture all routed telemetry as JSON files in a hierarchical, partitioned folder layout for batch analytics?
A.Service Bus queue
B.Service Bus topic
C.Event Hubs
D.Azure Storage container with file format JSON and the default {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm} pattern
Explanation: Azure Storage container endpoints support batch capture with configurable file format (Avro or JSON), batch frequency, and a path naming pattern that includes IoT hub name, partition, year, month, day, hour, and minute. JSON capture requires the messages to declare contentType=application/json and contentEncoding=utf-8.
7You want to react to device lifecycle events (DeviceConnected, DeviceDisconnected, DeviceCreated, DeviceDeleted) with a serverless workflow. Which integration is the simplest, push-based path?
A.Poll the IoT Hub identity registry every minute
B.Subscribe to IoT Hub events via Azure Event Grid
C.Read the operations monitoring messages stream
D.Use a Stream Analytics job on the events endpoint
Explanation: IoT Hub publishes device lifecycle and telemetry events to Azure Event Grid. You can subscribe Functions, Logic Apps, Event Hubs, or webhooks to those events with filters, enabling push-based serverless workflows without polling. This is documented in 'React to IoT Hub events by using Event Grid' on Microsoft Learn.
8A back-end service must receive cloud-to-device feedback messages and read all device twin updates without being able to send commands or modify the registry. Which IoT Hub shared access policy is BEST?
A.iothubowner
B.service
C.registryRead
D.registryReadWrite
Explanation: IoT Hub provides built-in policies: iothubowner (full), service (service connect for C2D and feedback), device (device connect), registryRead, and registryReadWrite. To receive feedback and read twins without write or device-level rights, the 'service' policy is most often used; if the question requires the LEAST privileged option for read-only registry access, registryRead is correct. Note: the question asks for read-only registry access without command sending, which matches registryRead.
9What is the maximum size of a single device-to-cloud telemetry message in IoT Hub?
A.4 KB
B.64 KB
C.256 KB
D.1 MB
Explanation: IoT Hub limits a single device-to-cloud message to 256 KB across all tiers. Larger payloads should use the IoT Hub file upload feature, which streams the file to Azure Storage and notifies the back end via the file-upload notifications queue. This is documented in the 'IoT Hub quotas and throttling' page on Microsoft Learn.
10A device must upload a 50 MB diagnostic log to the cloud once per day. Which IoT Hub feature should the device use?
A.A device-to-cloud telemetry message
B.A direct method response
C.The IoT Hub file upload feature configured with a linked Azure Storage account
D.A device twin reported property
Explanation: IoT Hub file upload is purpose-built for large payloads. The device requests a SAS URI from IoT Hub, uploads the blob directly to a linked Azure Storage account, then notifies IoT Hub of completion. IoT Hub can publish a file-upload notification to back-end services. This is the only supported way to move multi-megabyte payloads through IoT Hub.

About the Azure IoT Developer (AZ-220) Exam

AZ-220 was the certification exam for the Microsoft Certified: Azure IoT Developer Specialty. Microsoft retired both AZ-220 and the certification on July 31, 2023, and the renewal assessment is also retired. This free practice set covers the same Azure IoT skill areas (IoT Hub, Device Provisioning Service, IoT Edge, business integration including Azure Digital Twins and IoT Central, data processing including Stream Analytics and Microsoft Fabric Real-Time Intelligence, monitoring and troubleshooting, and security including Microsoft Defender for IoT). It is intended for self-learners who want to validate Azure IoT knowledge for job-readiness even though the credential itself is no longer offered.

Assessment

Free study set of 100 multiple-choice questions across the seven retired AZ-220 skill areas. The live exam historically used 40-60 mixed-format items including case studies, drag-and-drop, build list, hot area, and may have included labs.

Time Limit

Historically: 100 minutes (Microsoft role-based exams without labs) or 120 minutes when labs were included. Not bookable since 2023-07-31 retirement.

Passing Score

Historically 700 / 1000 (Microsoft scaled passing score; not publicly published per-exam after retirement)

Exam Fee

Not currently bookable. Historically US$165 in the United States per Microsoft pricing for role-based and specialty exams; localized pricing varied by region. (Microsoft)

Azure IoT Developer (AZ-220) Exam Content Outline

15-20%

Set up the Azure IoT Hub solution infrastructure

Create and configure IoT Hub, choose a tier, set up message routing with custom endpoints (Storage, Service Bus, Event Hubs), configure the fallback route, integrate with Event Grid, and apply enrichments and IoT Hub Streams.

15-20%

Provision and manage devices

Use the Device Provisioning Service for individual and group enrollments with SAS, X.509, and TPM attestation. Apply allocation policies (static, evenly weighted, lowest latency, custom Azure Function), manage reprovisioning, and handle geo-resilience.

20-25%

Implement IoT Edge

Author deployment manifests with edgeAgent, edgeHub, and custom modules. Configure routes, restart policies, layered deployments, store-and-forward, disk space, nested gateways, and ASA on IoT Edge.

5-10%

Implement business integration

Integrate with Azure Digital Twins (DTDL models, twins, relationships, ADT queries, event routes), IoT Central, IoT Plug and Play, and Azure Functions IoT Hub triggers.

10-15%

Process and manage data

Build Stream Analytics jobs with tumbling, hopping, sliding, and session windows, anomaly detection (SpikeAndDip and ChangePoint), reference data, and geospatial functions. Use Microsoft Fabric Real-Time Intelligence and Azure Data Explorer for the post-Time Series Insights world.

10-15%

Monitor, troubleshoot, and optimize IoT solutions

Use Azure Monitor diagnostic logs, IoT Hub metrics, distributed tracing into Application Insights, the az iot CLI extension, iotedge check and iotedge list, and Azure IoT Explorer.

10-15%

Implement security

Configure X.509 certificate authentication, Key Vault integration, Microsoft Entra (Azure AD) RBAC, minimum TLS version enforcement, IP filters, Private Endpoint, and Microsoft Defender for IoT for both micro-agent and OT/ICS network monitoring.

How to Pass the Azure IoT Developer (AZ-220) Exam

What You Need to Know

  • Passing score: Historically 700 / 1000 (Microsoft scaled passing score; not publicly published per-exam after retirement)
  • Assessment: Free study set of 100 multiple-choice questions across the seven retired AZ-220 skill areas. The live exam historically used 40-60 mixed-format items including case studies, drag-and-drop, build list, hot area, and may have included labs.
  • Time limit: Historically: 100 minutes (Microsoft role-based exams without labs) or 120 minutes when labs were included. Not bookable since 2023-07-31 retirement.
  • Exam fee: Not currently bookable. Historically US$165 in the United States per Microsoft pricing for role-based and specialty exams; localized pricing varied by region.

Keys to Passing

  • Complete 500+ practice questions
  • Score 80%+ consistently before scheduling
  • Focus on highest-weighted sections
  • Use our AI tutor for tough concepts

Azure IoT Developer (AZ-220) Study Tips from Top Performers

1Treat this study set as Azure IoT skill validation rather than certification prep, because the AZ-220 exam and certification both retired on July 31, 2023.
2Spend the most time on IoT Hub, IoT Edge, and process-and-manage-data questions because those three areas accounted for roughly half the original blueprint weight.
3Build at least one end-to-end mini project: a device that authenticates through DPS, sends telemetry to IoT Hub, is routed through Stream Analytics, and writes into Microsoft Fabric Eventhouse or Azure Data Explorer.
4Practice writing IoT Hub message routing queries against both message body (with contentType=application/json and contentEncoding=utf-8) and application properties so you understand why body queries silently fail without those system properties.
5Memorize the three DPS attestation mechanisms (SAS, X.509, TPM) and the four allocation policies (static, evenly weighted, lowest latency, custom Azure Function), because these are the highest-leverage exam-style facts.
6Replace any Time Series Insights mental model with Microsoft Fabric Real-Time Intelligence or Azure Data Explorer; TSI retired on March 31, 2025 and study material that still recommends it is stale.
7Walk through the iotedge check, iotedge list, and iotedge logs commands on a real or simulated edge device so the troubleshooting questions feel procedural rather than abstract.

Frequently Asked Questions

Is the AZ-220 exam still available in 2026?

No. Microsoft Learn shows that AZ-220 retired on July 31, 2023 and the Microsoft Certified: Azure IoT Developer Specialty certification has also been retired. The renewal assessment is retired as well. Microsoft has not announced a direct replacement. Use this free practice set to validate your Azure IoT skills for self-learning and job interviews even though the credential itself is no longer issued.

What were the official AZ-220 skill areas?

Per Microsoft Learn the seven measured areas were: Set up the Azure IoT Hub solution infrastructure (15-20%), Provision and manage devices (15-20%), Implement IoT Edge (20-25%), Implement business integration (5-10%), Process and manage data (10-15%), Monitor, troubleshoot, and optimize IoT solutions (10-15%), and Implement security (10-15%).

How many questions and how much time did the live exam allow?

Microsoft does not publish exact per-exam question counts but typically posts 40-60 questions for role-based and specialty exams. Standard duration was 100 minutes (without labs) or 120 minutes when labs were included. Microsoft's published passing score for role-based and specialty exams is 700 on a 1-1000 scaled score.

How much did AZ-220 cost?

When AZ-220 was bookable, Microsoft listed US$165 in the United States with localized pricing in other regions. Because the exam retired on July 31, 2023, current pricing is no longer published. Microsoft delivered AZ-220 through Pearson VUE both in test centers and as an online proctored exam.

Which Azure services should I focus on for self-study?

IoT Hub (routing, twins, jobs), Device Provisioning Service (enrollment groups, attestation, allocation policies, reprovisioning), IoT Edge (modules, deployment manifests, layered deployments, store-and-forward, nested gateways), Azure Digital Twins (DTDL, queries, event routes), IoT Central, Stream Analytics (windows, anomaly detection, geospatial), Microsoft Fabric Real-Time Intelligence and Azure Data Explorer for telemetry analytics, and Microsoft Defender for IoT for device and OT/ICS security.

What changed for Azure IoT analytics in 2025-2026?

Azure Time Series Insights retired on March 31, 2025. Microsoft Learn now directs IoT customers to Microsoft Fabric Real-Time Intelligence (eventstreams plus Eventhouse, both built on the Azure Data Explorer engine) or to Azure Data Explorer directly. Several questions in this set cover that migration so candidates do not study a stale architecture.