Question 491 of 991
Prepare infrastructure for devicesmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to configure a Windows Autopilot deployment profile with a device name template and set 'Convert all targeted devices to Autopilot' to 'Yes'. This works because the device name template, such as 'CORP-%RAND:5%', applies the custom prefix automatically during the Autopilot enrollment process, while the conversion setting ensures that any device added to Autopilot is automatically enrolled in Microsoft Intune without manual intervention. On the MD-102 exam, this question tests your understanding of how Autopilot deployment profiles combine naming conventions with enrollment automation, often appearing as a scenario where you must satisfy both a naming prefix requirement and automatic Intune enrollment. A common trap is to confuse the device name template with a simple group policy or to forget that the conversion setting is mandatory for automatic enrollment. Remember the mnemonic: "Template for the name, Convert for the claim"—the template handles the prefix, and the conversion setting claims the device into Intune.

MD-102 Prepare infrastructure for devices Practice Question

This MD-102 practice question tests your understanding of prepare infrastructure for devices. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Your organization is rolling out Windows 11 devices using Autopilot. You need to ensure that all new devices are automatically enrolled in Microsoft Intune and configured with a custom device name prefix 'CORP-'. Which configuration should you implement?

Question 1mediummultiple choice
Full question →

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

Configure a Windows Autopilot deployment profile with a device name template and set 'Convert all targeted devices to Autopilot' to 'Yes'.

Option A is correct because a Windows Autopilot deployment profile allows you to specify a device name template (e.g., 'CORP-%RAND:5%') that automatically applies a custom prefix to new devices during the Autopilot enrollment process. Setting 'Convert all targeted devices to Autopilot' to 'Yes' ensures that devices added to Autopilot are automatically enrolled in Microsoft Intune, meeting both requirements.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Configure a Windows Autopilot deployment profile with a device name template and set 'Convert all targeted devices to Autopilot' to 'Yes'.

    Why this is correct

    This directly configures enrollment and naming.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a device configuration profile for Windows 11 with a custom OMA-URI for device name.

    Why it's wrong here

    Configuration profiles cannot rename devices during enrollment.

  • Set a device compliance policy that requires device name prefix 'CORP-'.

    Why it's wrong here

    Compliance policies do not enforce naming.

  • Modify the Enrollment Status Page (ESP) policy to require device naming.

    Why it's wrong here

    ESP does not support device naming.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse device configuration profiles (OMA-URI) or compliance policies as capable of setting device names, when in fact only the Autopilot deployment profile's device name template can enforce naming during the initial enrollment process.

Detailed technical explanation

How to think about this question

Under the hood, the Autopilot deployment profile's device name template uses variables like %RAND:X% to generate unique names while preserving the prefix, and this naming is applied during the out-of-box experience (OOBE) before the device checks in with Intune. A real-world scenario where this matters is when organizations need consistent naming for asset tracking or network policies, and relying on OMA-URI or compliance policies would fail because the device name is already set by the time those policies apply.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related MD-102 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MD-102 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this MD-102 question test?

Prepare infrastructure for devices — This question tests Prepare infrastructure for devices — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configure a Windows Autopilot deployment profile with a device name template and set 'Convert all targeted devices to Autopilot' to 'Yes'. — Option A is correct because a Windows Autopilot deployment profile allows you to specify a device name template (e.g., 'CORP-%RAND:5%') that automatically applies a custom prefix to new devices during the Autopilot enrollment process. Setting 'Convert all targeted devices to Autopilot' to 'Yes' ensures that devices added to Autopilot are automatically enrolled in Microsoft Intune, meeting both requirements.

What should I do if I get this MD-102 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on MD-102

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Refer to the exhibit. An Autopilot device registration JSON. What does the '%RAND:5%' placeholder do?

easy
  • A.It inserts the device's model name.
  • B.It generates a random 5-character string.
  • C.It inserts the device's serial number.
  • D.It inserts the user's principal name.

Why B: Option C is correct because %RAND:5% generates a random 5-character string to ensure unique device names. Option A is wrong because it's not based on serial. Option B is wrong because it's not the model. Option D is wrong because it's not user-specific.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.