Endpoint Administrator MD-102 Practice Test 80
Question 790
A manufacturing group is implementing an endpoint standard; an operations pilot must preserve existing user data. The requirement is that automated compliance script returns compliant even when a required service is stopped. Which Intune/Microsoft endpoint management decision BEST meets this requirement?
- Treat a successful script process exit as proof its business compliance assertion is true
- Create a device configuration profile without checking custom compliance output
- Fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema
- Increase polling frequency while leaving an inverted condition untouched
Explanation
Correct Answer
C:Fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema. This directly selects the appropriate endpoint-management control for the stated device and user boundary. The decisive distinction is whether the chosen management mechanism actually enforces the requirement in automated compliance script returns compliant even when a required service is stopped. Confirm on targeted and excluded devices; validate licensing, platform, identity, and policy evaluation rather than assuming that portal assignment alone proves enforcement.
Incorrect Answers
A:Treat a successful script process exit as proof its business compliance assertion is true. Execution success does not prove the measured service condition.
B:Create a device configuration profile without checking custom compliance output. Profile settings do not independently repair false compliance reporting.
D:Increase polling frequency while leaving an inverted condition untouched. Faster incorrect checks remain incorrect.
Question 791
A manufacturing group is implementing an endpoint standard; an operations pilot must preserve existing user data. During a pilot, the team finds that automated compliance script returns compliant even when a required service is stopped, but the intended control is not reliably in effect. Which troubleshooting action should be performed FIRST to isolate the relevant management boundary?
- Treat a successful script process exit as proof its business compliance assertion is true
- Create a device configuration profile without checking custom compliance output
- Increase polling frequency while leaving an inverted condition untouched
- Inspect the effective assignment and applicable runtime state, then fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema
Explanation
Correct Answer
D:Inspect the effective assignment and applicable runtime state, then fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema. Begin by confirming the effective assigned policy and device identity before changing unrelated settings. The substantive remediation is: Fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema. When the configured control, its target scope, and the runtime state agree, the investigated failure mode can be isolated without a broad destructive reset.
Incorrect Answers
A:Treat a successful script process exit as proof its business compliance assertion is true. Execution success does not prove the measured service condition.
B:Create a device configuration profile without checking custom compliance output. Profile settings do not independently repair false compliance reporting.
C:Increase polling frequency while leaving an inverted condition untouched. Faster incorrect checks remain incorrect.
Question 792
A manufacturing group is implementing an endpoint standard; an operations pilot must preserve existing user data. For the scenario in which automated compliance script returns compliant even when a required service is stopped, the administrator needs evidence that the requirement is actually enforced. Which verification provides the MOST DIRECT evidence?
- On a pilot device, verify that this configuration is deployed and record its runtime result: treat a successful script process exit as proof its business compliance assertion is true
- On a pilot device, verify that this configuration is deployed and record its runtime result: create a device configuration profile without checking custom compliance output
- Force the service off and inspect the device's reported compliance state
- On a pilot device, verify that this configuration is deployed and record its runtime result: increase polling frequency while leaving an inverted condition untouched
Explanation
Correct Answer
C:Force the service off and inspect the device's reported compliance state. This discriminates true enforcement from a policy that is merely listed or assigned. Use an authorized pilot device and compare the observed result with the expected control: Fix PowerShell detection logic and ensure the script reports state with the supported compliance output schema. Check platform and identity requirements and preserve the published test outcome as evidence.
Incorrect Answers
A:On a pilot device, verify that this configuration is deployed and record its runtime result: treat a successful script process exit as proof its business compliance assertion is true. Execution success does not prove the measured service condition.
B:On a pilot device, verify that this configuration is deployed and record its runtime result: create a device configuration profile without checking custom compliance output. Profile settings do not independently repair false compliance reporting.
D:On a pilot device, verify that this configuration is deployed and record its runtime result: increase polling frequency while leaving an inverted condition untouched. Faster incorrect checks remain incorrect.
Question 793
A regulated insurance provider is implementing an endpoint standard; change control requires auditable deployment evidence. The requirement is that a deployment script changes privileged settings and must not leak secrets to Intune logs. Which Intune/Microsoft endpoint management decision BEST meets this requirement?
- Use protected authentication, least privilege, and sanitized script output in managed automation
- Echo the access token in verbose logs for easier troubleshooting
- Save a plaintext service password in the script body with a short expiry
- Use an Intune app assignment description as a credential vault
Explanation
Correct Answer
A:Use protected authentication, least privilege, and sanitized script output in managed automation. This directly selects the appropriate endpoint-management control for the stated device and user boundary. The decisive distinction is whether the chosen management mechanism actually enforces the requirement in a deployment script changes privileged settings and must not leak secrets to Intune logs. Confirm on targeted and excluded devices; validate licensing, platform, identity, and policy evaluation rather than assuming that portal assignment alone proves enforcement.
Incorrect Answers
B:Echo the access token in verbose logs for easier troubleshooting. Diagnostic disclosure violates secret-handling requirements.
C:Save a plaintext service password in the script body with a short expiry. A short-lived plaintext secret can still be exposed.
D:Use an Intune app assignment description as a credential vault. Application metadata is not a secure credential store.
Question 794
A regulated insurance provider is implementing an endpoint standard; change control requires auditable deployment evidence. During a pilot, the team finds that a deployment script changes privileged settings and must not leak secrets to Intune logs, but the intended control is not reliably in effect. Which troubleshooting action should be performed FIRST to isolate the relevant management boundary?
- Inspect the effective assignment and applicable runtime state, then use protected authentication, least privilege, and sanitized script output in managed automation
- Echo the access token in verbose logs for easier troubleshooting
- Save a plaintext service password in the script body with a short expiry
- Use an Intune app assignment description as a credential vault
Explanation
Correct Answer
A:Inspect the effective assignment and applicable runtime state, then use protected authentication, least privilege, and sanitized script output in managed automation. Begin by confirming the effective assigned policy and device identity before changing unrelated settings. The substantive remediation is: Use protected authentication, least privilege, and sanitized script output in managed automation. When the configured control, its target scope, and the runtime state agree, the investigated failure mode can be isolated without a broad destructive reset.
Incorrect Answers
B:Echo the access token in verbose logs for easier troubleshooting. Diagnostic disclosure violates secret-handling requirements.
C:Save a plaintext service password in the script body with a short expiry. A short-lived plaintext secret can still be exposed.
D:Use an Intune app assignment description as a credential vault. Application metadata is not a secure credential store.
Question 795
A regulated insurance provider is implementing an endpoint standard; change control requires auditable deployment evidence. For the scenario in which a deployment script changes privileged settings and must not leak secrets to Intune logs, the administrator needs evidence that the requirement is actually enforced. Which verification provides the MOST DIRECT evidence?
- On a pilot device, verify that this configuration is deployed and record its runtime result: echo the access token in verbose logs for easier troubleshooting
- On a pilot device, verify that this configuration is deployed and record its runtime result: save a plaintext service password in the script body with a short expiry
- On a pilot device, verify that this configuration is deployed and record its runtime result: use an Intune app assignment description as a credential vault
- Run a synthetic-secret test and confirm outputs/logs omit sensitive values
Explanation
Correct Answer
D:Run a synthetic-secret test and confirm outputs/logs omit sensitive values. This discriminates true enforcement from a policy that is merely listed or assigned. Use an authorized pilot device and compare the observed result with the expected control: Use protected authentication, least privilege, and sanitized script output in managed automation. Check platform and identity requirements and preserve the published test outcome as evidence.
Incorrect Answers
A:On a pilot device, verify that this configuration is deployed and record its runtime result: echo the access token in verbose logs for easier troubleshooting. Diagnostic disclosure violates secret-handling requirements.
B:On a pilot device, verify that this configuration is deployed and record its runtime result: save a plaintext service password in the script body with a short expiry. A short-lived plaintext secret can still be exposed.
C:On a pilot device, verify that this configuration is deployed and record its runtime result: use an Intune app assignment description as a credential vault. Application metadata is not a secure credential store.
Question 796
An organization runs a nightly unattended Intune inventory job with no interactive user. A developer registers a Microsoft Graph client using only delegated user scopes and expects it to run with client credentials. What permission model should be configured?
- Create an interactive delegated token once and hardcode it permanently into the script.
- Grant Global Administrator to every device user so the script can enumerate Intune.
- Use a public unauthenticated Graph endpoint for organizational device inventory.
- Use an appropriately restricted application-permission grant with a supported client-credentials authentication flow, not an interactive delegated-user token.
Explanation
Correct Answer
D:Unattended client-credentials jobs operate as an application and must request supported application permissions with admin consent.
Incorrect Answers
A:A user token is not a durable unattended app-only authorization model and hardcoding it is unsafe.
B:Broad user privileges do not replace the application’s Graph permission grant.
C:Intune managed-device data requires authorized access, not anonymous requests.
Question 797
The nightly job receives 403 authorization errors when calling Intune Graph endpoints using an app-only token. It has a delegated permission consent but no equivalent application permission. What is the missing control?
- The app registration lacks the supported application permission/admin consent required by the client-credentials context.
- The user forgot to open a browser on the unattended server.
- Microsoft Graph only serves unauthenticated GET requests.
- The request uses a JSON content type, which is always forbidden.
Explanation
Correct Answer
A:Delegated scopes are evaluated with a signed-in user; app-only calls require application permissions.
Incorrect Answers
B:An app-only job should not rely on an interactive user browser session.
C:Intune device inventory requires authorized Graph requests.
D:JSON is not the asserted missing authentication permission and can be a valid API format.
Question 798
Which test demonstrates the automation has effective least-privilege app-only access?
- Confirm the job obtains an application token and reads only authorized Intune inventory data while an unrelated privileged write operation is denied.
- Record only that a secret exists in the app registration.
- Test with a tenant Global Administrator interactive session instead of the app.
- Confirm the app can delete an arbitrary managed device.
Explanation
Correct Answer
A:A permitted read and rejected out-of-scope mutation demonstrate permission effectiveness without overprivileging the app.
Incorrect Answers
B:A credential alone does not prove Graph permissions or the intended authorization boundary.
C:That uses a different privilege principal and cannot certify the unattended job.
D:Broad destructive rights contradict an inventory-only least-privilege objective.
Question 799
A security analyst requests an Intune managed-device inventory through Microsoft Graph. The first response contains 100 devices and an @odata.nextLink, but the tenant has more. How must the export process collect all devices?
- Treat the first 100 returned devices as the complete tenant inventory
- Follow the entire server-provided @odata.nextLink URL repeatedly until no nextLink is returned
- Invent an incrementing skiptoken instead of using the returned continuation link
- Repeat only the first query and append duplicate pages
Explanation
Correct Answer
B:Microsoft Graph can server-page collections; each successive nextLink points to the next returned set and must not be discarded.
Incorrect Answers
A:A present nextLink explicitly means additional records remain.
C:Opaque continuation tokens should not be reconstructed or modified outside the service-provided URL.
D:Replaying the initial request cannot traverse later pages of inventory data.
Question 800
A Graph inventory job reports exactly 100 devices for a tenant with hundreds. Its parser only saves response.value and ignores @odata.nextLink. What is the specific defect?
- All devices beyond the first 100 must be unenrolled from Intune
- Microsoft Graph always returns exactly 100 devices per tenant
- The client requests a larger $top but continues to ignore returned continuation links
- The client fails to implement pagination and stops after the first page even though the service supplied a continuation URL
Explanation
Correct Answer
D:The API returns partial collections by design; ignoring nextLink truncates coverage while producing a superficially valid response.
Incorrect Answers
A:A first-page client limit is not evidence the remaining tenant devices lost enrollment.
B:One page size is not a tenant inventory maximum.
C:Page size alone cannot guarantee completeness when the service still sends nextLink.