Question 620
Two production applications share a storage account access key, and the key is nearing mandatory rotation with no interruption window. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. What must the security engineer avoid assuming after the change succeeds?
- A stolen SAS may remain usable until expiration or revocation mechanisms apply; it is still a bearer capability.
- If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity.
- Always Encrypted constrains some server-side query operations unless supported enclaves or modes are configured.
- Rotating a key without identifying every consumer can break services that still cache the original credential.
Explanation
Correct Answer
D:Rotating a key without identifying every consumer can break services that still cache the original credential. The stated boundary prevents overclaiming what this control actually protects. Shared account keys grant broad storage access; dual-key rotation requires moving consumers before invalidating an old key. Inspect access-key usage, connection-string inventory, application migration readiness and key rotation logs.
Incorrect Answers
A:A stolen SAS may remain usable until expiration or revocation mechanisms apply; it is still a bearer capability. This addresses user delegation sas for blobs, not storage account key rotation.
B:If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity. This addresses storage blob data reader role, not storage account key rotation.
C:Always Encrypted constrains some server-side query operations unless supported enclaves or modes are configured. This addresses always encrypted client protection, not storage account key rotation.
Question 621
An Azure App Service needs to initiate calls to a private SQL endpoint inside a virtual network but its requests originate over public routes. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What outcome should be recorded as proof the implementation worked?
- The workload resolves the approved storage hostname privately and connects while public access stays disabled.
- The authorized consumer connects to the internal service using private connectivity without a public ingress rule.
- The environment scales without subnet exhaustion while required administrative and app traffic succeeds.
- Outbound requests from the app reach SQL over the private endpoint without opening public database access.
Explanation
Correct Answer
D:Outbound requests from the app reach SQL over the private endpoint without opening public database access. App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution.
Incorrect Answers
A:The workload resolves the approved storage hostname privately and connects while public access stays disabled. This addresses storage private endpoint dns, not app service VNet integration.
B:The authorized consumer connects to the internal service using private connectivity without a public ingress rule. This addresses private link service provider, not app service VNet integration.
C:The environment scales without subnet exhaustion while required administrative and app traffic succeeds. This addresses app service environment network, not app service VNet integration.
Question 622
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 mechanism makes the recommended security-control change appropriate?
- Application ownership and credential hygiene limit orphaned access paths and support predictable rotation and incident response.
- OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
- Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions.
- Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations.
Explanation
Correct Answer
A: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. 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
B:OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. 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.
C:Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions. This addresses role assignment inheritance, not application ownership and credential review.
D:Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations. 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.
Question 623
A globally distributed application needs edge protection and routing across regional backends with health-based failover. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect Front Door routing rules, origin health probes, WAF matches and DNS mapping.
- Inspect policy association, parent and child rule collections, match logs and priorities.
- Review protected public IPs, plan association, DDoS metrics and diagnostic logs.
- Inspect WAF policy mode, rule matches, gateway listener, backend health and request logs.
Explanation
Correct Answer
A:Inspect Front Door routing rules, origin health probes, WAF matches and DNS mapping. Front Door provides global entry, edge routing and web-layer protection across healthy backend origins.
Incorrect Answers
B:Inspect policy association, parent and child rule collections, match logs and priorities. This addresses Azure firewall policy hierarchy, not Azure front door global edge.
C:Review protected public IPs, plan association, DDoS metrics and diagnostic logs. This addresses ddos network protection, not Azure front door global edge.
D:Inspect WAF policy mode, rule matches, gateway listener, backend health and request logs. This addresses application gateway waf, not Azure front door global edge.
Question 624
Newly deployed databases and servers are not protected even though an older subscription-level Defender configuration appears enabled. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which test best demonstrates the original failure has been corrected?
- 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.
- 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.
Explanation
Correct Answer
C:Newly deployed eligible workloads are enrolled in the chosen protection plans with expected detection coverage. Plan enablement and resource onboarding can diverge when protection settings or supported resource coverage change. Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions.
Incorrect Answers
A:Approved GitLab projects appear with actionable findings in the consolidated view. This addresses gitlab security integration, not workload plan coverage gaps.
B:An eligible test repository produces visible IaC findings for the organization without granting unnecessary repository write access. This addresses defender for devops connector, not workload plan coverage gaps.
D:The response records a supported determination and approved containment action with traceable evidence. This addresses defender alert triage, not workload plan coverage gaps.
Question 625
Every critical Defender for Cloud recommendation should create a tracked security ticket, but analysts currently copy alerts by hand. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which record set supports an accurate assessment before remediation?
- Inspect vault access configuration, identity role assignments, role propagation and secret operation logs.
- Inspect DCR data sources, VM association, agent health, workspace permissions and ingestion metrics.
- Inspect connector health, workspace tables, collection settings and ingestion latency.
- Inspect automation scope, eligible triggers, Logic App connector permissions and run history.
Explanation
Correct Answer
D:Inspect automation scope, eligible triggers, Logic App connector permissions and run history. Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes.
Incorrect Answers
A:Inspect vault access configuration, identity role assignments, role propagation and secret operation logs. This addresses key vault RBAC permission model, not defender workflow automation.
B:Inspect DCR data sources, VM association, agent health, workspace permissions and ingestion metrics. This addresses Azure monitor data collection rule, not defender workflow automation.
C:Inspect connector health, workspace tables, collection settings and ingestion latency. This addresses sentinel data connector ingestion, not defender workflow automation.
Question 626
A Container Apps environment uses database passwords directly in image environment variables, exposing credentials during deployments. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. What should the engineer examine first to distinguish the suspected failure from other causes?
- 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.
- Inspect OIDC issuer, federated credential subject, Kubernetes service account annotations and Entra role grants.
- Inspect the failed image-pull event, registry authentication, principal role assignment and DNS path.
Explanation
Correct Answer
B:Inspect app secret references, identity permissions, revisions and deployment manifest output. Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts.
Incorrect Answers
A:Inspect VM encryption-at-host capability, managed disk settings and any required redeployment conditions. This addresses encryption at host vm disks, not Azure container apps secret handling.
C:Inspect OIDC issuer, federated credential subject, Kubernetes service account annotations and Entra role grants. This addresses AKS workload identity, not Azure container apps secret handling.
D:Inspect the failed image-pull event, registry authentication, principal role assignment and DNS path. This addresses container registry image pull, not Azure container apps secret handling.
Question 627
Users with high sign-in risk can reach a sensitive application when they satisfy MFA, but the security policy requires blocking the risky session entirely. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. What should the security engineer implement to meet the stated requirement?
- Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins.
- Apply a targeted Microsoft Entra Conditional Access policy that requires multifactor authentication for privileged users and relevant cloud resources.
- Require registration of an approved MFA method and validate the authentication methods policy before enforcing the target sign-in flow.
- Configure the role assignment as eligible through PIM for Azure resources, not as a permanent active management-group role.
Explanation
Correct Answer
A:Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: A grant requiring MFA is a different control from blocking access; the chosen risk threshold and control determine the outcome. Critical check: Inspect risk detections, the applied policy, sign-in events and any excluded users or apps. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
B:Apply a targeted Microsoft Entra Conditional Access policy that requires multifactor authentication for privileged users and relevant cloud resources. This is relevant to multifactor conditional access, whereas the case describes conditional access block risk. It does not address the stated mechanism: A grant requiring MFA is a different control from blocking access; the chosen risk threshold and control determine the outcome. For this case: Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins. Review: Inspect risk detections, the applied policy, sign-in events and any excluded users or apps. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Require registration of an approved MFA method and validate the authentication methods policy before enforcing the target sign-in flow. This addresses mfa authentication methods, not conditional access block risk.
D:Configure the role assignment as eligible through PIM for Azure resources, not as a permanent active management-group role. This is relevant to rbac role assignment eligibility, whereas the case describes conditional access block risk. It does not address the stated mechanism: A grant requiring MFA is a different control from blocking access; the chosen risk threshold and control determine the outcome. For this case: Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins. Review: Inspect risk detections, the applied policy, sign-in events and any excluded users or apps. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Question 628
An attacker with workload administrator access tries to delete backup restore points after compromising the VM environment. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which record set supports an accurate assessment before remediation?
- Inspect vault security settings, backup policies, role assignments, protected instances and retention locks.
- Inspect connector health, workspace tables, collection settings and ingestion latency.
- Inspect policy compliance, Azure Resource Graph inventory, tag coverage and owner directory mapping.
- Inspect vault recovery settings, deleted-object inventory, retention and restore permissions.
Explanation
Correct Answer
A:Inspect vault security settings, backup policies, role assignments, protected instances and retention locks. Backup vault protections reduce the ability of a compromised workload administrator to destroy recovery points.
Incorrect Answers
B:Inspect connector health, workspace tables, collection settings and ingestion latency. This addresses sentinel data connector ingestion, not backup immutability protection.
C:Inspect policy compliance, Azure Resource Graph inventory, tag coverage and owner directory mapping. This addresses resource inventory tag governance, not backup immutability protection.
D:Inspect vault recovery settings, deleted-object inventory, retention and restore permissions. This addresses key vault soft delete and purge protection, not backup immutability protection.
Question 629
A line-of-business SaaS application unexpectedly allows sign-in by unassigned tenant users even though only one team should access it. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Which underlying technical explanation best supports the proper response?
- A valid permission grant is insufficient if client authentication fails because the application's secret has expired.
- Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved.
- Enterprise application assignment requirements restrict which tenant principals may sign into the application.
- OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
Explanation
Correct Answer
C:Enterprise application assignment requirements restrict which tenant principals may sign into the application. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Enterprise application assignment requirements restrict which tenant principals may sign into the application. Critical check: Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:A valid permission grant is insufficient if client authentication fails because the application's secret has expired. This is relevant to service principal credential expiry, whereas the case describes enterprise application assignment. It does not address the stated mechanism: Enterprise application assignment requirements restrict which tenant principals may sign into the application. For this case: Require user assignment on the enterprise application and assign only the approved users or groups. Review: Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
B:Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. This is relevant to oauth admin consent governance, whereas the case describes enterprise application assignment. It does not address the stated mechanism: Enterprise application assignment requirements restrict which tenant principals may sign into the application. For this case: Require user assignment on the enterprise application and assign only the approved users or groups. Review: Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. This addresses app redirect uri integrity, not enterprise application assignment.
Question 630
Defender for Servers reports critical missing packages, yet operations closes alerts without installing patches or verifying risk reduction. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which change best addresses the stated security failure without broadening unrelated access?
- Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation.
- Tune the detection query or rule exclusions using verified scanner identifiers and assess resulting false negatives.
- Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility.
- Enable supported agentless scanning within an eligible Defender for Servers plan and verify the assessed assets.
Explanation
Correct Answer
A:Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. Critical check: Inspect CVE evidence, package versions, exploitability, assets and update deployment records. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
B:Tune the detection query or rule exclusions using verified scanner identifiers and assess resulting false negatives. This addresses sentinel alert noise reduction, not vulnerability management remediation.
C:Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility. This is relevant to defender for devops connector, whereas the case describes vulnerability management remediation. It does not address the stated mechanism: Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. For this case: Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation. Review: Inspect CVE evidence, package versions, exploitability, assets and update deployment records. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:Enable supported agentless scanning within an eligible Defender for Servers plan and verify the assessed assets. This is relevant to agentless vm scanning, whereas the case describes vulnerability management remediation. It does not address the stated mechanism: Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. For this case: Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation. Review: Inspect CVE evidence, package versions, exploitability, assets and update deployment records. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Microsoft Azure Security Technologies (AZ-500) Practice Tests