Courseiva

MD-102 Manage and maintain devices Practice Question

Exhibit

Get-MgDeviceManagementManagedDevice -Filter "operatingSystem eq 'Windows'" | Select-Object id, deviceName, enrolledDateTime, lastSyncDateTime, complianceState

Refer to the exhibit. You run this Microsoft Graph PowerShell command to retrieve managed devices. The output shows a device with a lastSyncDateTime of 5 days ago. What does this indicate?

⚠ Common exam trap

It's easy for candidates to confuse `lastSyncDateTime` with enrollment date or compliance status, leading them to incorrectly assume the device is non-compliant or unenrolled, when in fact it simply indicates the last successful communication with Intune.

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 device has not communicated with Intune for 5 days.

The `lastSyncDateTime` property in Microsoft Graph for Intune-managed devices indicates the most recent time the device successfully checked in with the Intune service. A value of 5 days ago means the device has not communicated with Intune for 5 days, which could be due to network issues, device inactivity, or configuration problems. This does not inherently mean the device is non-compliant or unenrolled—it simply reflects the last successful sync.

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 device was enrolled 5 days ago.

    Why it's wrong here

    lastSyncDateTime is the most recent device check-in with Intune, not the enrolment timestamp, which is captured by enrolledDateTime. It is tempting because both are date fields on the same managedDevice object, but they record entirely different lifecycle events.

  • ✗

    The device is non-compliant.

    Why it's wrong here

    Compliance state is not determined by last sync time alone.

  • ✗

    The device is unenrolled.

    Why it's wrong here

    An unenrolled device is removed from Intune and would not appear in managedDevices output at all. It is tempting because a stale sync can precede cleanup, but the record's presence proves enrolment persists; only the check-in is overdue.

  • ✓

    The device has not communicated with Intune for 5 days.

    Why this is correct

    lastSyncDateTime records the most recent check-in between the device and the Intune service. A value five days old means no communication has occurred since then, so the device is likely offline, powered down, or otherwise unable to reach the service.

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 →

How Courseiva writes practice questions · Editorial policy

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.