Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
  • Login
  • Register
Quesions Library
  • Cisco
    • 200-301
    • 200-901
      • Multiple Choice
      • Drag Drop
    • 350-401
      • Multiple Choice
      • Drag Drop
    • 350-701
    • 300-410
      • Multiple Choice
      • Drag Drop
    • 300-415
      • Multiple Choice
      • Drag Drop
    • 300-425
    • Others
  • AWS
    • CLF-C02
    • SAA-C03
    • SAP-C02
    • ANS-C01
    • Others
  • Microsoft
    • AZ-104
    • AZ-204
    • AZ-305
    • AZ-900
    • AI-900
    • SC-900
    • Others
  • CompTIA
    • SY0-601
    • N10-008
    • 220-1101
    • 220-1102
    • Others
  • Google
    • Associate Cloud Engineer
    • Professional Cloud Architect
    • Professional Cloud DevOps Engineer
    • Others
  • ISACA
    • CISM
    • CRIS
    • Others
  • LPI
    • 101-500
    • 102-500
    • 201-450
    • 202-450
  • Fortinet
    • NSE4_FGT-7.2
  • VMware
  • >>
    • Juniper
    • EC-Council
      • 312-50v12
    • ISC
      • CISSP
    • PMI
      • PMP
    • Palo Alto Networks
    • RedHat
    • Oracle
    • GIAC
    • F5
    • ITILF
    • Salesforce
Contribute
Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
Practice Test Free
No Result
View All Result
Home Exam Prep Free

AZ-220 Exam Prep Free

Table of Contents

Toggle
  • AZ-220 Exam Prep Free – 50 Practice Questions to Get You Ready for Exam Day
  • Access Full AZ-220 Exam Prep Free

AZ-220 Exam Prep Free – 50 Practice Questions to Get You Ready for Exam Day

Getting ready for the AZ-220 certification? Our AZ-220 Exam Prep Free resource includes 50 exam-style questions designed to help you practice effectively and feel confident on test day

Effective AZ-220 exam prep free is the key to success. With our free practice questions, you can:

  • Get familiar with exam format and question style
  • Identify which topics you’ve mastered—and which need more review
  • Boost your confidence and reduce exam anxiety

Below, you will find 50 realistic AZ-220 Exam Prep Free questions that cover key exam topics. These questions are designed to reflect the structure and challenge level of the actual exam, making them perfect for your study routine.

Question 1

You have 100 devices that connect to an Azure IoT hub.
You plan to use Azure functions to process all the telemetry messages from the devices before storing the messages.
You need to configure the functions binding for the IoT hub.
Which two configuration details should you use to configure the binding? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. the name of the resource group that contains the IoT hub

B. the IoT hub’s connection string shared access key that has Service connect permissions

C. the connection string of the Azure Event Hub-compatible endpoint from the IoT Hub built-in endpoints

D. the Azure Event-Hub compatible name

 


Suggested Answer: CD

EventHubName: Functions 2.x and higher. The name of the event hub. When the event hub name is also present in the connection string, that value overrides this property at runtime.
Connection: The name of an app setting that contains the connection string to the event hub’s namespace. Copy this connection string by clicking the Connection
Information button for the namespace, not the event hub itself. This connection string must have send permissions to send the message to the event stream.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-iot-output

Question 2

HOTSPOT
-
You are creating an Azure Digital Twins query.
You need to return all the digital twins that have a contains relationship with a digital twin that has an ID of twin1.
How should you complete the query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
 Image

 


Suggested Answer:
Correct Answer Image

 

Question 3

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.
You receive the following error in Azure Monitor "403006 DeviceMaximumActiveFileUploadLimitExceeded."
You need to ensure that the file upload code is configured correctly.
Solution: You limit the maximum concurrent file uploads to ten and notify an Azure IoT hub that a file upload has completed by using the REST API.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: A

 

Question 4

You have an Azure IoT solution.
You need to implement multi-factor device authentication by using custom device authentication.
What should you do first?

A. Create an Azure Policy definition for Azure IoT Hub.

B. Enable multi-factor authentication (MFA) for Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra.

C. Create a service endpoint policy.

D. Deploy a security token service.

 


Suggested Answer: B

 

Question 5

You have an Azure IoT Edge module named SampleModule that runs on a device named Device1.
You make changes to the code of SampleModule by using Microsoft Visual Studio Code.
You need to push the code to the container registry and then deploy the module to Device1.
Which two actions should you perform from Visual Studio Code? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Build and push the SampleModule code to the registry.

B. Create a deployment for a single device.

C. Generate a deployment manifest.

D. Build an IoT Edge solution.

E. Generate a shared access signature (SAS) token for Device1.

 


Suggested Answer: BC

C: Configure a deployment manifest. A deployment manifest is a JSON document that describes which modules to deploy, how data flows between the modules, and desired properties of the module twins.
B: You deploy modules to your device by applying the deployment manifest that you configured with the module information.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode

Question 6

You have ab Azure subscription that contains an Azure IoT hub named Hub1, 50 IoT devices, and an Azure Blob storage account named storage1.
Hub1 will be used to route data from the IoT devices to storage1.
You enable private endpoint access for Hub1.
You need to ensure that Hub1 can route the data to storage1.
What should you do?

A. On Hub1, create a shared access policy.

B. On Hub1, add an X.509 certificate.

C. Deploy an Azure IoT Edge gateway device.

D. On Hub1, configure a system-assigned managed identity.

 


Suggested Answer: A

 

Question 7

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?

A. az iot hub monitor-feedback –hub-name Hub1

B. az iot hub generate-sas-token –hub-name Hub1

C. az iot hub configuration list –hub-name Hub1

D. az extension add -name azure-cli-iot-ext

 


Suggested Answer: D

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

Question 8

During the POV phase, you connect a device to IoT Hub and start sending telemetry messages.
You need to verify the content of the messages received by IoT Hub during the POV phase.
What should you use?

A. the Monitoring settings of IoT Hub or a Postman call to the IoT Hub REST API

B. Azure Monitor or Azure Log Analytics

C. Microsoft Visual Studio Code that uses the IoT Hub Toolkit or Azure CLI that uses the IoT Hub extension

D. Splunk or Grafana

 


Suggested Answer: B

Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-use-metrics-and-diags

Question 9

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 10 devices that connect to an Azure IoT hub. Each device has a unique public IP address. The devices are not provisioned through DPS.
You discover an anomaly in messages from two devices.
You need to stop all messages from both devices without affecting the other devices.
Solution: You delete the devices from the IoT hub.
Does the solution meet the goal?

A. Yes

B. No

 


Suggested Answer: B

 

Question 10

HOTSPOT
-
You have an Azure IoT Edge automatic deployment named D1 that deploys a temperature module to five IoT Edge devices.
D1 has a deployment priority of 10 and the following module configuration.
 Image
You need to create a new layered deployment that will add a new twin property named ReportingMode. The new deployment must not overwrite the existing module configurations set by D1.
How should you configure the deployment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
 Image

 


Suggested Answer:
Correct Answer Image

 

Question 11

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

 


Suggested Answer: B

1000 /3600 device-to-cloud message/second is less than 1 per second. One unit of the free tier is sufficient.
Reference Image
Reference: alt=”Reference Image” />
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-quotas-throttling

Question 12

DRAG DROP -
Your company develops a custom module and exports the module as a Linux Dockerfile.
You need to deploy the module to an Azure IoT Edge device that runs Ubuntu Server 18.04.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
 Image

 


Suggested Answer:
Correct Answer Image

Step 1: From Microsoft Visual Studio Code,ג€¦
The Azure IoT Tools extension provides project templates for all supported IoT Edge module languages in Visual Studio Code. These templates have all the files and code that you need to deploy a working module to test IoT Edge, or give you a starting point to customize the template with your own business logic.
Step 2: Build and push the module to Azure Container Registry
Build and push your solution. Review the module code and the deployment. Then build the SampleModule container image and push it to your container registry.
Step 3: Create a deployment for the IoT Edge device.
Verify that the built container images are stored in your container registry, then deploy the modules to the device.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-develop-for-linux?view=iotedge-2020-11

Question 13

You have an Azure IoT solution that includes multiple Azure IoT hubs in different geographic locations and a single Device Provision Service instance.
You need to configure device enrollment to assign devices to the appropriate IoT hub based on the following requirements:
✑ The registration ID of the device
The geographic location of the device
 Image
The load between the IoT hubs in the same geographic location must be balanced.
What should you use to assign the devices to the IoT hubs?

A. Static configuration (via enrollment list only)

B. Lowest latency

C. Evenly weighted distribution

D. Custom (Use Azure Function)

 


Suggested Answer: A

Set the Device Provisioning Service allocation policy
The allocation policy is a Device Provisioning Service setting that determines how devices are assigned to an IoT hub. There are three supported allocation policies:
✑ Lowest latency: Devices are provisioned to an IoT hub based on the hub with the lowest latency to the device.
✑ Evenly weighted distribution (default): Linked IoT hubs are equally likely to have devices provisioned to them. This is the default setting. If you are provisioning devices to only one IoT hub, you can keep this setting.
✑ Static configuration via the enrollment list: Specification of the desired IoT hub in the enrollment list takes priority over the Device Provisioning Service-level allocation policy.
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-provision-multiple-hubs

Question 14

DRAG DROP
-
You have the following Azure Stream Analytics query.
 Image
You need to build a Stream Analytics query that will use a JavaScript user-defined aggregate (UDA) function named UDA1 to sum the TemperatureDB values.
How should you complete the function? 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

 


Suggested Answer:
Correct Answer Image

 

Question 15

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 Stream Analytics job that receives input from an Azure IoT hub and sends the outputs to Azure Blob storage. The job has compatibility level
1.1 and six streaming units.
You have the following query for the job.
 Image
You plan to increase the streaming unit count to 12.
You need to optimize the job to take advantage of the additional streaming units and increase the throughput.
Solution: You change the compatibility level of the job to 1.2.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

Max number of Streaming Units with one step and with no partitions is 6.
Reference:
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-parallelization

Question 16

DRAG DROP
-
You have sites that contain IoT devices as shown in the following table.
 Image
You have an Azure subscription.
You need to create the Azure IoT Edge devices shown in the following table.
 Image
Which type of gateway pattern should you use for each IoT Edge device? To answer, drag the appropriate gateway pattern types to the correct devices. Each pattern type 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

 


Suggested Answer:
Correct Answer Image

 

Question 17

DRAG DROP -
You have an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. The IoT devices are allocated to four enrollment groups. Each enrollment group is configured to use certificate attestation.
You need to decommission all the devices in a single enrollment group and the enrollment group itself.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
 Image

 


Suggested Answer:
Correct Answer Image

To deprovision all of the devices that have been provisioned through an enrollment group:
1. Disable the enrollment group to disallow its signing certificate.
2. Use the list of provisioned devices for that enrollment group to disable or delete each device from the identity registry of its respective IoT hub.
3. After disabling or deleting all devices from their respective IoT hubs, you can optionally delete the enrollment group. Be aware, though, that, if you delete the enrollment group and there is an enabled enrollment group for a signing certificate higher up in the certificate chain of one or more of the devices, those devices can re-enroll.
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/how-to-unprovision-devices

Question 18

You have an Azure IoT solution.
You prepare a new Azure IoT Edge device for deployment to the solution.
You need to ensure that the device is configured to meet Azure best practices.
What should you do?

A. From the IoT Edge device, run the iotedge check command.

B. From the IoT Edge device, run the iotedge logs edgeAgent and iotedge logs edgeHub commands.

C. From Azure Cloud Shell, run the Get-AzSecurityCompliance cmdlet.

D. From Azure Cloud Shell, run the az iot edge deployment show command.

 


Suggested Answer: B

 

Question 19

HOTSPOT
-
You have sites that contain industrial control devices as shown in the following table.
 Image
You have an Azure subscription that contains an Azure IoT hub. The IoT hub has Microsoft Defender for IoT enabled.
You plan to deploy Microsoft Defender for IoT to the devices.
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

 


Suggested Answer:
Correct Answer Image

 

Question 20

You have an Azure IoT Hub deployment.
You plan to deploy 1,000 IoT devices that will have 1 MB of RAM. The devices will be deployed behind firewalls that block port 443.
You need to configure the communication protocol for the devices. The solution must ensure that each device uses unique credentials.
Which protocol should you use?

A. AMQP

B. MQTT over WebSockets

C. MQTT

D. AMQP over WebSockets

 


Suggested Answer: C

 

Question 21

DRAG DROP
-
You have an Azure IoT hub.
You need to deploy a Device Provisioning Service instance that uses X.509 attestation to support new IoT devices.
Which three actions should you perform in sequence in the Azure portal? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
 Image

 


Suggested Answer:
Correct Answer Image

 

Question 22

You have a remote network that contains an IoT device named Device1 and a firewall named Firewall1.
You have an Azure subscription that contains an Azure IoT hub named Hub1. Device1 is registered to Hub1. Firewall1 only allows outbound traffic from Hub1 via TCP port 443.
You need to build an app that will connect to Device1 by using SSH on port 22. The solution must minimize costs.
What should you configure to connect to Device1?

A. IoT Hub message routing

B. shared access policies

C. Azure Private Link

D. IoT Hub device streams

 


Suggested Answer: D

 

Question 23

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.
You plan to register an Azure loT Edge device by using X.509 self-signed certificates.
You need to provide the thumbprint for the primary and secondary certificates.
Solution: You generate a 96-hex character SHA384 hash for the certificates.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

 

Question 24

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 20 IoT devices deployed across two floors of a building. The devices on the first floor must be set to 60 degrees. The devices on the second floor must be set to 80 degrees.
The device twins are configured to use a tag that identifies the floor on which the twins are located.
You create the following automatic configuration for the devices on the first floor.
 Image
You create the following automatic configuration for the devices on the second floor.
 Image
The IoT devices on the first floor report that the temperature is set to 80 degrees.
You need to ensure that the first-floor devices are set to the correct temperature.
Solution: In the automatic configuration for the first-floor devices, you set targetCondition to “tags.floor=‘second’”.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

 

Question 25

You have an Azure IoT solution that includes a basic tier Azure IoT hub named Hub1 and a Raspberry Pi device named Device1. Device1 connects to Hub1.
You back up Device1 and restore the backup to a new Raspberry Pi device.
When you start the new Raspberry Pi device, you receive the following error message in the diagnostic logs of Hub1: "409002 LinkCreationConflict."
You need to ensure that Device1 and the new Raspberry Pi device can run simultaneously without error.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. On the new Raspberry Pi device, modify the connection string.

B. From Hub1, modify the device shared access policy.

C. Upgrade Hub1 to the standard tier.

D. From Hub1, create a new consumer group.

E. From Hub1, create a new IoT device.

 


Suggested Answer: AE

Note: Symptoms –
You see the error 409002 LinkCreationConflict in logs along with device disconnection or cloud-to-device message failure.
Cause –
Generally, this error happens when IoT Hub detects a client has more than one connection. In fact, when a new connection request arrives for a device with an existing connection, IoT Hub closes the existing connection with this error.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-troubleshoot-error-409002-linkcreationconflict#symptoms
https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/

Question 26

You have an Azure IoT Central solution that includes multiple IoT devices. The devices report temperature, humidity, and pressure.
You need to export the sensor data captured during a 48-hour period as a CSV file.
What should you use in IoT Central?

A. Devices

B. Jobs

C. Device groups

D. Analytics

 


Suggested Answer: D

Azure IoT Central provides rich analytics capabilities to analyze historical trends and correlate telemetry from your devices. To get started, select Analytics on the left pane.
The analytics user interface has three main components:
✑ Data configuration panel: On the configuration panel, select the device group for which you want to analyze the data. Next, select the telemetry that you want to analyze and select the aggregation method for each telemetry. The Group By control helps to group the data by using device properties as dimensions.
✑ Time control: Use the time control to select the duration for which you want to analyze the data.
✑ Chart control: The chart control visualizes the data as a line chart.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/howto-create-analytics

Question 27

You have an Azure IoT Edge device.
You need to modify the credentials used to access the container registry.
What should you modify?

A. the $edgeHub module twin

B. the IoT Edge module

C. the $edgeAgent module twin

D. the Azure IoT Hub device twin

 


Suggested Answer: C

The module twin for the IoT Edge agent is called $edgeAgent and coordinates the communications between the IoT Edge agent running on a device and IoT Hub.
The desired properties are set when applying a deployment manifest on a specific device as part of a single-device or at-scale deployment.
These properties include:
✑ runtime.settings.registryCredentials.{registryId}.username
✑ runtime.settings.registryCredentials.registryId}.password
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/module-edgeagent-edgehub

Question 28

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.

 


Suggested Answer: B

MQTT over WebSockets uses port 443.
Note: Devices can communicate with IoT Hub in Azure using various protocols. Typically, the choice of protocol is driven by the specific requirements of the solution. The following table lists the outbound ports that must be open for a device to be able to use a specific protocol:
Reference Image
Incorrect Answers:
A: MQTT over TCP uses port 883.
C: ExpressRoute uses BGP, which uses TCP port 179.
D: HTTPS proxy also uses port 443, but it would be a more expensive solution.
Reference: alt=”Reference Image” />
Incorrect Answers:
A: MQTT over TCP uses port 883.
C: ExpressRoute uses BGP, which uses TCP port 179.
D: HTTPS proxy also uses port 443, but it would be a more expensive solution.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols

Question 29

HOTSPOT
-
You are planning a project that will use an Azure IoT hub.
You have two authentication certificates named Cert1 and Cert2. Cert1 is a CA signed certificate and Cert 2 is a leaf certificate.
You need to identify which certificates to use.
What should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
 Image

 


Suggested Answer:
Correct Answer Image

 

Question 30

You are prototyping an IoT edge solution.
You are creating a deployment manifest for an IoT edge device that will connect to an Azure IoT hub.
Which two modules should you include in the manifest? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. azureiotsecurity

B. edgeHub

C. opc-publisher

D. edgeAgent

E. iotedgeModbus

 


Suggested Answer: BD

 

Question 31

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

 


Suggested Answer:
Correct Answer Image

 

Question 32

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.
You plan to register an Azure loT Edge device by using X.509 self-signed certificates.
You need to provide the thumbprint for the primary and secondary certificates.
Solution: You generate a 64-hex character SHA256 hash for the certificates.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

 

Question 33

You have an Azure IoT solution that contains an Azure IoT hub. The IoT hub uses Microsoft Defender for IoT for device builders and an IoT device named ContosoDevice1.
You need to implement the Defender for IoT micro agent.
What should you configure in the IoT hub?

A. a module twin

B. a private endpoint

C. an Azure IoT Edge module

D. the device twin

 


Suggested Answer: A

 

Question 34

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 subscription that contains the resources shown in the following table.
 Image
You create a group enrollment in DPS1 and enroll 100 IoT devices. Each device is issued a leaf certificate from CA1.
You need to deprovision a single IoT device from the group enrollment. The solution must not affect the other devices.
Solution: You create a disabled symmetric key individual enrollment by using the device ID of the device.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

 

Question 35

HOTSPOT
-
You create an Azure IoT hub as shown in the following exhibit.
 Image
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

 


Suggested Answer:
Correct Answer Image

 

Question 36

You have an Azure IoT Central solution.
You need to verify that telemetry messages from devices arrive to IoT Central.
What should you use?

A. the Azure IoT explorer

B. the az command in Azure CLI

C. Azure Service Bus Explorer

D. the Azure IoT Tools for VS Code extension pack

 


Suggested Answer: B

 

Question 37

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.

 


Suggested Answer: AC

C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified.
For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT
Hub. If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the Containers
A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a file. To start the file upload process, the device sends a POST request to {iot hub}.azure-devices.net/devices/{deviceId}/files with the following JSON body:
{
“blobName”: “{name of the file for which a SAS URI will be generated}”
}
Incorrect Answers:
D: Deprecated: initialize a file upload with a GET. Use the POST method instead.
Reference:
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-configure-file-upload.md

Question 38

HOTSPOT
-
You have an Azure IoT hub.
You have four Azure IoT Edge devices and the device twin code shown in the following table.
 Image
You have three deployments and the deployment code shown in the following table.
 Image
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

 


Suggested Answer:
Correct Answer Image

 

Question 39

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

 


Suggested Answer: A

You may find it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service.
In general, deprovisioning a device involves two steps:
1. Disenroll the device from your provisioning service, to prevent future auto-provisioning. Depending on whether you want to revoke access temporarily or permanently, you may want to either disable or delete an enrollment entry.
2. Deregister the device from your IoT Hub, to prevent future communications and data transfer. Again, you can temporarily disable or permanently delete the device’s entry in the identity registry for the IoT Hub where it was provisioned.
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices

Question 40

You have an Azure subscription named Sub1.
You need to ensure that when a new Azure IoT hub is created in Sub1, a warning appears indicating that communication must be allowed only from known networks. The solution must minimize development and administrative effort.
What should you include in the solution?

A. an application security group rule

B. an Azure function

C. an Azure policy

D. an Azure Monitor alert

 


Suggested Answer: D

 

Question 41

DRAG DROP -
You have an Azure IoT Central application.
You need to connect IoT devices that use SAS tokens to the application without first registering the devices.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
 Image

 


Suggested Answer:
Correct Answer Image

Automatically register devices that use SAS tokens:
Step 1: Obtain the group primary key
1. Copy the group primary key from the SAS-IoT-Devices enrollment group:
Reference Image
Step 2: Generate device SAS Keys.
2. Use the az iot central device compute-device-key command to generate the device SAS keys. Use the group primary key from the previous step.
Step 3: Flash unique credentials to the devices.
3. As an OEM, flash each device with the device ID, the generated device SAS key, and the application ID scope value. The device code should also send the model ID of the device model it implements.
Step 4: Connect the devices to IoT Central
4. When you switch on a device, it first connects to DPS to retrieve its IoT Central registration information.
5. The device uses the information from DPS to connect to, and register with, your IoT Central application.
Step 5: Associate the devices to a template and approve the connections.
The IoT Central application uses the model ID sent by the device to associate the registered device with a device template.
Reference: alt=”Reference Image” />
Step 2: Generate device SAS Keys.
2. Use the az iot central device compute-device-key command to generate the device SAS keys. Use the group primary key from the previous step.
Step 3: Flash unique credentials to the devices.
3. As an OEM, flash each device with the device ID, the generated device SAS key, and the application ID scope value. The device code should also send the model ID of the device model it implements.
Step 4: Connect the devices to IoT Central
4. When you switch on a device, it first connects to DPS to retrieve its IoT Central registration information.
5. The device uses the information from DPS to connect to, and register with, your IoT Central application.
Step 5: Associate the devices to a template and approve the connections.
The IoT Central application uses the model ID sent by the device to associate the registered device with a device template.
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/concepts-get-connected

Question 42

DRAG DROP -
You have an Azure IoT solution that includes an Azure IoT hub.
You receive a root certification authority (CA) certificate from the security department at your company.
You need to configure the IoT hub to use the root CA certificate.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
 Image

 


Suggested Answer:
Correct Answer Image

Reference:
https://docs.microsoft.com/bs-latn-ba/azure/iot-hub/iot-hub-security-x509-get-started

Question 43

You have an Azure IoT solution that includes an Azure IoT Hub named Hub1 and an Azure IoT Edge device named Edge1. Edge1 connects to Hub1.
You need to deploy a temperature module to Edge1.
What should you do?

A. From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, and then select Manage Child Devices. From a Bash prompt, run the following command: az iot edge set-modules –device-id Edge1 –hub-name Hub1 –content deploymentMan1.json

B. Create an IoT Edge deployment manifest that specifies the temperature module and the route to $upstream. From a Bash prompt, run the following command: az iot hub monitor-events –device-id Edge1 –hub-name Hub1

C. From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, select Device Twin, and then set the deployment manifest as a desired property. From a Bash prompt, run the following command: az iot hub monitor-events –device-id Edge1 –hub-name Hub1

D. Create an IoT Edge deployment manifest that specifies the temperature module and the route to $upstream. From a Bash prompt, run the following command: az iot edge set-modules –device-id Edge1 –hub-name Hub1 –content deploymentMan1.json

 


Suggested Answer: D

You deploy modules to your device by applying the deployment manifest that you configured with the module information.
Change directories into the folder where your deployment manifest is saved. If you used one of the VS Code IoT Edge templates, use the deployment.json file in the config folder of your solution directory and not the deployment.template.json file.
Use the following command to apply the configuration to an IoT Edge device: az iot edge set-modules –device-id [device id] –hub-name [hub name] –content [file path]
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-cli

Question 44

You have 1,000 devices that connect to an Azure IoT hub.
You are performing a scheduled check of deployed IoT devices.
You plan to run the following command from the Azure CLI prompt. az iot hub query --hub-name hub1 --query-command "SELECT * FROM devices WHERE connectionState = 'Disconnected'"
What does the command return?

A. the Device Disconnected events

B. the device twins

C. the Connections logs

D. the device credentials

 


Suggested Answer: B

Device twin queries: IoT Hub exposes the device twins as a document collection called devices. For example, the following query retrieves the whole set of device twins:
SELECT * FROM devices –
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-query-language#device-and-module-twin-queries

Question 45

DRAG DROP
-
You have an Azure subscription that contains an Azure IoT Edge device named Edge1 and an Azure container registry named Registry1.
You need to configure Edge1 to connect to Registry1.
How should you complete the deployment manifest? 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

 


Suggested Answer:
Correct Answer Image

 

Question 46

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 are developing a custom Azure IoT Edge module.
The module needs to identify the device ID of the local device.
Solution: You configure the module to read the IOTEDGE_DEVICEID environment variable.
Does this meet the goal?

A. Yes

B. No

 


Suggested Answer: B

The Azure ID of the current device is available on the IOTEDGE_DEVICEID environment variable.
Instead read the device ID of the device twin.
Note: Device twins are JSON documents that store device state information including metadata, configurations, and conditions. Azure IoT Hub maintains a device twin for each device that you connect to IoT Hub.
Device identity properties. The root of the device twin JSON document contains the read-only properties from the corresponding device identity stored in the identity registry.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins

Question 47

You are developing an Azure IoT Central application.
You add a new custom device template to the application.
You need to add a fixed location value to the device template. The value must be updated by the physical IoT device, read-only to device operators, and not graphed by IoT Central.
What should you add to the device template?

A. a Location property

B. a Location telemetry

C. a Cloud property

 


Suggested Answer: A

For example, a builder can create a device template for a connected fan that has the following characteristics:
✑ Sends temperature telemetry
✑ Sends location property
Reference:
https://docs.microsoft.com/en-us/azure/iot-central/core/howto-set-up-template

Question 48

You have the devices shown in the following table.
 Image
You are implementing a proof of concept (POC) for an Azure IoT solution.
You need to deploy an Azure IoT Edge device as part of the POC.
On which two devices can you deploy IoT Edge? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. Device1

B. Device2

C. Device3

D. Device4

 


Suggested Answer: BC

Azure IoT Edge runs great on devices as small as a Raspberry Pi3 to server grade hardware.
Tier 1.
The systems listed in the following table are supported by Microsoft, either generally available or in public preview, and are tested with each new release.
Reference Image
Reference: alt=”Reference Image” />
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/support

Question 49

HOTSPOT -
You are planning a proof of concept (POC) that will use an Azure IoT hub.
You have two self-signed client authentication certificates named Cert1 and Cert2. Cert1 has a basic constraint that contains Subject Type=CA. Cert2 has a basic constraint that contains Subject Type=End Entity.
You need to identify which certificates to use.
What should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
 Image

 


Suggested Answer:
Correct Answer Image

Box 1: Cert2 only –
Cert2: The leaf certificate, or end-entity certificate, identifies the certificate holder. It has the root certificate in its certificate chain as well as zero or more intermediate certificates. The leaf certificate is not used to sign any other certificates. It uniquely identifies the device to the provisioning service and is sometimes referred to as the device certificate.
Box 2: Cert1 only –
Cert1: A root certificate is a self-signed X.509 certificate representing a certificate authority (CA). It is the terminus, or trust anchor, of the certificate chain. Root certificates can be self-issued by an organization or purchased from a root certificate authority.
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/concepts-x509-attestation

Question 50

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 correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Configure File upload for each IoT hub. Configure the device to send a file to an Azure Storage container that contains the device name and status message.

B. Add the following message enrichments: Name = iotHubName Value = $twin.tag.location Endpoint = MessageAlerts

C. Create an IoT Hub routing rule that has a data source of Device Twin Change Events and select the endpoint for MessageAlerts.

D. Add the following message enrichments: Name = iotHubName Value = $iothubname Endpoint = MessageAlerts

E. Create an IoT Hub routing rule that has a data source of Device Telemetry Messages and select the endpoint for MessageAlerts.

 


Suggested Answer: CD

C: Device twins change notifications allow back end applications to be notified in real-time of twin changes and react as business logic requires. For instance, when building an application that notifies an operator directly that a device has a firmware update pending and is ג€ready to updateג€. This is accomplished by creating a routing rule from the ג€Twin Change Eventsג€ source and filtering all events that involve the software update status.
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
https://azure.microsoft.com/en-us/blog/enhancements-to-azure-iot-hub-improve-management-of-the-full-device-lifecycle/

Access Full AZ-220 Exam Prep Free

Want to go beyond these 50 questions? Click here to unlock a full set of AZ-220 exam prep free questions covering every domain tested on the exam.

We continuously update our content to ensure you have the most current and effective prep materials.

Good luck with your AZ-220 certification journey!

Share18Tweet11
Previous Post

AZ-204 Exam Prep Free

Next Post

AZ-300 Exam Prep Free

Next Post

AZ-300 Exam Prep Free

AZ-301 Exam Prep Free

AZ-303 Exam Prep Free

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Network+ Practice Test

Comptia Security+ Practice Test

A+ Certification Practice Test

Aws Cloud Practitioner Exam Questions

Aws Cloud Practitioner Practice Exam

Comptia A+ Practice Test

  • About
  • DMCA
  • Privacy & Policy
  • Contact

PracticeTestFree.com materials do not contain actual questions and answers from Cisco's Certification Exams. PracticeTestFree.com doesn't offer Real Microsoft Exam Questions. PracticeTestFree.com doesn't offer Real Amazon Exam Questions.

  • Login
  • Sign Up
No Result
View All Result
  • Quesions
    • Cisco
    • AWS
    • Microsoft
    • CompTIA
    • Google
    • ISACA
    • ECCouncil
    • F5
    • GIAC
    • ISC
    • Juniper
    • LPI
    • Oracle
    • Palo Alto Networks
    • PMI
    • RedHat
    • Salesforce
    • VMware
  • Courses
    • CCNA
    • ENCOR
    • VMware vSphere
  • Certificates

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.