MD-102 Manage and maintain devices Practice Question
You manage a fleet of Windows 11 devices enrolled in Microsoft Intune. You need to configure a remediation to automatically restart the Windows Update service (wuauserv) if it stops. You create a proactive remediation script package. Which two components must you provide in the script package? (Choose two.)
⚠ Common exam trap
Test-takers frequently confuse proactive remediation components with app deployment requirement rules or compliance policies, which serve different purposes.
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
✓
A detection script that checks whether the Windows Update service is running
A proactive remediation script package in Intune consists of two scripts: a detection script and a remediation script. The detection script identifies whether the Windows Update service is running; if it is not, it signals non-compliance. The remediation script then starts the service. Together, they automate the detection and correction of the issue, ensuring the service is restarted without manual intervention.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
A detection script that checks whether the Windows Update service is running
Why this is correct
A detection script is required in a proactive remediation to determine if the device is compliant or non-compliant. In this scenario, it must check the status of the Windows Update service and exit with a non-zero code or 'non-compliant' output if the service is stopped, triggering the remediation script.
- ✗
A PowerShell script that runs only once at device enrollment
Why it's wrong here
Proactive remediations run on a schedule, not just once at enrollment. A script that runs only once would not continuously monitor the service and restart it if it stops later. The requirement is to automatically restart the service whenever it stops, so a one-time script does not meet the need.
- ✗
A requirement rule that checks the service status before installation
Why it's wrong here
Requirement rules are used for app deployments to determine if a device is eligible for installation; they are not part of proactive remediation script packages. They cannot trigger remediation actions. Including a requirement rule would not help detect or fix the stopped service, and it is not a valid component of a proactive remediation.
- ✗
A compliance policy that marks the device noncompliant if the service is stopped
Why it's wrong here
A compliance policy can evaluate the service status and mark the device noncompliant, but it does not include a remediation script to restart the service. While compliance policies can trigger conditional access, they do not automatically run scripts to fix issues. This scenario specifically requires a proactive remediation, not just compliance evaluation.
- ✓
A remediation script that starts the Windows Update service if it is stopped
Why this is correct
A remediation script is required to perform the corrective action when the detection script reports non-compliance. Here, it must start the Windows Update service. Without it, the detection script alone would only report the issue but not fix it, failing the requirement to automatically restart the service.
Go deeper
Related to this question
Learn chapter
Configuring Compliance Policies
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
Remediation script
A remediation script is an automated set of instructions that detects and fixes common IT security or configuration issues without manual intervention.
About these practice questions
Courseiva writes every MD-102 question from scratch — 556 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.