MD-102 Manage and maintain devices Practice Question
A company uses Microsoft Intune to manage devices. They want to use a script to collect inventory data from Windows devices. Which TWO methods can be used?
⚠ Common exam trap
Candidates often confuse 'running a script' (PowerShell script deployment) with 'collecting inventory data from a script' (Proactive remediations or custom compliance policies), not realizing that only the latter two methods natively capture and report script output back to Intune as inventory.
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
✓
Proactive remediations
Proactive remediations (B) are correct because they allow you to run PowerShell scripts on a schedule to detect and remediate issues, and the detection script can output custom inventory data that is collected and reported in Intune. Custom compliance policies (C) are correct because they can execute a PowerShell script to evaluate compliance settings, and the script's output (e.g., registry values, file versions) can be used to gather inventory data as part of the compliance check.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Device configuration profile
Why it's wrong here
Configuration profiles set settings, they do not run scripts.
- ✓
Proactive remediations
Why this is correct
Detection scripts in proactive remediations can collect inventory data.
- ✓
Custom compliance policy
Why this is correct
Custom compliance policies can run scripts to detect compliance and collect data.
- ✗
PowerShell script deployment
Why it's wrong here
PowerShell scripts can run but are not specifically designed for inventory collection; proactive remediations are better.
- ✗
App protection policy
Why it's wrong here
App protection policies manage app data protection, not device inventory.
Go deeper
Related to this question
Learn chapter
Introduction to Endpoint Management in Microsoft 365
Key term
Compliance
Compliance is the process of ensuring that an organization follows laws, regulations, standards, and internal policies that apply to its operations and data handling.
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.
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 →
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.