exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 1 question 14 discussion

Actual exam question from Microsoft's AZ-220
Question #: 14
Topic #: 1
[All AZ-220 Questions]

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 Advanced Message Queuing Protocol (AMQP) protocol and authenticate to the IoT hub by using symmetric keys.
You need to configure the SASL PLAIN username for the AMQP connection.
How should you configure the username? To answer, drag the appropriate options to the correct targets. Each option 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.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: DeviceID -
If you use AMQP claims-based-security, the standard specifies how to transmit these tokens.
For SASL PLAIN, the username can be:
{policyName}@sas.root.{iothubName} if using IoT hub-level tokens.
{deviceId}@sas.{iothubname} if using device-scoped tokens.

Box 2: sas -

Box 3:IoT hub hame -
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-dev-guide-sas

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sudhansu21
Highly Voted 3 years, 3 months ago
Came in Exam Feb 2022.
upvoted 6 times
...
d0bermannn
Highly Voted 3 years, 5 months ago
answer provided is correct as said in https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-dev-guide-sas?tabs=node, see here: For SASL PLAIN, the username can be: {policyName}@sas.root.{iothubName} if using IoT hub-level tokens. {deviceId}@sas.{iothubname} if using device-scoped tokens.
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...