Courseiva
Prepare infrastructure for deviceshardMultiple ChoiceObjective-mapped

MD-102 Prepare infrastructure for devices Practice Question

Exhibit

Get-WindowsAutopilotInfo.ps1 -GroupTag "Marketing" -Online

Refer to the exhibit. An administrator runs the PowerShell cmdlet shown on a new Windows 11 device. The cmdlet completes successfully, but the device does not appear in Intune under Windows Autopilot devices. What is the most likely cause?

⚠ Common exam trap

Test-takers frequently assume a successful cmdlet execution means the device is registered, but Microsoft deliberately separates the local upload success from the service-side permission check, testing whether you understand that Intune role-based access control governs the final enrollment.

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

The user running the cmdlet does not have the required permissions in Intune.

The Get-WindowsAutopilotInfo cmdlet uploads the device's hardware hash to the Microsoft Intune service. If the user lacks the necessary Intune role permissions (e.g., 'Intune Administrator' or a custom role with 'Enroll and assign devices' permission), the upload succeeds locally but the device hash is rejected by the Intune service, so the device never appears in the Windows Autopilot device list.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The user running the cmdlet does not have the required permissions in Intune.

    Why this is correct

    The cmdlet requires Intune Administrator or similar role to upload the hash.

  • The device does not have internet access.

    Why it's wrong here

    The cmdlet requires internet; if no internet, it would fail.

  • The device is already registered in Autopilot, so the cmdlet does nothing.

    Why it's wrong here

    The cmdlet would still attempt to upload; if already registered, it would update.

  • The group tag 'Marketing' is invalid.

    Why it's wrong here

    Invalid group tag would cause an error but not prevent upload.

About these practice questions

One of 942 original MD-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.