Question 840
The organization cannot identify owners of untagged production resources, delaying security incident response. 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?
- Validated external assets are assigned owners and are tracked for misconfiguration remediation.
- A controlled unauthorized deletion attempt fails while an approved restore recovers a representative file.
- A resource inventory query returns accountable owners for the targeted resources and missing-tag reports shrink.
- A deleted test secret can be recovered in the permitted interval while premature purge attempts are blocked.
Explanation
Correct Answer
C:A resource inventory query returns accountable owners for the targeted resources and missing-tag reports shrink. Consistent asset metadata helps responders route incidents and report resource accountability across subscriptions. Inspect policy compliance, Azure Resource Graph inventory, tag coverage and owner directory mapping.
Incorrect Answers
A:Validated external assets are assigned owners and are tracked for misconfiguration remediation. This addresses external attack surface management, not resource inventory tag governance.
B:A controlled unauthorized deletion attempt fails while an approved restore recovers a representative file. This addresses backup immutability protection, not resource inventory tag governance.
D:A deleted test secret can be recovered in the permitted interval while premature purge attempts are blocked. This addresses key vault soft delete and purge protection, not resource inventory tag governance.
Question 841
Two Azure virtual networks cannot communicate because their address spaces overlap despite both VNets being healthy. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. Which test best demonstrates the original failure has been corrected?
- Selected VNets receive the same approved baseline and an audit shows consistent enforcement.
- The tunnel establishes and approved internal prefixes become reachable across the encrypted link.
- The peering becomes established after valid address plans and private IP traffic routes correctly.
- Only approved subnet traffic reaches the storage public endpoint, while external untrusted networks are denied.
Explanation
Correct Answer
C:The peering becomes established after valid address plans and private IP traffic routes correctly. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. Critical check: Inspect each VNet address prefix, existing peerings and dependent subnet addressing. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:Selected VNets receive the same approved baseline and an audit shows consistent enforcement. This is relevant to virtual network manager baseline, whereas the case describes vnet peering connectivity. It does not address the stated mechanism: Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. For this case: Redesign overlapping CIDR ranges before creating peering or use a supported network translation architecture. Review: Inspect each VNet address prefix, existing peerings and dependent subnet addressing. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
B:The tunnel establishes and approved internal prefixes become reachable across the encrypted link. This is relevant to site-to-site vpn negotiation, whereas the case describes vnet peering connectivity. It does not address the stated mechanism: Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. For this case: Redesign overlapping CIDR ranges before creating peering or use a supported network translation architecture. Review: Inspect each VNet address prefix, existing peerings and dependent subnet addressing. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
D:Only approved subnet traffic reaches the storage public endpoint, while external untrusted networks are denied. This addresses storage service endpoint, not VNet peering connectivity.
Question 842
A team member holds a Contributor grant but a protected managed application resource still rejects a permitted management action. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. Which post-change result gives the strongest evidence of success?
- A test administrator encounters the MFA grant control while an approved emergency-access path remains usable.
- The user can no longer write to the storage account after all excess inherited grants are removed.
- The team correctly identifies the governing deny condition and follows an authorized management path.
- The function obtains a token for the vault and successfully reads only the approved secret.
Explanation
Correct Answer
C:The team correctly identifies the governing deny condition and follows an authorized management path. An Azure deny assignment can block an action even when an ordinary role assignment otherwise permits it. Review the rejected operation, deny assignment details, excluded principals and resource ancestry.
Incorrect Answers
A:A test administrator encounters the MFA grant control while an approved emergency-access path remains usable. This addresses multifactor conditional access, not Azure RBAC deny assignments.
B:The user can no longer write to the storage account after all excess inherited grants are removed. This addresses role assignment inheritance, not Azure RBAC deny assignments.
D:The function obtains a token for the vault and successfully reads only the approved secret. This addresses managed identity token audience, not Azure RBAC deny assignments.
Question 843
Two production applications share a storage account access key, and the key is nearing mandatory rotation with no interruption window. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. Which limitation matters when interpreting the observed improvement?
- If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity.
- Share-level authorization and NTFS ACLs both matter, and directory integration has platform prerequisites.
- A stolen SAS may remain usable until expiration or revocation mechanisms apply; it is still a bearer capability.
- 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. Technical rationale: Shared account keys grant broad storage access; dual-key rotation requires moving consumers before invalidating an old key. Critical check: Inspect access-key usage, connection-string inventory, application migration readiness and key rotation logs. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity. This is relevant to storage blob data reader role, whereas the case describes storage account key rotation. It does not address the stated mechanism: Shared account keys grant broad storage access; dual-key rotation requires moving consumers before invalidating an old key. For this case: Migrate applications to Microsoft Entra authentication where feasible or perform staged dual-key rotation with verified consumers. Review: Inspect access-key usage, connection-string inventory, application migration readiness and key rotation logs. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
B:Share-level authorization and NTFS ACLs both matter, and directory integration has platform prerequisites. This addresses Azure files smb identity, not storage account key rotation.
C:A stolen SAS may remain usable until expiration or revocation mechanisms apply; it is still a bearer capability. This is relevant to user delegation sas for blobs, whereas the case describes storage account key rotation. It does not address the stated mechanism: Shared account keys grant broad storage access; dual-key rotation requires moving consumers before invalidating an old key. For this case: Migrate applications to Microsoft Entra authentication where feasible or perform staged dual-key rotation with verified consumers. Review: Inspect access-key usage, connection-string inventory, application migration readiness and key rotation logs. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 844
An operations team opens RDP on the internet for several virtual machines because administrators need occasional interactive access. 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?
- Modification and deletion of protected test records are denied until the retention conditions allow them.
- Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs.
- The management session is allowed during the approved window and the temporary opening closes afterward.
- Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint.
Explanation
Correct Answer
B:Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM. Critical check: Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Modification and deletion of protected test records are denied until the retention conditions allow them. This addresses immutable blob time retention, not Azure bastion private administration.
C:The management session is allowed during the approved window and the temporary opening closes afterward. This is relevant to just-in-time vm access, whereas the case describes azure bastion private administration. It does not address the stated mechanism: Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM. For this case: Deploy Azure Bastion with the appropriate subnet and remove unnecessary direct RDP or SSH exposure from virtual machines. Review: Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs. 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 azure bastion private administration. It does not address the stated mechanism: Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM. For this case: Deploy Azure Bastion with the appropriate subnet and remove unnecessary direct RDP or SSH exposure from virtual machines. Review: Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 845
An internal web app requests all directory read permissions when it only needs to read the signed-in user's basic profile. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Which diagnostic evidence most directly evaluates the failing security control?
- Review requested permission type, administrator consent, access token claims and sign-in model.
- Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition.
- Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants.
- Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal.
Explanation
Correct Answer
D:Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Delegated permissions act on behalf of a signed-in user and should reflect the app's legitimate operation and consent model. Critical check: Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Review requested permission type, administrator consent, access token claims and sign-in model. This is relevant to application permissions consent, whereas the case describes app registration delegated permission. It does not address the stated mechanism: Delegated permissions act on behalf of a signed-in user and should reflect the app's legitimate operation and consent model. For this case: Reduce its delegated Microsoft Graph scopes to the minimal supported profile permissions and review consent. Review: Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
B: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 app registration delegated permission. It does not address the stated mechanism: Delegated permissions act on behalf of a signed-in user and should reflect the app's legitimate operation and consent model. For this case: Reduce its delegated Microsoft Graph scopes to the minimal supported profile permissions and review consent. Review: Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants. This addresses user-assigned managed identity, not app registration delegated permission.
Question 846
A partner connection to a private service must enter through a controlled public IP and be translated only to the approved backend port. 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?
- Legacy handshake attempts fail while approved clients establish secure TLS sessions.
- Allowed partner requests reach the intended port while unauthorized sources remain blocked.
- Mitigation metrics and attack telemetry show the protected IP retaining authorized traffic during a controlled test.
- The corrected authorized policy allows only the required flow and audit logs show the intended match.
Explanation
Correct Answer
B:Allowed partner requests reach the intended port while unauthorized sources remain blocked. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. Critical check: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:Legacy handshake attempts fail while approved clients establish secure TLS sessions. This is relevant to app service tls minimum version, whereas the case describes azure firewall dnat rule. It does not address the stated mechanism: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. For this case: Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. Review: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
C:Mitigation metrics and attack telemetry show the protected IP retaining authorized traffic during a controlled test. This addresses ddos network protection, not Azure firewall dnat rule.
D:The corrected authorized policy allows only the required flow and audit logs show the intended match. This is relevant to azure firewall policy hierarchy, whereas the case describes azure firewall dnat rule. It does not address the stated mechanism: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. For this case: Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. Review: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Question 847
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. Which caveat should be recorded before declaring the environment fully secure?
- A live tunnel alone does not guarantee correct BGP routes, phase-two selectors, or downstream NSG access.
- A permissive catch-all allow rule may hide the immediate symptom but broadens attack exposure unnecessarily.
- Enabling a secured hub without correct routing policies does not guarantee that every traffic class is inspected.
- VNet peering does not automatically provide transitive routing through a third peered network.
Explanation
Correct Answer
A:A live tunnel alone does not guarantee correct BGP routes, phase-two selectors, or downstream NSG access. The stated boundary prevents overclaiming what this control actually protects. 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
B:A permissive catch-all allow rule may hide the immediate symptom but broadens attack exposure unnecessarily. This addresses NSG priority ordering, not site-to-site vpn negotiation.
C:Enabling a secured hub without correct routing policies does not guarantee that every traffic class is inspected. 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.
D:VNet peering does not automatically provide transitive routing through a third peered network. 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.
Question 848
A confirmed Sentinel incident must isolate a user account and notify an external ticket system through a controlled automated response. 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 rule trigger, condition predicates, execution order, incident activity and assignments.
- Inspect triggering events, scanner source identity, rule query logic and historical true-positive cases.
- Inspect vault recovery settings, deleted-object inventory, retention and restore permissions.
- Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs.
Explanation
Correct Answer
D:Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs. Sentinel playbooks use Logic Apps workflows to orchestrate supported incident-response and third-party actions.
Incorrect Answers
A:Inspect rule trigger, condition predicates, execution order, incident activity and assignments. This addresses sentinel automation rule triage, not sentinel logic apps playbook.
B:Inspect triggering events, scanner source identity, rule query logic and historical true-positive cases. This addresses sentinel alert noise reduction, not sentinel logic apps playbook.
C:Inspect vault recovery settings, deleted-object inventory, retention and restore permissions. This addresses key vault soft delete and purge protection, not sentinel logic apps playbook.
Question 849
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. What is the most appropriate correction given the described security boundary?
- Grant the node or workload's correct pull identity AcrPull permissions at the registry and validate network reachability.
- Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference.
- Issue a scoped user delegation SAS with permitted upload actions and short expiry based on Entra authorization.
- Enable a supported encryption-at-host configuration for the VM size and workload while documenting disk encryption coverage.
Explanation
Correct Answer
B:Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. This step directly targets the stated security failure instead of changing unrelated settings. 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:Grant the node or workload's correct pull identity AcrPull permissions at the registry and validate network reachability. 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:Issue a scoped user delegation SAS with permitted upload actions and short expiry based on Entra authorization. This addresses user delegation sas for blobs, not Azure container apps secret handling.
D:Enable a supported encryption-at-host configuration for the VM size and workload while documenting disk encryption coverage. 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 850
A protected workload cannot reach a private database after a new default route sent all traffic to a missing virtual appliance. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What must the security engineer avoid assuming after the change succeeds?
- A WAF is not a replacement for network-layer segmentation or secure application code.
- ASGs are not identity-based authentication controls and cannot override routing or unsupported membership boundaries.
- A broad admin rule can unintentionally affect all included networks, so validate rollout scope before deployment.
- Opening an NSG cannot fix a missing route or a failed next-hop device.
Explanation
Correct Answer
D:Opening an NSG cannot fix a missing route or a failed next-hop device. The stated boundary prevents overclaiming what this control actually protects. Route tables determine the next hop before NSG evaluation; an unreachable virtual appliance can blackhole otherwise permitted traffic. Inspect effective routes, route prefix specificity, next-hop type and appliance health.
Incorrect Answers
A:A WAF is not a replacement for network-layer segmentation or secure application code. This addresses application gateway waf, not user-defined route blackhole.
B:ASGs are not identity-based authentication controls and cannot override routing or unsupported membership boundaries. This addresses application security groups, not user-defined route blackhole.
C:A broad admin rule can unintentionally affect all included networks, so validate rollout scope before deployment. This addresses virtual network manager baseline, not user-defined route blackhole.
Microsoft Azure Security Technologies (AZ-500) Practice Tests