Microsoft

AZ-220 practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 104-question bank.

Provider
Microsoft
Question bank
104
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for AZ-220, a certification listed under Microsoft. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Microsoft. The certification credential is issued by Microsoft, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    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?

    Choose one answer.

    • one unit of the B1 tier
    • one unit of the free tier
    • one unit of the S1 tier
    • one unit of the S2 tier
  2. Question 2 · 1

    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?

    Choose one answer.

    • From the Azure portal, add desired properties to the device twin.
    • Configure the IoT device to add application properties to the messages.
    • From the Azure portal, configure the IoT hub to add message enrichments.
    • Configure the IoT device to add ASCII-encoded properties to the body of the messages.
  3. Question 3 · 1

    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.

    Match each destination with an option.

    Question illustration 1

    Username

    • The device ID
    • The MAC address
    • The X.509 public key
    • The symmetric key of the device
    • The shared access signature (SAS) token

    Password

    • The device ID
    • The MAC address
    • The X.509 public key
    • The symmetric key of the device
    • The shared access signature (SAS) token
  4. Question 4 · 1

    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?

    Choose one answer.

    • Configure the upstream protocol of the devices to use MQTT over TCP.
    • Configure the upstream protocol of the devices to use AMQP over WebSocket.
    • Connect the devices to use an HTTPS proxy.
    • Integrate cellular communication hardware onto the devices and avoid the use of the external networks.
  5. Question 5 · 1

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

    Choose an option for each prompt.

    Question illustration 1
    Question illustration 2

    Hub1 can support an additional five IoT devices before throttling messages.

    • Yes
    • No

    To minimize costs without affecting message throughput, Hub1 must be configured as one unit of S2.

    • Yes
    • No

    If the IoT devices are configured to send a single 60-KB message per minute, the number of units configured can be reduced to nine before throttling messages.

    • Yes
    • No
  6. Question 6 · 1

    HOTSPOT - You create an Azure IoT hub as shown in the following exhibit. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

    Choose an option for each prompt.

    Question illustration 1
    Question illustration 2

    To support 1,200,000 messages per day and have Cloud-to-device commands enabled, the tier must be set to S3: Standard tier.

    • Yes
    • No

    Defender for IoT can be enabled if the tier is set to B3: Basic tier.

    • Yes
    • No

    Increasing Device-to-cloud partitions will increase the number of possible concurrent readers.

    • Yes
    • No
  7. Question 7 · 1

    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.

    Match each destination with an option.

    Question illustration 1

    var command = new [blank]

    • DeviceClient
    • DeviceJob
    • FileNotification
    • JobClient
    • Message
    • ServiceClient

    var dvconnect = [blank].CreateFromConnectionString(connectionString)

    • DeviceClient
    • DeviceJob
    • FileNotification
    • JobClient
    • Message
    • ServiceClient
  8. Question 8 · 1

    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?

    Choose one answer.

    • Create a device twin.
    • Create a module twin.
    • Create a shared access policy.
    • Upgrade to a standard tier IoT hub.
  9. Question 9 · 1

    You have an Azure subscription that contains the Azure IoT hubs shown in the following table. 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?

    Choose one answer.

    Question illustration 1
    • Hub4 only
    • Hub3 and Hub4 only
    • Hub2, Hub3, and Hub4 only
    • Hub1, Hub2, Hub3, and Hub4
  10. Question 10 · 1

    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?

    Choose one answer.

    • From the Pricing and scale blade of the IoT hub, change the tier to S2 - Standard.
    • From the Pricing and scale blade of the IoT hub, increase the number of IoT Hub units to eight.
    • Create a new IoT hub and set Device-to-cloud partitions to eight.
    • Create a new IoT hub and set the number of IoT Hub units to eight.
  11. Question 11 · 1

    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.

    Choose an option for each prompt.

    Question illustration 1

    @id

    • dtmi:com:source:Device1;3
    • dtmi:dtdl:source:Device1;3
    • dtmi:dtdl:Device1:source;3

    @type

    • Interface
    • Property
    • Telemetry
  12. Question 12 · 1

    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?

    Choose one answer.

    • a device-to-cloud message
    • the device twin reported properties
    • a cloud-to-device message
    • a direct method
  13. Question 13 · 11

    You need to configure Stream Analytics to meet the POV requirements. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

    Choose all answers that apply.

    • From IoT Hub, create a custom event hub endpoint, and then configure the endpoint as an input to Stream Analytics.
    • Create a Stream Analytics module, and then deploy the module to all IoT Edge devices in the fleet.
    • Create an input in Stream Analytics that uses the built-in events endpoint of IoT Hub as the source.
    • Route telemetry to an Azure Blob storage custom endpoint, and then configure the Blob storage as a reference input for Stream Analytics.
  14. Question 14 · 11

    You need to store the real-time alerts generated by Stream Analytics to meet the technical requirements. Which type of Stream Analytics output should you configure?

    Choose one answer.

    • Azure Blob storage
    • Microsoft Power BI
    • Azure Cosmos DB
    • Azure SQL Database
  15. Question 15 · 2

    You have an Azure subscription that contains a resource group named RG1. You need to deploy the Device Provisioning Service. The solution must ensure that the Device Provisioning Service can accept new device enrollments. You create a Device Provisioning Service instance. Which two actions should you perform next? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

    Choose all answers that apply.

    • From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub.
    • From the Azure portal, create a new Azure IoT hub.
    • From the Manage allocation policy blade of the Device Provisioning Service, configure an allocation policy.
    • From the Certificates blade of the Device Provisioning Service, upload an X.509 certificate to the Device Provisioning Service.

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free