Question 110
A company must monitor a proprietary cloud-security requirement not available in the standard compliance dashboard. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Why does the correct response address this particular configuration?
- External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions.
- Defender for Cloud can evaluate supported non-Azure resources when a configured multicloud connector supplies appropriate access.
- Regulatory compliance dashboards map applicable assessments to supported standards and track current state.
- Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting.
Explanation
Correct Answer
D:Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting. Critical check: Inspect policy definitions, assessment IDs, framework scope and connector coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions. This addresses external attack surface management, not custom compliance standard.
B:Defender for Cloud can evaluate supported non-Azure resources when a configured multicloud connector supplies appropriate access. This is relevant to aws account connector, whereas the case describes custom compliance standard. It does not address the stated mechanism: Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting. For this case: Define or onboard a supported custom security standard and associate appropriate policy assessments with it. Review: Inspect policy definitions, assessment IDs, framework scope and connector coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
C:Regulatory compliance dashboards map applicable assessments to supported standards and track current state. This is relevant to regulatory compliance dashboard, whereas the case describes custom compliance standard. It does not address the stated mechanism: Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting. For this case: Define or onboard a supported custom security standard and associate appropriate policy assessments with it. Review: Inspect policy definitions, assessment IDs, framework scope and connector coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 111
Legacy resources lack a required diagnostic setting that the compliance program wants to deploy automatically where supported. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect plan scope, protected database list, attack detection settings and alert integration.
- Inspect the policy definition alias, assignment scope, exclusions, parameters and compliance evaluation results.
- Inspect assignment identity role grants, policy details, existing resources and remediation task reports.
- Inspect initiative membership, parameter mappings, exemptions and summary compliance reports.
Explanation
Correct Answer
C:Inspect assignment identity role grants, policy details, existing resources and remediation task reports. DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions.
Incorrect Answers
A:Inspect plan scope, protected database list, attack detection settings and alert integration. This addresses defender for sql protection, not Azure policy modify remediation.
B:Inspect the policy definition alias, assignment scope, exclusions, parameters and compliance evaluation results. This addresses Azure policy deny governance, not Azure policy modify remediation.
D:Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. This addresses policy initiative grouping, not Azure policy modify remediation.
Question 112
A compliance officer wants evidence of control alignment with a supported framework without manually opening every resource policy. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which concrete security-control change is most directly justified here?
- Configure a Sentinel automation rule triggered on incident creation with appropriate conditions and assignment actions.
- Define or onboard a supported custom security standard and associate appropriate policy assessments with it.
- Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets.
- Use Defender for Cloud regulatory compliance assessments and retain evidence for mapped controls.
Explanation
Correct Answer
D:Use Defender for Cloud regulatory compliance assessments and retain evidence for mapped controls. This step directly targets the stated security failure instead of changing unrelated settings. Regulatory compliance dashboards map applicable assessments to supported standards and track current state. Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps.
Incorrect Answers
A:Configure a Sentinel automation rule triggered on incident creation with appropriate conditions and assignment actions. This addresses sentinel automation rule triage, not regulatory compliance dashboard.
B:Define or onboard a supported custom security standard and associate appropriate policy assessments with it. This addresses custom compliance standard, not regulatory compliance dashboard.
C:Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. This addresses defender for cloud inventory, not regulatory compliance dashboard.
Question 113
An on-premises gateway shows an Azure VPN tunnel down immediately after a replacement gateway changed its shared secret. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. What mechanism makes the recommended security-control change appropriate?
- A secured virtual hub integrates network connectivity with centrally managed traffic inspection and routing controls.
- Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers.
- App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction.
- A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse.
Explanation
Correct Answer
D:A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse. Critical check: Inspect negotiation logs, shared-key configuration, peer addresses and chosen cryptographic proposals. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:A secured virtual hub integrates network connectivity with centrally managed traffic inspection and routing controls. This is relevant to virtual wan secured hub, whereas the case describes site-to-site vpn negotiation. It does not address the stated mechanism: A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse. For this case: Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules. Review: Inspect negotiation logs, shared-key configuration, peer addresses and chosen cryptographic proposals. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
B:Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. This is relevant to vnet peering connectivity, whereas the case describes site-to-site vpn negotiation. It does not address the stated mechanism: A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse. For this case: Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules. Review: Inspect negotiation logs, shared-key configuration, peer addresses and chosen cryptographic proposals. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
C:App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. This addresses app service VNet integration, not site-to-site vpn negotiation.
Question 114
A Container Apps environment uses database passwords directly in image environment variables, exposing credentials during deployments. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. Which record set supports an accurate assessment before remediation?
- Inspect immutable policy state, retention dates, protected container scope and attempted operations.
- Inspect the failed image-pull event, registry authentication, principal role assignment and DNS path.
- Inspect VM encryption-at-host capability, managed disk settings and any required redeployment conditions.
- Inspect app secret references, identity permissions, revisions and deployment manifest output.
Explanation
Correct Answer
D:Inspect app secret references, identity permissions, revisions and deployment manifest output. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. Critical check: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Inspect immutable policy state, retention dates, protected container scope and attempted operations. This addresses immutable blob time retention, not Azure container apps secret handling.
B:Inspect the failed image-pull event, registry authentication, principal role assignment and DNS path. This is relevant to container registry image pull, whereas the case describes azure container apps secret handling. It does not address the stated mechanism: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. For this case: Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. Review: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
C:Inspect VM encryption-at-host capability, managed disk settings and any required redeployment conditions. This is relevant to encryption at host vm disks, whereas the case describes azure container apps secret handling. It does not address the stated mechanism: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. For this case: Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. Review: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 115
A production app registration has several obsolete client secrets and no accountable owner, leaving high-value credentials unmanaged. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. What outcome should be recorded as proof the implementation worked?
- The function obtains a token for the vault and successfully reads only the approved secret.
- Unused credentials are removed without interrupting the approved service, and ownership is documented.
- The login completes only when the trusted application callback exactly matches an authorized registered URI.
- A risky app request waits for approval while an administrator can authorize an appropriate minimal grant.
Explanation
Correct Answer
B:Unused credentials are removed without interrupting the approved service, and ownership is documented. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response. Critical check: Inspect app owners, credential inventory, expiry dates, recent app sign-ins and dependent integrations. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:The function obtains a token for the vault and successfully reads only the approved secret. This is relevant to managed identity token audience, whereas the case describes application ownership and credential review. It does not address the stated mechanism: Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response. For this case: Assign accountable owners and retire unused app credentials after confirming consumers and safe replacement. Review: Inspect app owners, credential inventory, expiry dates, recent app sign-ins and dependent integrations. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:The login completes only when the trusted application callback exactly matches an authorized registered URI. This is relevant to app redirect uri integrity, whereas the case describes application ownership and credential review. It does not address the stated mechanism: Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response. For this case: Assign accountable owners and retire unused app credentials after confirming consumers and safe replacement. Review: Inspect app owners, credential inventory, expiry dates, recent app sign-ins and dependent integrations. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:A risky app request waits for approval while an administrator can authorize an appropriate minimal grant. This addresses oauth admin consent governance, not application ownership and credential review.
Question 116
An Azure Function obtains a managed identity token successfully but Key Vault denies the request due to a token for a different resource audience. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. What should the security engineer implement to meet the stated requirement?
- Restrict user consent and route privileged permission requests through an administrator consent workflow.
- Correct the application registration's redirect URI to exactly match the trusted callback used by the client.
- Request a token targeted to the Key Vault resource and verify the identity has the required secret data-plane permissions.
- Assign accountable owners and retire unused app credentials after confirming consumers and safe replacement.
Explanation
Correct Answer
C:Request a token targeted to the Key Vault resource and verify the identity has the required secret data-plane permissions. This step directly targets the stated security failure instead of changing unrelated settings. Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations. Inspect the token's audience, requested resource, caller principal and vault authorization logs.
Incorrect Answers
A:Restrict user consent and route privileged permission requests through an administrator consent workflow. This addresses oauth admin consent governance, not managed identity token audience.
B:Correct the application registration's redirect URI to exactly match the trusted callback used by the client. This addresses app redirect uri integrity, not managed identity token audience.
D:Assign accountable owners and retire unused app credentials after confirming consumers and safe replacement. This addresses application ownership and credential review, not managed identity token audience.
Question 117
A high-severity Defender for Cloud alert indicates a suspected credential abuse event on a VM, and the operator wants to close it immediately. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. How should the engineer verify the intended security control is operating?
- An authorized workload retrieves its secret privately, and an untrusted public request is denied.
- Newly deployed eligible workloads are enrolled in the chosen protection plans with expected detection coverage.
- The response records a supported determination and approved containment action with traceable evidence.
- Approved GitLab projects appear with actionable findings in the consolidated view.
Explanation
Correct Answer
C:The response records a supported determination and approved containment action with traceable evidence. A security alert is a detection requiring triage and contextual validation, not proof of compromise or a routine false positive. Review alert evidence, involved identities, process or network activity and related incident signals.
Incorrect Answers
A:An authorized workload retrieves its secret privately, and an untrusted public request is denied. This addresses key vault private connectivity, not defender alert triage.
B:Newly deployed eligible workloads are enrolled in the chosen protection plans with expected detection coverage. This addresses workload plan coverage gaps, not defender alert triage.
D:Approved GitLab projects appear with actionable findings in the consolidated view. This addresses gitlab security integration, not defender alert triage.
Question 118
A virtual machine runbook has a long-lived client secret in configuration to query Key Vault, creating an avoidable rotation burden. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Which observations should be collected to validate the diagnosis before changing production?
- Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants.
- Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition.
- Review requested permission type, administrator consent, access token claims and sign-in model.
- Review sign-in logs, policy scope, exclusions, report-only outcomes and authentication method details.
Explanation
Correct Answer
B:Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. Critical check: Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. This is relevant to user-assigned managed identity, whereas the case describes system-assigned managed identity. It does not address the stated mechanism: Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. For this case: Enable a system-assigned managed identity on the VM and grant only the needed Key Vault data-plane permission. Review: Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Review requested permission type, administrator consent, access token claims and sign-in model. This is relevant to application permissions consent, whereas the case describes system-assigned managed identity. It does not address the stated mechanism: Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. For this case: Enable a system-assigned managed identity on the VM and grant only the needed Key Vault data-plane permission. Review: Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Review sign-in logs, policy scope, exclusions, report-only outcomes and authentication method details. This addresses multifactor conditional access, not system-assigned managed identity.
Question 119
Legacy resources lack a required diagnostic setting that the compliance program wants to deploy automatically where supported. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which limitation matters when interpreting the observed improvement?
- An initiative aggregates rules but does not guarantee that every constituent effect can auto-remediate resources.
- A deny policy does not automatically repair every already-deployed noncompliant resource without remediation actions.
- Custom assessment completeness depends on correct definitions; a missing control cannot be inferred from a passing score.
- Policy remediation requires sufficient managed identity permissions and appropriate target resource support.
Explanation
Correct Answer
D:Policy remediation requires sufficient managed identity permissions and appropriate target resource support. The stated boundary prevents overclaiming what this control actually protects. DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. Inspect assignment identity role grants, policy details, existing resources and remediation task reports.
Incorrect Answers
A:An initiative aggregates rules but does not guarantee that every constituent effect can auto-remediate resources. This addresses policy initiative grouping, not Azure policy modify remediation.
B:A deny policy does not automatically repair every already-deployed noncompliant resource without remediation actions. This addresses Azure policy deny governance, not Azure policy modify remediation.
C:Custom assessment completeness depends on correct definitions; a missing control cannot be inferred from a passing score. This addresses custom compliance standard, not Azure policy modify remediation.
Question 120
A production app registration has several obsolete client secrets and no accountable owner, leaving high-value credentials unmanaged. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. Why does the correct response address this particular configuration?
- Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations.
- OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
- Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved.
- Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response.
Explanation
Correct Answer
D:Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect app owners, credential inventory, expiry dates, recent app sign-ins and dependent integrations.
Incorrect Answers
A:Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations. This addresses managed identity token audience, not application ownership and credential review.
B:OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. This addresses app redirect uri integrity, not application ownership and credential review.
C:Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. This addresses oauth admin consent governance, not application ownership and credential review.
Microsoft Azure Security Technologies (AZ-500) Practice Tests