MD-102 Prepare infrastructure for devices Practice Question
You are preparing to deploy Windows 11 devices using Windows Autopilot. The devices are Microsoft Entra joined. You need to ensure that during OOBE, devices are automatically assigned to the correct group for policy targeting. What should you configure?
⚠ Common exam trap
The trap here is assuming that static groups or device categories can automate group membership, when dynamic groups based on device attributes are required.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a dynamic device group in Microsoft Entra ID with a rule based on the device's enrollment profile name.
Dynamic device groups in Microsoft Entra ID allow automatic membership based on device attributes such as enrollment profile name. This is ideal for Autopilot deployments because devices are automatically added to the correct group, enabling targeted policy and app assignments without manual effort.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a Group Policy object to add devices to an on-premises security group that is synced to Microsoft Entra ID.
Why it's wrong here
Group Policy is not applicable during Autopilot OOBE for Microsoft Entra joined devices, as they are not domain-joined. Even if devices were hybrid joined, Group Policy would not run during OOBE to add them to a group. This method is not suitable for automatic group assignment in Autopilot scenarios.
- ✗
Assign the Autopilot deployment profile to a static group that contains all users.
Why it's wrong here
Assigning the Autopilot profile to a user group is not sufficient for device group targeting. Autopilot profiles are assigned to device groups, not user groups. Static user groups do not automatically include devices and would not ensure that devices are grouped based on their enrollment profile. This approach would not meet the requirement for automatic assignment.
- ✓
Create a dynamic device group in Microsoft Entra ID with a rule based on the device's enrollment profile name.
Why this is correct
Dynamic device groups in Microsoft Entra ID can use the device's enrollment profile name (or other attributes like device model, manufacturer) to automatically include devices. This ensures that Autopilot devices are grouped correctly for policy assignment without manual intervention. The enrollment profile name is set during Autopilot and can be used as a rule criterion.
- ✗
Configure a device category in Intune and assign it during OOBE.
Why it's wrong here
Device categories are used for reporting and can be assigned by users during enrollment, but they do not automatically group devices for policy targeting. They are not used in dynamic group rules. This would require manual selection and does not provide automatic assignment based on enrollment profile.
Go deeper
Related to this question
Learn chapter
Implementing Windows Autopilot
Key term
Windows Autopilot
Windows Autopilot is a cloud-based deployment technology that automates the setup and configuration of new Windows devices, reducing the need for IT staff to manually image or touch each machine.
Key term
Microsoft Entra ID
Microsoft Entra ID is a cloud-based identity and access management service that lets employees sign in and access resources both inside and outside of your organization.
About these practice questions
This MD-102 question is part of Courseiva's 556-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This MD-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MD-102 exam.