Question 970
Several Azure workloads need the same stable principal across redeployments, and separate system-assigned identities make grants cumbersome. 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.
- Inspect application credentials, sign-in errors, key expiry timestamps and permission 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.
Explanation
Correct Answer
A:Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: A user-assigned identity is a separate Azure resource whose lifecycle can outlast individual compute instances. Critical check: Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
B:Inspect application credentials, sign-in errors, key expiry timestamps and permission grants. This is relevant to service principal credential expiry, whereas the case describes user-assigned managed identity. It does not address the stated mechanism: A user-assigned identity is a separate Azure resource whose lifecycle can outlast individual compute instances. For this case: Create a user-assigned managed identity, attach it to the workloads and scope its permissions to required resources. Review: Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition. This is relevant to system-assigned managed identity, whereas the case describes user-assigned managed identity. It does not address the stated mechanism: A user-assigned identity is a separate Azure resource whose lifecycle can outlast individual compute instances. For this case: Create a user-assigned managed identity, attach it to the workloads and scope its permissions to required resources. Review: Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Review requested permission type, administrator consent, access token claims and sign-in model. This addresses application permissions consent, not user-assigned managed identity.
Question 971
A child Azure Firewall policy allows a port, but the flow is still denied by a parent policy rule. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What is the most appropriate correction given the described security boundary?
- Deploy Azure Application Gateway WAF with managed rules and tune exclusions based on observed false positives.
- Examine the inherited policy and resolve the parent-rule decision rather than adding more child allow rules.
- Configure an HTTPS listener with a trusted certificate and test end-to-end TLS requirements for the backend.
- Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination.
Explanation
Correct Answer
B:Examine the inherited policy and resolve the parent-rule decision rather than adding more child allow rules. This step directly targets the stated security failure instead of changing unrelated settings. Parent and child firewall policy rule collections have an evaluation hierarchy; local exceptions cannot override all inherited decisions. Inspect policy association, parent and child rule collections, match logs and priorities.
Incorrect Answers
A:Deploy Azure Application Gateway WAF with managed rules and tune exclusions based on observed false positives. This addresses application gateway waf, not Azure firewall policy hierarchy.
C:Configure an HTTPS listener with a trusted certificate and test end-to-end TLS requirements for the backend. This addresses public app gateway tls termination, not Azure firewall policy hierarchy.
D:Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. This addresses Azure firewall dnat rule, not Azure firewall policy hierarchy.
Question 972
An application overwrites a configuration blob with a faulty version and administrators must restore the prior content. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Which test best demonstrates the original failure has been corrected?
- All clients use the replacement credential or Entra identity before the old key is regenerated safely.
- Modification and deletion of protected test records are denied until the retention conditions allow them.
- A deleted test blob is restored with its expected content during the configured recovery window.
- The prior version becomes current and downstream readers observe the expected configuration bytes.
Explanation
Correct Answer
D:The prior version becomes current and downstream readers observe the expected configuration bytes. Blob versioning preserves prior states of changed objects so overwrites can be recovered without restoring the entire account. Inspect version IDs, modification timestamps, lifecycle policy and restore selection.
Incorrect Answers
A:All clients use the replacement credential or Entra identity before the old key is regenerated safely. This addresses storage account key rotation, not blob versioning rollback.
B:Modification and deletion of protected test records are denied until the retention conditions allow them. This addresses immutable blob time retention, not blob versioning rollback.
C:A deleted test blob is restored with its expected content during the configured recovery window. This addresses blob soft delete recovery, not blob versioning rollback.
Question 973
OAuth sign-in fails with a redirect URI mismatch after a web application changed its callback hostname. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. Which cause best explains why the intended protection is not working?
- Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret.
- Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations.
- Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved.
- OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
Explanation
Correct Answer
D:OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. The selected mechanism explains the failure and supports the control needed for this scenario. Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error.
Incorrect Answers
A:Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. This addresses system-assigned managed identity, not app redirect uri integrity.
B: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 app redirect uri integrity.
C:Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. This addresses oauth admin consent governance, not app redirect uri integrity.
Question 974
A development team uses GitHub repositories with risky infrastructure-as-code templates but those repos are absent from security posture reporting. 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 eligible test repository produces visible IaC findings for the organization without granting unnecessary repository write access.
- Approved GitLab projects appear with actionable findings in the consolidated view.
- The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment.
- Selected GCP projects and supported resources appear with relevant posture recommendations.
Explanation
Correct Answer
A:An eligible test repository produces visible IaC findings for the organization without granting unnecessary repository write access. DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. Inspect connector permissions, repository inventory, scan coverage and finding categories.
Incorrect Answers
B:Approved GitLab projects appear with actionable findings in the consolidated view. This addresses gitlab security integration, not defender for devops connector.
C:The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment. This addresses vulnerability management remediation, not defender for devops connector.
D:Selected GCP projects and supported resources appear with relevant posture recommendations. This addresses gcp project connector, not defender for devops connector.
Question 975
Incident responders cannot tell which Azure machines have critical exposure because resource lists are spread across subscriptions. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which concrete security-control change is most directly justified here?
- Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation.
- 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.
- Prioritize high-impact security recommendations by risk and score contribution, then implement verified remediations.
Explanation
Correct Answer
B:Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. Critical check: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation. This addresses vulnerability management remediation, not defender for cloud inventory.
C:Use Defender for Cloud regulatory compliance assessments and retain evidence for mapped controls. This is relevant to regulatory compliance dashboard, whereas the case describes defender for cloud inventory. It does not address the stated mechanism: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. For this case: Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. Review: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:Prioritize high-impact security recommendations by risk and score contribution, then implement verified remediations. This is relevant to defender for cloud secure score, whereas the case describes defender for cloud inventory. It does not address the stated mechanism: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. For this case: Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. Review: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 976
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. How should the engineer verify the intended security control is operating?
- Unused credentials are removed without interrupting the approved service, and ownership is documented.
- The app retrieves the required profile data without receiving broad directory-wide permission grants.
- The login completes only when the trusted application callback exactly matches an authorized registered URI.
- The function obtains a token for the vault and successfully reads only the approved secret.
Explanation
Correct Answer
A:Unused credentials are removed without interrupting the approved service, and ownership is documented. Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response. Inspect app owners, credential inventory, expiry dates, recent app sign-ins and dependent integrations.
Incorrect Answers
B:The app retrieves the required profile data without receiving broad directory-wide permission grants. This addresses app registration delegated permission, not application ownership and credential review.
C:The login completes only when the trusted application callback exactly matches an authorized registered URI. This addresses app redirect uri integrity, not application ownership and credential review.
D:The function obtains a token for the vault and successfully reads only the approved secret. This addresses managed identity token audience, not application ownership and credential review.
Question 977
A development team uses GitHub repositories with risky infrastructure-as-code templates but those repos are absent from security posture reporting. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. What outcome should be recorded as proof the implementation worked?
- Approved GitLab projects appear with actionable findings in the consolidated view.
- An eligible test repository produces visible IaC findings for the organization without granting unnecessary repository write access.
- Selected eligible VMs show new risk findings without adding an in-guest monitoring agent.
- The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment.
Explanation
Correct Answer
B:An eligible test repository produces visible IaC findings for the organization without granting unnecessary repository write access. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. Critical check: Inspect connector permissions, repository inventory, scan coverage and finding categories. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Approved GitLab projects appear with actionable findings in the consolidated view. This is relevant to gitlab security integration, whereas the case describes defender for devops connector. It does not address the stated mechanism: DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. For this case: Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility. Review: Inspect connector permissions, repository inventory, scan coverage and finding categories. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
C:Selected eligible VMs show new risk findings without adding an in-guest monitoring agent. This addresses agentless vm scanning, not defender for devops connector.
D:The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment. This is relevant to vulnerability management remediation, whereas the case describes defender for devops connector. It does not address the stated mechanism: DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. For this case: Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility. Review: Inspect connector permissions, repository inventory, scan coverage and finding categories. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 978
An automation identity must restart existing virtual machines but should not have permission to create or delete virtual machines. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. Which diagnostic evidence most directly evaluates the failing security control?
- Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook.
- Examine Access control IAM at each ancestor scope and check group-based assignments for the principal.
- Check eligible versus active assignments, activation policy, approval group and PIM audit events.
- Inspect the principal's effective role assignments, inheritance chain, scope and actual operational tasks.
Explanation
Correct Answer
A:Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges.
Incorrect Answers
B:Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. This addresses role assignment inheritance, not custom Azure role actions.
C:Check eligible versus active assignments, activation policy, approval group and PIM audit events. This addresses PIM eligible subscription role, not custom Azure role actions.
D:Inspect the principal's effective role assignments, inheritance chain, scope and actual operational tasks. This addresses subscription RBAC scope, not custom Azure role actions.
Question 979
An API Management gateway exposes an internal API publicly with no gateway-level authentication and unlimited request rates. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Why does the correct response address this particular configuration?
- Encryption at host extends protection to specific host-side disk data paths that default managed disk encryption may not cover.
- Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts.
- APIM policies can enforce token requirements and consumption controls at the API gateway before backend processing.
- Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets.
Explanation
Correct Answer
C:APIM policies can enforce token requirements and consumption controls at the API gateway before backend processing. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect inbound policy expressions, subscription or token claims, backend address and gateway trace logs.
Incorrect Answers
A:Encryption at host extends protection to specific host-side disk data paths that default managed disk encryption may not cover. This addresses encryption at host vm disks, not api management backend protection.
B:Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. This addresses Azure container apps secret handling, not api management backend protection.
D:Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets. This addresses AKS workload identity, not api management backend protection.
Question 980
A pod stores an Azure service principal secret to read Key Vault, and rotating that secret breaks deployments. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. How should the engineer verify the intended security control is operating?
- The prior version becomes current and downstream readers observe the expected configuration bytes.
- The pod starts from the permitted signed image without granting registry push or administrative permissions.
- The pod reads its authorized vault secret using the projected identity and has no embedded client password.
- Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint.
Explanation
Correct Answer
C:The pod reads its authorized vault secret using the projected identity and has no embedded client password. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets. Critical check: Inspect OIDC issuer, federated credential subject, Kubernetes service account annotations and Entra role grants. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:The prior version becomes current and downstream readers observe the expected configuration bytes. This addresses blob versioning rollback, not AKS workload identity.
B:The pod starts from the permitted signed image without granting registry push or administrative permissions. This is relevant to container registry image pull, whereas the case describes aks workload identity. It does not address the stated mechanism: Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets. For this case: Use AKS workload identity federation for the approved Kubernetes service account and grant minimal vault access. Review: Inspect OIDC issuer, federated credential subject, Kubernetes service account annotations and Entra role grants. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
D:Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint. This is relevant to aks private cluster api, whereas the case describes aks workload identity. It does not address the stated mechanism: Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets. For this case: Use AKS workload identity federation for the approved Kubernetes service account and grant minimal vault access. Review: Inspect OIDC issuer, federated credential subject, Kubernetes service account annotations and Entra role grants. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Microsoft Azure Security Technologies (AZ-500) Practice Tests