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.
Question 121
A business-critical system has an accepted compensating control, but its Defender recommendation is repeatedly reopened without review evidence. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What mechanism makes the recommended security-control change appropriate?
- Multicloud posture requires onboarding external cloud environments before their assets and recommendations can be evaluated.
- Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings.
- An exemption records why a specific recommendation is not immediately enforced while preserving a review trail.
- External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions.
Explanation
Correct Answer
C:An exemption records why a specific recommendation is not immediately enforced while preserving a review trail. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect exemption category, affected resource scope, expiry, compensating control and approval metadata.
Incorrect Answers
A:Multicloud posture requires onboarding external cloud environments before their assets and recommendations can be evaluated. This addresses gcp project connector, not recommendation exemption governance.
B:Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. This addresses vulnerability management remediation, not recommendation exemption governance.
D:External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions. This addresses external attack surface management, not recommendation exemption governance.
Question 122
A domain-joined workstation needs controlled SMB access to an Azure Files share without embedding a storage-account key in login scripts. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. Which diagnostic evidence most directly evaluates the failing security control?
- Inspect retention settings, deleted blob versions, restore operation logs and storage lifecycle rules.
- Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability.
- Inspect database TDE state, encryption protector, service-managed or customer-managed key and related audit evidence.
- Inspect SAS resource scope, permissions, validity period, protocol and signed identifier type.
Explanation
Correct Answer
B:Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. Critical check: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Inspect retention settings, deleted blob versions, restore operation logs and storage lifecycle rules. This is relevant to blob soft delete recovery, whereas the case describes azure files smb identity. It does not address the stated mechanism: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. For this case: Configure a supported identity-based authentication option for Azure Files and share and NTFS permissions appropriately. Review: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
C:Inspect database TDE state, encryption protector, service-managed or customer-managed key and related audit evidence. This addresses transparent data encryption, not Azure files smb identity.
D:Inspect SAS resource scope, permissions, validity period, protocol and signed identifier type. This is relevant to user delegation sas for blobs, whereas the case describes azure files smb identity. It does not address the stated mechanism: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. For this case: Configure a supported identity-based authentication option for Azure Files and share and NTFS permissions appropriately. Review: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 123
A confirmed Sentinel incident must isolate a user account and notify an external ticket system through a controlled automated response. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which limitation matters when interpreting the observed improvement?
- Automated containment can disrupt legitimate users; require approvals and safe failure paths for high-impact actions.
- Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build.
- An automation rule without a playbook handles only its supported built-in actions, not arbitrary third-party workflows.
- Overbroad source exclusions can hide real attacks that reuse an approved scanner network range.
Explanation
Correct Answer
A:Automated containment can disrupt legitimate users; require approvals and safe failure paths for high-impact actions. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Sentinel playbooks use Logic Apps workflows to orchestrate supported incident-response and third-party actions. Critical check: Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
B:Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build. This addresses defender for devops connector, not sentinel logic apps playbook.
C:An automation rule without a playbook handles only its supported built-in actions, not arbitrary third-party workflows. This is relevant to sentinel automation rule triage, whereas the case describes sentinel logic apps playbook. It does not address the stated mechanism: Sentinel playbooks use Logic Apps workflows to orchestrate supported incident-response and third-party actions. For this case: Build an authorized Logic Apps playbook, grant the necessary permissions and invoke it from a Sentinel automation rule. Review: Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:Overbroad source exclusions can hide real attacks that reuse an approved scanner network range. This is relevant to sentinel alert noise reduction, whereas the case describes sentinel logic apps playbook. It does not address the stated mechanism: Sentinel playbooks use Logic Apps workflows to orchestrate supported incident-response and third-party actions. For this case: Build an authorized Logic Apps playbook, grant the necessary permissions and invoke it from a Sentinel automation rule. Review: Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 124
An operations team opens RDP on the internet for several virtual machines because administrators need occasional interactive access. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. What outcome should be recorded as proof the implementation worked?
- Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs.
- 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.
- The management session is allowed during the approved window and the temporary opening closes afterward.
Explanation
Correct Answer
A:Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs. Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM. Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs.
Incorrect Answers
B:The pod reads its authorized vault secret using the projected identity and has no embedded client password. This addresses AKS workload identity, not Azure bastion private administration.
C:Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint. This addresses AKS private cluster api, not Azure bastion private administration.
D:The management session is allowed during the approved window and the temporary opening closes afterward. This addresses just-in-time vm access, not Azure bastion private administration.
Question 125
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 change best addresses the stated security failure without broadening unrelated access?
- Replace the broad assignment with Reader scoped to the required resource group and remove the unnecessary subscription Owner grant.
- Require user assignment on the enterprise application and assign only the approved users or groups.
- Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope.
- Change the standing privileged grant to a time-limited eligible PIM assignment with approval and activation requirements.
Explanation
Correct Answer
C:Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope. This step directly targets the stated security failure instead of changing unrelated settings. A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges. Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook.
Incorrect Answers
A:Replace the broad assignment with Reader scoped to the required resource group and remove the unnecessary subscription Owner grant. This addresses subscription RBAC scope, not custom Azure role actions.
B:Require user assignment on the enterprise application and assign only the approved users or groups. This addresses enterprise application assignment, not custom Azure role actions.
D:Change the standing privileged grant to a time-limited eligible PIM assignment with approval and activation requirements. This addresses PIM eligible subscription role, not custom Azure role actions.
Question 126
A subnet-level NSG permits application traffic, but a higher-priority deny rule blocks it before the allow rule is evaluated. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which observations should be collected to validate the diagnosis before changing production?
- Review network-group membership, scope, deployed configuration, admin-rule precedence and exceptions.
- Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows.
- Inspect effective routes, route prefix specificity, next-hop type and appliance health.
- Inspect effective security rules, source and destination prefixes, ports, protocol and priority sequence.
Explanation
Correct Answer
D:Inspect effective security rules, source and destination prefixes, ports, protocol and priority sequence. NSG rules use ascending numeric priorities; the first matching rule decides whether a packet is allowed or denied.
Incorrect Answers
A:Review network-group membership, scope, deployed configuration, admin-rule precedence and exceptions. This addresses virtual network manager baseline, not NSG priority ordering.
B:Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows. This addresses application security groups, not NSG priority ordering.
C:Inspect effective routes, route prefix specificity, next-hop type and appliance health. This addresses user-defined route blackhole, not NSG priority ordering.
Question 127
Customer support users may query a database table but should see obscured portions of personal identifiers in routine results. 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 SQL audit configuration, storage or Log Analytics destination, event categories and retention.
- Inspect the principal's blob data role assignments, OAuth authentication method and effective storage scope.
- Inspect mask function, column mapping, query principal permissions and execution context.
- Inspect database TDE state, encryption protector, service-managed or customer-managed key and related audit evidence.
Explanation
Correct Answer
C:Inspect mask function, column mapping, query principal permissions and execution context. DDM changes how sensitive values appear to unprivileged query users without encrypting the stored database field.
Incorrect Answers
A:Inspect SQL audit configuration, storage or Log Analytics destination, event categories and retention. This addresses sql auditing to storage, not dynamic data masking.
B:Inspect the principal's blob data role assignments, OAuth authentication method and effective storage scope. This addresses storage blob data reader role, not dynamic data masking.
D:Inspect database TDE state, encryption protector, service-managed or customer-managed key and related audit evidence. This addresses transparent data encryption, not dynamic data masking.
Question 128
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 post-change result gives the strongest evidence of success?
- An approved test event appears in the intended workspace with correct source identity and timing.
- A supported suspicious-activity test is detected or the team confirms the expected coverage and telemetry in a controlled exercise.
- New sample sign-in records appear in the expected log table and can be queried by the detection logic.
- A test supported alert starts the approved workflow and creates one appropriately linked ticket.
Explanation
Correct Answer
D:A test supported alert starts the approved workflow and creates one appropriately linked ticket. Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. Inspect automation scope, eligible triggers, Logic App connector permissions and run history.
Incorrect Answers
A:An approved test event appears in the intended workspace with correct source identity and timing. This addresses Azure monitor data collection rule, not defender workflow automation.
B:A supported suspicious-activity test is detected or the team confirms the expected coverage and telemetry in a controlled exercise. This addresses defender for storage anomaly alerts, not defender workflow automation.
C:New sample sign-in records appear in the expected log table and can be queried by the detection logic. This addresses sentinel data connector ingestion, not defender workflow automation.
Question 129
Defender for Servers reports critical missing packages, yet operations closes alerts without installing patches or verifying risk reduction. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What important boundary of the recommended solution should the reviewer recognize?
- A low remaining score or closed ticket does not mean a vulnerable package was actually removed.
- Agentless scans do not replicate every runtime signal provided by an installed security agent.
- An analytic rule cannot detect activity absent from its queried tables or outside the configured time window.
- Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build.
Explanation
Correct Answer
A:A low remaining score or closed ticket does not mean a vulnerable package was actually removed. The stated boundary prevents overclaiming what this control actually protects. Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. Inspect CVE evidence, package versions, exploitability, assets and update deployment records.
Incorrect Answers
B:Agentless scans do not replicate every runtime signal provided by an installed security agent. This addresses agentless vm scanning, not vulnerability management remediation.
C:An analytic rule cannot detect activity absent from its queried tables or outside the configured time window. This addresses sentinel scheduled analytics, not vulnerability management remediation.
D:Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build. This addresses defender for devops connector, not vulnerability management remediation.
Question 130
Web VMs are frequently recreated with new private IP addresses, breaking NSG rules written around individual endpoint addresses. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. What outcome should be recorded as proof the implementation worked?
- A replacement web VM receives the intended tier-specific network permissions without editing a stale IP allowlist.
- Network Watcher shows the intended flow allowed while unrelated blocked ports still fail as designed.
- The workload resolves the approved storage hostname privately and connects while public access stays disabled.
- Traffic to the database reaches the intended next hop and succeeds without bypassing approved inspection.
Explanation
Correct Answer
A:A replacement web VM receives the intended tier-specific network permissions without editing a stale IP allowlist. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: ASGs group eligible network interfaces by application role so NSG policy follows workloads instead of ephemeral addresses. Critical check: Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
B:Network Watcher shows the intended flow allowed while unrelated blocked ports still fail as designed. This is relevant to nsg priority ordering, whereas the case describes application security groups. It does not address the stated mechanism: ASGs group eligible network interfaces by application role so NSG policy follows workloads instead of ephemeral addresses. For this case: Use Application Security Groups and application-tier membership in NSG rules instead of hardcoded VM IP lists. Review: Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
C:The workload resolves the approved storage hostname privately and connects while public access stays disabled. This addresses storage private endpoint dns, not application security groups.
D:Traffic to the database reaches the intended next hop and succeeds without bypassing approved inspection. This is relevant to user-defined route blackhole, whereas the case describes application security groups. It does not address the stated mechanism: ASGs group eligible network interfaces by application role so NSG policy follows workloads instead of ephemeral addresses. For this case: Use Application Security Groups and application-tier membership in NSG rules instead of hardcoded VM IP lists. Review: Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Microsoft Azure Security Technologies (AZ-500) Practice Tests