MD-102 Manage and maintain devices Practice Question
Exhibit
Get-IntuneManagedDevice -Filter "operatingSystem eq 'Windows'" | Select-Object id, deviceName, lastSyncDateTime, complianceState
Refer to the exhibit. You run this PowerShell command to retrieve Windows devices. The output shows several devices with lastSyncDateTime older than 30 days and complianceState as 'noncompliant'. What is the most likely cause for these devices to be noncompliant?
⚠ Common exam trap
The MD-102 exam often tests the distinction between enrollment failures and compliance violations; the trap here is that candidates may incorrectly attribute noncompliance to enrollment issues rather than recognizing that a valid `lastSyncDateTime` indicates successful enrollment, and the noncompliant state is due to a missed check-in threshold.
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
✓
The compliance policy includes a rule for 'Maximum days since last check-in' and these devices exceeded that limit.
The compliance policy includes a rule for 'Maximum days since last check-in', which checks the `lastSyncDateTime` property. Devices that have not synced within the configured threshold (e.g., 30 days) are marked as noncompliant. This is a common Intune compliance setting for Windows devices to ensure they regularly communicate with the service.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The devices failed to enroll properly.
Why it's wrong here
Failed enrolment would leave devices absent from Intune entirely, yet these devices report a complianceState, proving enrolment succeeded. It is tempting because enrolment problems commonly cause management gaps, and would be correct if devices never appeared in the inventory at all.
- ✓
The compliance policy includes a rule for 'Maximum days since last check-in' and these devices exceeded that limit.
Why this is correct
A compliance policy rule of 'Maximum days since last check-in' directly marks devices noncompliant once their lastSyncDateTime exceeds the configured threshold. Since the exhibit shows lastSyncDateTime older than 30 days, those devices breached that rule, which explains the noncompliant complianceState without any other cause.
- ✗
The devices are running a non-Windows operating system.
Why it's wrong here
The command retrieves Windows devices specifically, and non-Windows platforms would not appear in this filtered output. It is tempting because cross-platform policy gaps cause compliance failures, and would be correct if the query returned macOS, iOS or Android devices.
- ✗
The devices have names that do not match the naming convention.
Why it's wrong here
Device naming has no bearing on compliance evaluation; compliance reflects configuration and policy state, not hostname format. It is tempting because naming conventions are enforced administratively, but they are cosmetic and would only matter for asset-tracking or reporting requirements, not compliance status.
Go deeper
Related to this question
Learn chapter
Configuring Compliance Policies
Key term
Compliance policy
A compliance policy is a set of rules that ensures devices, users, and applications meet an organization's security and regulatory requirements before they can access corporate resources.
Key term
Intune
Microsoft Intune is a cloud-based service that helps organizations manage their users' devices and applications, ensuring security and compliance without needing to own or control the physical hardware.
About these practice questions
This MD-102 question is part of Courseiva's 556-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.