exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 2 question 1 discussion

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

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.

  • A. From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub.
  • B. From the Azure portal, create a new Azure IoT hub.
  • C. From the Manage allocation policy blade of the Device Provisioning Service, configure an allocation policy.
  • D. From the Certificates blade of the Device Provisioning Service, upload an X.509 certificate to the Device Provisioning Service.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
alexgrdi89
Highly Voted 4 years, 11 months ago
Answer A and C
upvoted 22 times
...
angelsrp
Highly Voted 4 years, 9 months ago
i think answers are A and D, by default allocation policy is set to "Evenly weighted distribution", so, you dont need to manage the policy, instead, you need to upload and verify a X.509 certificate. https://docs.microsoft.com/en-us/learn/modules/securely-provision-iot-devices-at-scale-with-device-provisioning-service/4-exercise-create-dps-resource-root-certificate-group-enrollment
upvoted 19 times
adi38911
4 years, 8 months ago
Do not agree to this answer as question does not mention anything about which attestation mechanism to use, If at all one is not bothered about Generating CA signing certificate for devices then option A & C makes more sense since with individual enrollments you can accept device enrollments using SAS key as well and thats the basic difference when creating enrollments, individual enrollments are possible with SAS key and certificate both but group enrollments are only possible with certificate so in my opinion if question had something on the attestation mechanism, i would have better choice to select the correct option but with plane vanilla set up of DPS i would go with Option A & C
upvoted 5 times
...
...
IMARRA
Most Recent 1 year, 10 months ago
Selected Answer: AB
Clearly explained here: https://learn.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision
upvoted 1 times
...
feyey
2 years ago
Selected Answer: AC
A. From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub: The Device Provisioning Service needs to be linked to an Azure IoT hub to enable it to provision devices for the hub. The linked IoT hub acts as the target hub for devices provisioned by the service. This step is required to enable the Device Provisioning Service to accept new device enrollments. C. From the Manage allocation policy blade of the Device Provisioning Service, configure an allocation policy: An allocation policy determines how devices are assigned to IoT hubs when they are provisioned by the Device Provisioning Service. It specifies the IoT hub to which a device should be provisioned based on criteria such as device ID, device group, and tags. Configuring an allocation policy is an important step for ensuring that the Device Provisioning Service can efficiently accept new device enrollments. Therefore, options A and C are the correct
upvoted 1 times
...
feyey
2 years ago
Selected Answer: AC
A. From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub: The Device Provisioning Service needs to be linked to an Azure IoT hub to enable it to provision devices for the hub. The linked IoT hub acts as the target hub for devices provisioned by the service. This step is required to enable the Device Provisioning Service to accept new device enrollments. C. From the Manage allocation policy blade of the Device Provisioning Service, configure an allocation policy: An allocation policy determines how devices are assigned to IoT hubs when they are provisioned by the Device Provisioning Service. It specifies the IoT hub to which a device should be provisioned based on criteria such as device ID, device group, and tags. Configuring an allocation policy is an important step for ensuring that the Device Provisioning Service can efficiently accept new device enrollments. Therefore, options A and C are the correct
upvoted 1 times
...
feyey
2 years ago
Selected Answer: AC
A. From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub: The Device Provisioning Service needs to be linked to an Azure IoT hub to enable it to provision devices for the hub. The linked IoT hub acts as the target hub for devices provisioned by the service. This step is required to enable the Device Provisioning Service to accept new device enrollments. C. From the Manage allocation policy blade of the Device Provisioning Service, configure an allocation policy: An allocation policy determines how devices are assigned to IoT hubs when they are provisioned by the Device Provisioning Service. It specifies the IoT hub to which a device should be provisioned based on criteria such as device ID, device group, and tags. Configuring an allocation policy is an important step for ensuring that the Device Provisioning Service can efficiently accept new device enrollments. Therefore, options A and C are the correct
upvoted 1 times
...
feyey
2 years ago
Selected Answer: AB
To ensure that the Device Provisioning Service can accept new device enrollments, the next two actions that should be performed are: A. From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub: The Device Provisioning Service needs to be linked to an Azure IoT hub to enable it to provision devices for the hub. The linked IoT hub acts as the target hub for devices provisioned by the service. This step is required to enable the Device Provisioning Service to accept new device enrollments. B. From the Azure portal, create a new Azure IoT hub: Before the Device Provisioning Service can start accepting new device enrollments, a new Azure IoT hub needs to be created. This IoT hub will act as the destination for devices that are provisioned by the Device Provisioning Service. If an IoT hub already exists, it can be used instead of creating a new one. This step is also required to enable the Device Provisioning Service to accept new device enrollments. Therefore, options A and B are the correct actions
upvoted 1 times
...
satishk4u
2 years, 9 months ago
Selected Answer: AB
Should be A and B
upvoted 1 times
...
zb99
2 years, 10 months ago
Selected Answer: AB
Only two steps that are not optional.
upvoted 1 times
...
rsamant
2 years, 11 months ago
Answer is A & D Allocation policy is not mandatory. https://docs.microsoft.com/en-us/azure/iot-dps/how-to-manage-enrollments
upvoted 2 times
...
liberty123
3 years, 1 month ago
Selected Answer: AC
Agree with AC
upvoted 1 times
...
Sophiamiaa
3 years, 3 months ago
A and D..
upvoted 2 times
...
coramella
3 years, 3 months ago
Selected Answer: AB
The answer makes no reference either to the authentication mechanism or to a different allocation policy, moreover the only existing resource is the resource the group sand so the iot hub must be created.
upvoted 3 times
...
Marusyk
3 years, 5 months ago
why it is not A and B?
upvoted 2 times
...
JeeBi
4 years ago
I also choose A and B. The question does not state that certificates need to be used and the allocation policy gets a default value.
upvoted 8 times
jracabrera
3 years, 11 months ago
I agree with A and B.
upvoted 4 times
...
...
dinesh_tng
4 years ago
There are only two required steps A & B. C and D are optional. Step 1 - Create IoT Hub (As creation of Hub is not mentioned) Step 2 - Link IoT Hub
upvoted 5 times
AnonymousJhb
4 years ago
B is wrong, as per Microsoft recommended best practice, first deploy the IoT Hub, before DPS. https://docs.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision Hence, A is next step and C. D is a security option inside of C which is either individual or over-arching group enrollment
upvoted 5 times
dinesh_tng
3 years, 10 months ago
technically, we can create DPS without IoT Hub. For for DPS to accept new enrolments, IoT Hub is must. Allocation policy is optional and CA will impact devices only from selected category. So my ans will be A and B.
upvoted 6 times
tita_tovenaar
3 years, 10 months ago
correct. technically , Microsoft connects Allocation Policy to IoT Hubs. A DPS can have *custom* allocation policies
upvoted 3 times
...
...
...
...
GParreiras
4 years ago
Correct answer is A and C
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago