MD-102 Requirement rule Practice Question
You are planning to deploy a Win32 app to Windows 10 devices using Microsoft Intune. The app requires a specific registry key to be present before installation. How should you ensure the prerequisite is met?
⚠ Common exam trap
The trap is that candidates often confuse requirement rules with detection rules. Requirement rules are pre-installation checks, while detection rules are post-installation checks. In this scenario, the need is to ensure a registry key exists before installation, so a requirement rule (option C) is the correct choice, not a detection rule (option D).
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
✓
Set a requirement rule for the registry key.
Requirement rules are used to evaluate conditions that must be met before the app installation begins. By setting a requirement rule to check for the existence of the specific registry key, Intune will verify the prerequisite and only install the app if the key is present. Detection rules, on the other hand, are intended to verify the app's installation status after deployment, not to check prerequisites before installation. Therefore, option D is incorrect.
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 the installation behavior as 'System' to bypass user context.
Why it's wrong here
Running the installer as System changes the execution context but does not create the required registry key, so the prerequisite remains unmet. It is tempting because System context is the correct choice when an installer needs elevated privileges or machine-wide access, not when a specific registry value must exist beforehand.
- ✗
Add the registry key as a dependency.
Why it's wrong here
Dependencies in Intune apply only to other Intune-managed Win32 apps, so a raw registry key cannot be added as one. It is tempting because dependencies are the standard way to sequence prerequisites, and would be correct if the prerequisite were another application package rather than a registry value.
- ✓
Set a requirement rule for the registry key.
Why this is correct
Requirement rules evaluate device conditions before installation, so a registry-based requirement rule blocks deployment unless the specified key exists. This satisfies the prerequisite constraint by preventing installation on devices lacking the required registry key, without scripting custom detection logic.
- ✗
Configure a detection rule to verify the registry key exists.
Why it's wrong here
A detection rule only reports whether the registry key exists after installation; it cannot create the prerequisite beforehand, so installation fails. It is tempting because detection rules are the standard mechanism for confirming a Win32 app installed successfully, which is the correct use when verifying deployment outcomes rather than enforcing prerequisites.
Go deeper
Related to this question
Learn chapter
Updating Devices with Windows Update for Business
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
Windows 10
Windows 10 is a personal computer operating system developed by Microsoft that combines the familiarity of Windows 7 with the modern features of Windows 8, designed to run on a wide range of devices from desktops to tablets.
About these practice questions
One of 556 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 →
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.