March Sale Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

AZ-220 Microsoft Azure IoT Developer Questions and Answers

Question # 6

You have an IoT device that has the following configurations:

Hardware: Raspberry Pi Operating system: Raspbian

You need to deploy Azure IoT Edge to the device.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Update the IoT Edge runtime.

B.

Install the IoT Edge security daemon.

C.

Run the Deploy-IoTEdge PowerShell cmdlet on the IoT Edge device.

D.

Install the container runtime.

Full Access
Question # 7

You have an Azure IoT hub that uses a Device Provisioning Service instance to automate the deployment of Azure IoT Edge devices.

The IoT Edge devices have a Trusted Platform Module (TPM) 2.0 chip.

From the Azure portal, you plan to add an individual enrollment to the Device Provisioning Service that will use the TPM of the IoT Edge devices as the attestation mechanism.

Which detail should you obtain before you can create the enrollment.

A.

the scope ID and the Device Provisioning Service endpoint

B.

the primary key of the Device Provisioning Service shared access policy and the global device endpoint

C.

the X.509 device certificate and the certificate chain

D.

the endorsement key and the registration ID

Full Access
Question # 8

You create a new IoT device named device1 on iothub1. Device1 has a primary key of Uihuih76hbHb.

How should you complete the device connection string? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-220 question answer

Full Access
Question # 9

You have an Azure subscription that contains an Azure IoT hub, 500 IoT devices, and an Azure Time Series Insights Gen2 environment named Environment1.

You need to add calculated values to the Time Series Model.

What should you use?

A.

instances

B.

types

C.

hierarchies

Full Access
Question # 10

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?

A.

a device-to-cloud message

B.

the device twin reported properties

C.

a cloud-to-device message

D.

a direct method

Full Access
Question # 11

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?

A.

From the Azure portal, add desired properties to the device twin.

B.

Configure the loT device to add application properties to the messages.

C.

From the Azure portal, configure the loT hub to add message enrichments.

D.

Configure the loT device to add ASCII-encoded properties to the body of the messages.

Full Access
Question # 12

You have an Azure 10T 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

Full Access
Question # 13

You have an Azure IoT hub that has a hostname of contoso-hub.azure-devices.net and an MCU-based IoT device named Device1. Device1 does NOT support Azure IoT SDKs.

You plan to connect Device1 to the IoT hub by using the Message Queuing Telemetry Transport (MQTT) protocol and to authenticate by using X.509 certificates.

You need to ensure that Device1 can authenticate to the IoT hub.

What should you do?

A.

Create an Azure key vault and enable the encryption of data at rest for the IoT hub by using a customermanaged key.

B.

Enable a hardware security module (HSM) on Device1.

C.

From the Azure portal, create an IoT Hub Device Provisioning Service (DPS) instance and add a certificate enrollment for Device1.

D.

Add the DigiCert Baltimore Root Certificate to Device1.

Full Access
Question # 14

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 section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a Standard tier Azure IoT hub and a fleet of IoT devices.

The devices connect to the IoT hub by using either Message Queuing Telemetry Transport (MQTT) or Advanced Message Queuing Protocol (AMQP).

You need to send data to the IoT devices and each device must respond. Each device will require three minutes to process the data and respond.

Solution: You schedule an IoT Hub job to update the twin tags and you query for job progress.

Does this meet the goal?

A.

yes

B.

No

Full Access
Question # 15

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 section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a Standard tier Azure IoT hub and a fleet of IoT devices.

The devices connect to the IoT hub by using either Message Queuing Telemetry Transport (MQTT) or Advanced Message Queuing Protocol (AMQP).

You need to send data to the IoT devices and each device must respond. Each device will require three minutes to process the data and respond.

Solution: You update the twin desired property and check the corresponding reported property.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 16

You have an Azure IoT Central application.

You add an IoT device named Oven1 to the application. Oven1 uses an IoT Central template for industrial ovens.

You need to send an email to the managers group at your company as soon as the oven temperature falls below 400 degrees.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Create a SendGrid account in the same resource group as the IoT Central application.

B.

Add a condition that has Time Aggregation set to Off.

C.

Add a condition that has Aggregation set to Minimum.

D.

Add the Manager role to the IoT Central application.

E.

From IoT Central, create a telemetry rule for the template.

Full Access
Question # 17

You have an Azure IoT hub that uses a Device Provisioning Service instance.

You have 1,000 legacy IoT devices that only support MAC address or serial number identities. The device do NOT have a security feature that can be used to securely identify the device or a hardware security module (HSM).

You plan to deploy the devices to a secure environment.

You need to configure the Device Provisioning Service instance to ensure that all the devices are identified securely before they receive updates.

Which attestation mechanism should you choose?

A.

Trusted Platform Module (TPM) 1.2 attestation

B.

symmetric key attestation

C.

X.509 certificates

Full Access
Question # 18

You have an Azure IoT solution that contains an Azure IoT hub.

You need to ensure that the IoT hub configuration is compliant with the Health Insurance Portability and Accountability Act (HIPAA) audit logging requirements.

What should you use?

A.

Azure Advisor recommendations

B.

an Azure Policy definition

C.

Azure Monitor alerts

D.

an Azure Sentinel workspace

Full Access
Question # 19

You have an Azure IoT hub.

You need to enable Azure Defender for IoT on the IoT hub.

What should you do?

A.

From the Security settings of the loT hub, select Secure your loT solution.

B.

From the Diagnostics settings of the loT hub, select Add diagnostic setting.

C.

From Defender, add a security policy.

D.

From Defender, configure security alerts.

Full Access
Question # 20

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

AZ-220 question answer

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

Full Access
Question # 21

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 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: You delete the enrollment group from the Device Provisioning Service. Does the solution meet the goal?

A.

Yes

B.

No

Full Access
Question # 22

You need to enable telemetry message tracing through the entire IoT solution.

What should you do?

A.

Monitor device lifecycle events.

B.

Upload IoT device logs by using the File upload feature.

C.

Enable the DeviceTelemetry diagnostic log and stream the log data to an Azure event hub.

D.

Implement distributed tracing.

Full Access
Question # 23

What should you do to identify the cause of the connectivity issues?

A.

Send cloud-to-device messages to the IoT devices.

B.

Use the heartbeat pattern to send messages from the IoT devices to iothub1.

C.

Monitor the connection status of the device twin by using an Azure function.

D.

Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric.

Full Access
Question # 24

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.

NOTE: Each correct selection is worth one point.

AZ-220 question answer

Full Access
Question # 25

You need to configure a gateway for the child devices. The solution must meet the networking requirements. Which gateway pattern should you use?

A.

transparent

B.

identity translation

C.

protocol translation

Full Access
Question # 26

You need to configure loT module routing to meet the device requirements.

How should you complete the route? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-220 question answer

Full Access
Question # 27

You need to configure device access to the loT What should you use?

A.

private endpoints

B.

IP Filter

C.

Azure Application Gateway

D.

network security groups (NSGs)

Full Access
Question # 28

You need to the configure the device parameters to meet the device requirements. Which file should you update on each device?

A.

/etc/sensors3.conf

B.

/etc/host.conf

C.

/etc/aziot/edged/config.d

D.

/etc/aziot/config.toml

Full Access
Question # 29

You need to design a module deployment strategy that meets the device requirements. What should you create?

A.

a single deployment

B.

a standard deployment for each type of device

C.

a layered deployment for each type of device

D.

a single layered deployment

Full Access
Question # 30

You need to develop a messaging app that meets the technical requirements. Which shared access policy should you use?

A.

service

B.

device

C.

lothubowner

D.

registryReadWrite

Full Access
Question # 31

You need to meet the monitoring requirements for device metrics. What should you configure?

A.

Azure Time Series Insights

B.

Microsoft Power Bl

the Diagnostic settings

C.

Azure Stream Analytics

Full Access
Question # 32

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 loT Hub or a Postman call to the loT Hub REST API

B.

Azure Monitor or Azure Log Analytics

C.

Microsoft Visual Studio Code that uses the loT Hub Toolkit or Azure CLI that uses the loT Hub extension

D.

Splunk or Grafana

Full Access