Courseiva
Manage applications →hardMultiple Choice

MD-102 Manage applications Practice Question

Exhibit

Refer to the exhibit.

Intune Management Extension log snippet:
```
[Win32AppDetection] App 'MyApp' detection failed. Detection rule: File exists C:\Program Files\MyApp\app.exe. File not found.
[Win32AppInstall] Installing app 'MyApp'...
[Win32AppInstall] Installation completed with exit code 0.
[Win32AppDetection] App 'MyApp' detection succeeded.
```

An administrator is troubleshooting why a Win32 app is repeatedly installed on a device. The exhibit shows a log snippet. What is the most likely cause of the repeated installation?

⚠ Common exam trap

A common mix-up: candidates assume a detection rule failure is due to timing (Option C) or exit code issues (Option D), but the real-world cause is often a transient detection artifact that gets cleaned, not a logic error in the installation process.

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 app writes the detection file to a temporary folder that is cleaned periodically

If the Win32 app's detection file is written to a temporary folder (e.g., %TEMP% or C:\Windows\Temp) that is periodically cleaned by disk cleanup policies or the Storage Sense feature, Intune will no longer detect the app as installed after the file is removed. This causes the Microsoft Intune Management Extension to re-run the installation on the next sync cycle, leading to a repeated installation loop. The detection rule relies on the persistent presence of the file, so its removal triggers reinstallation.

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 app writes the detection file to a temporary folder that is cleaned periodically

    Why this is correct

    Intune's Win32 detection rules re-evaluate the detection file on each check-in. Because the file sits in a temporary folder that is periodically cleaned, the rule never finds it, so the app is reinstalled repeatedly. A stable, non-volatile detection path would satisfy the detection constraint.

  • ✗

    The app requires a reboot to complete installation

    Why it's wrong here

    A pending reboot does not by itself cause the same app to reinstall repeatedly; Intune would report the install as complete pending restart. It is tempting because reboot-dependent installs do fail detection, but the loop here stems from the installer's exit code being interpreted as failure.

  • ✗

    The detection rule runs before the install completes

    Why it's wrong here

    Detection rules are evaluated after the install completes, so a rule running early would not itself trigger repeated reinstalls; the log would instead show a detection mismatch. It is tempting because timing faults do cause loops, but the actual mechanism here is the installer returning a non-zero exit code treated as failure.

  • ✗

    The exit code 0 is misinterpreted as failure

    Why it's wrong here

    Intune treats exit code 0 as success, so it cannot be misread as failure; a zero code ends the install cleanly. It is tempting because exit-code handling does govern retries, but the loop arises when the installer returns a non-zero code that is not mapped as success, prompting reinstallation.

Go deeper

Related to this question

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.