MD-102 Prepare infrastructure for devices Practice Question
Exhibit
Refer to the exhibit.
```json
{
"enrollmentProfile": "Microsoft Intune Windows Enrollment",
"deviceName": "DESKTOP-%RAND:5%",
"groupTag": "Marketing",
"orderID": "12345",
"serialNumber": "ABC123"
}
```Refer to the exhibit. An Autopilot device registration JSON. What does the '%RAND:5%' placeholder do?
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
✓
It generates a random 5-character string.
The placeholder %RAND:5% generates a random 5-character string, ensuring unique device names during Autopilot deployment. Options A, C, and D are incorrect; %RAND:5% does not use the device model, serial number, or user principal name.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It inserts the device's model name.
Why it's wrong here
Model name is not used.
- ✓
It generates a random 5-character string.
Why this is correct
This ensures unique names.
- ✗
It inserts the device's serial number.
Why it's wrong here
Serial number is separate.
- ✗
It inserts the user's principal name.
Why it's wrong here
No user context in self-deploying mode.
Go deeper
Related to this question
Learn chapter
Planning Deployment and Architecture
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.
Key term
Device registration
Device registration is the process of linking a device to a management system, such as Microsoft Entra ID, to enable controlled access to organizational resources.
About these practice questions
This MD-102 question is part of Courseiva's 942-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 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.