MD-102 Prepare infrastructure for devices Practice Question
You are preparing infrastructure for device management in Microsoft Intune. Your organization plans to deploy Windows 11 devices using Windows Autopilot in Microsoft Entra join mode. You need to ensure that the devices can be identified and assigned to the correct deployment profile. Which two actions must you perform? (Choose two.)
⚠ Common exam trap
The trap here is assuming that automatic enrollment or conditional access is needed for Autopilot, when actually the core requirements are hardware hash registration and a deployment profile assignment.
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
✓
Register the device hardware hash in Intune.
To identify and assign Autopilot devices, you must register the hardware hash in Intune and create an Autopilot deployment profile assigned to a device group. The hardware hash allows Intune to recognize the device as an Autopilot device, and the profile determines the deployment settings. Without these two actions, the device will not receive the intended Autopilot configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy the Intune Company Portal app to all devices.
Why it's wrong here
The Company Portal app is used for user-driven enrollment and accessing corporate resources, but it is not required for Autopilot deployment. Autopilot handles enrollment automatically during the OOBE, and the Company Portal may be installed later depending on the deployment profile settings. It is not part of the device identification or profile assignment.
- ✓
Register the device hardware hash in Intune.
Why this is correct
Registering the hardware hash in Intune is essential for Autopilot. The hardware hash uniquely identifies the device, and without it, the device cannot be recognized as an Autopilot device. You can collect the hash manually or through the OEM, and then import it into Intune. This allows you to assign an Autopilot deployment profile to the device.
- ✓
Create an Autopilot deployment profile and assign it to a device group.
Why this is correct
An Autopilot deployment profile defines the out-of-box experience settings, such as the deployment mode (user-driven or self-deploying), join type (Microsoft Entra join or hybrid), and other configurations. You must assign the profile to a group containing the Autopilot devices so that the settings apply during the deployment process.
- ✗
Enable automatic enrollment in Intune for all users.
Why it's wrong here
Automatic enrollment ensures that devices are enrolled into Intune when users sign in, but it is not a prerequisite for Autopilot deployment. Autopilot automatically enrolls devices into Intune during the out-of-box experience if the user has the appropriate licenses. Automatic enrollment is more relevant for existing devices or BYOD scenarios.
- ✗
Configure a conditional access policy requiring compliant devices.
Why it's wrong here
Conditional access policies are used to control access to resources based on conditions, but they are not required to identify or assign Autopilot devices. While conditional access can enhance security post-deployment, it does not play a role in the Autopilot device registration or profile assignment process.
Go deeper
Related to this question
Learn chapter
Deploying Applications with Intune
Key term
Microsoft Intune
Microsoft Intune is a cloud-based service that helps organizations manage employee devices, apps, and security policies without needing to own or control the physical hardware.
Key term
Autopilot
Autopilot is a Microsoft cloud-based deployment technology that automates the setup and configuration of new Windows devices, reducing manual IT effort and enabling users to be productive from the first boot.
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.