Endpoint Administrator MD-102 Practice Test 82
Question 810
An operations team reviews an automated endpoint insight that proposes reverting a browser version, but the observed crashes are confined to one device model and the proposed action affects the whole fleet. What evidence would support a controlled remediation decision?
- On affected and unaffected matched cohorts, compare app crash rate and version before and after a narrowly targeted pilot while retaining rollback criteria
- Confirm a dashboard predicts fewer crashes after the change
- Count only approvals recorded by administrators
- Observe that the update policy was saved without checking any devices
Explanation
Correct Answer
A:Matched baseline and postchange observations test the proposed causal improvement
Incorrect Answers
B:Forecasted improvement is not actual runtime evidence
C:Approval counts cannot measure application reliability
D:Portal state does not show impact
Question 811
A Windows Remediations package has a detection PowerShell script and a separate repair script. The detection script finds a missing security configuration but exits with 0. What code correction causes the actual repair to run only when a problem exists?
- Return exit code 0 when detection finds a missing file and expect Intune to invoke remediation automatically
- Return a JSON string containing a word error without changing the exit code
- Return exit code 1 from detection when the condition is found and exit 0 when it is healthy, leaving remediation script as the conditional second step
- Configure only the service-side run schedule without fixing the script return value
Explanation
Correct Answer
C:Intune Remediations uses detection exit 1 as the signal to launch a repair
Incorrect Answers
A:For device remediations the detection script's exit code 1 signals an issue and triggers the remediation script; exit 0 means no remediation is required.
B:Standard output text does not replace the detection exit code condition
D:Scheduling a broken detector cannot make Intune choose to remediate
Question 812
A Windows Remediations package has a detection PowerShell script and a separate repair script. The detection script finds a missing security configuration but exits with 0. Detection output shows an unhealthy registry value but remediation never starts on eligible pilot devices. Which first check isolates the defect?
- Inspect the default Windows wallpaper color
- Rotate the device local admin password manually
- Compare the detection process exit code with the expected exit 1 trigger and inspect management extension execution results
- Query Apple device VPP inventory for missing licenses
Explanation
Correct Answer
C:A healthy return code prevents the downstream repair despite diagnostic text
Incorrect Answers
A:Wallpaper does not decide the Remediations exit-code condition
B:Password rotation is not the detection-to-remediation trigger
D:Apple store licensing does not govern Windows PowerShell remediation
Question 813
A Windows Remediations package has a detection PowerShell script and a separate repair script. The detection script finds a missing security configuration but exits with 0. What establishes that the repair now works and no unnecessary repair occurs?
- Observe that detection completes with exit 0 on an already healthy device and that no remediation runs
- The package shows a valid script filename but no result code
- An unhealthy pilot returns exit 1, runs remediation and then becomes healthy; a control device returns exit 0 and does not run the repair
- Observe only that the repaired registry value exists on one unhealthy pilot, without confirming detection exit 1, remediation execution, or healthy-device exit 0.
Explanation
Correct Answer
C:Positive and negative tests confirm the conditional script contract
Incorrect Answers
A:A healthy negative control is useful but does not demonstrate that the unhealthy condition returns 1, triggers remediation and becomes healthy afterward.
B:A filename cannot demonstrate the trigger or repair
D:A healthy-looking value alone cannot prove detection and remediation branching; tests must cover the problem and control paths.
Question 814
An Intune Remediations package will repair a registry setting on employee Windows laptops. The original script embeds a service password and prints the user’s full home path to its diagnostic output. What should be changed before deployment?
- Base64-encode the password in the .ps1 file and continue printing the home path.
- Publish the script as-is because Intune limits output characters automatically.
- Run every script permanently with broad admin rights regardless of need.
- Remove embedded secrets and personal data, minimize diagnostic output, and use a least-privilege supported execution context for the detection/remediation scripts.
Explanation
Correct Answer
D:Microsoft’s remediation script guidance explicitly forbids secrets and personal data and recommends privacy-sensitive output handling.
Incorrect Answers
A:Encoding does not protect a hardcoded secret or remove personal data collection.
B:An output length limit does not authorize personal or secret information in logs.
C:Excess privileges enlarge the impact of a script error and do not address secret exposure.
Question 815
A scheduled remediation appears in reports, but a security review finds a cleartext token inside its detection script and user-identifiable paths in output. What is the real release blocker?
- The script is too short to be a valid .ps1 file.
- The script content and diagnostics expose sensitive credentials or personal data contrary to Intune scripting guidance.
- The remediation package should always include a forced reboot.
- An unrelated app configuration key is missing from a mobile app.
Explanation
Correct Answer
B:A scheduled or successfully executed script can still violate credential and privacy requirements.
Incorrect Answers
A:Script length is not the reported security problem.
C:Microsoft advises against reboot commands in remediation scripts.
D:Mobile MAM settings do not explain secrets embedded in a Windows script.
Question 816
After remediation hardening, what result shows the repair runs without leaking sensitive information?
- Execute on a controlled pilot, verify the intended registry state and inspect script files and captured outputs for absence of credentials and personal identifiers.
- See Exit 0 only, without reviewing the actual registry value or logs.
- Store the same password in a comment instead of executable code.
- Check only that the script package is assigned to a group.
Explanation
Correct Answer
A:Successful device repair and negative sensitive-data checks are both required to close this security defect.
Incorrect Answers
B:Exit status does not prove repair correctness or absence of sensitive output.
C:The plaintext secret remains recoverable from the script package.
D:Policy assignment proves neither runtime outcome nor privacy.
Question 817
A managed-service provider builds a nightly read-only Intune inventory integration. The program must not have privileges to wipe, lock or retire devices. Which Graph permission model satisfies least privilege for this integration?
- Grant DeviceManagementManagedDevices.PrivilegedOperations.All to make all inventory calls succeed
- Use a broad directory Global Administrator user credential embedded in the script
- Use the required DeviceManagementManagedDevices.Read.All application permission with tenant administrator consent for an approved read-only service identity
- Assume any Microsoft Graph token permits Intune reads without an assigned permission
Explanation
Correct Answer
C:Read-only device permission supports inventory without privileged remote actions
Incorrect Answers
A:Privileged remote actions would exceed the read-only job
B:Highly privileged user secrets are not a least-privilege integration
D:Entra token issuance does not imply authorization to each Intune resource
Question 818
A managed-service provider builds a nightly read-only Intune inventory integration. The program must not have privileges to wipe, lock or retire devices. The inventory app receives 403 when reading managed devices, although it successfully obtains a Microsoft Graph access token. What should be inspected?
- Whether the operator has a Windows BitLocker startup PIN
- The token app role/permission and administrator consent against the Intune managedDevice read endpoint
- Whether a device was recently renamed by the user
- Whether a Microsoft Store catalog entry exists
Explanation
Correct Answer
B:Authentication success is separate from API authorization
Incorrect Answers
A:Device encryption configuration does not grant Graph inventory permissions
C:Device naming does not grant application API scopes
D:Store inventory is unrelated to Intune Graph token roles
Question 819
A managed-service provider builds a nightly read-only Intune inventory integration. The program must not have privileges to wipe, lock or retire devices. How can the provider verify read-only permission boundaries safely?
- Successfully wipe a production device with the service identity
- Read an allowed pilot managed-device record and confirm a controlled privileged remote-action request receives permission denial using an isolated test identity and device
- Count the number of Graph endpoints visible in public documentation
- Confirm the app registration has a readable display name
Explanation
Correct Answer
B:Positive read and denied write test the privilege boundary
Incorrect Answers
A:That would violate the read-only requirement and cause unnecessary impact
C:Published APIs do not prove an application authorization boundary
D:A name is unrelated to API grants
Question 820
An IT automation reads Intune managedDevice records by Microsoft Graph and must produce a report for one delegated operating region without inadvertently processing a similar-named device in another region. Which query-and-action design enforces the intended target boundary?
- Query stable managed-device IDs and validated approved group/region ownership before report processing, using the required API permissions and explicit scoped filters
- Match only the first six characters of device display names across all tenants
- Enable privileged remote Wipe for the reporting app to simplify list queries
- Read only locally cached results without checking record identity or staleness
Explanation
Correct Answer
A:Stable object identity and validated scope reduce accidental cross-region processing
Incorrect Answers
B:Display-name prefixes can collide and are not an authorization boundary
C:Destructive permissions do not improve the precision of read-only reporting
D:A stale, unverified cache can conflate former and current devices