Question 20
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 record set supports an accurate assessment before remediation?
- Inspect tenant consent settings, risky permission requests, consent history and workflow approvers.
- Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules.
- Inspect the token's audience, requested resource, caller principal and vault authorization logs.
- Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error.
Explanation
Correct Answer
D:Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error. OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
Incorrect Answers
A:Inspect tenant consent settings, risky permission requests, consent history and workflow approvers. This addresses oauth admin consent governance, not app redirect uri integrity.
B:Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules. This addresses enterprise application assignment, not app redirect uri integrity.
C:Inspect the token's audience, requested resource, caller principal and vault authorization logs. This addresses managed identity token audience, not app redirect uri integrity.
Question 21
A virtual machine runbook has a long-lived client secret in configuration to query Key Vault, creating an avoidable rotation burden. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. What important boundary of the recommended solution should the reviewer recognize?
- Reusing one identity expands its blast radius, so separate identities when workloads need different permissions.
- Custom management-plane Actions do not automatically grant Azure data-plane access defined under DataActions.
- Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM.
- Application permissions can be highly privileged and require strict credential protection and periodic consent review.
Explanation
Correct Answer
C:Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM. The stated boundary prevents overclaiming what this control actually protects. Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. Verify the VM identity principal ID, vault permission model, role scope and managed identity token acquisition.
Incorrect Answers
A:Reusing one identity expands its blast radius, so separate identities when workloads need different permissions. This addresses user-assigned managed identity, not system-assigned managed identity.
B:Custom management-plane Actions do not automatically grant Azure data-plane access defined under DataActions. This addresses custom Azure role actions, not system-assigned managed identity.
D:Application permissions can be highly privileged and require strict credential protection and periodic consent review. This addresses application permissions consent, not system-assigned managed identity.
Question 22
A security program discovers unknown internet-facing domains and certificates but internal inventory cannot identify who owns them. 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 assignment identity role grants, policy details, existing resources and remediation task reports.
- Inspect discovered domains, host relationships, public certificates, confidence and asset attribution evidence.
- Inspect exemption category, affected resource scope, expiry, compensating control and approval metadata.
- Inspect GCP integration status, authentication, project selection and resource synchronization logs.
Explanation
Correct Answer
B:Inspect discovered domains, host relationships, public certificates, confidence and asset attribution evidence. External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions.
Incorrect Answers
A:Inspect assignment identity role grants, policy details, existing resources and remediation task reports. This addresses Azure policy modify remediation, not external attack surface management.
C:Inspect exemption category, affected resource scope, expiry, compensating control and approval metadata. This addresses recommendation exemption governance, not external attack surface management.
D:Inspect GCP integration status, authentication, project selection and resource synchronization logs. This addresses gcp project connector, not external attack surface management.
Question 23
An auditor finds a support engineer has Owner rights across a subscription although their work is confined to inspecting one resource group. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. Which observations should be collected to validate the diagnosis before changing production?
- Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook.
- 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.
- Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules.
Explanation
Correct Answer
C:Inspect the principal's effective role assignments, inheritance chain, scope and actual operational tasks. Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions.
Incorrect Answers
A:Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. This addresses custom Azure role actions, not subscription RBAC scope.
B:Check eligible versus active assignments, activation policy, approval group and PIM audit events. This addresses PIM eligible subscription role, not subscription RBAC scope.
D:Inspect user assignment required setting, assigned groups, sign-in logs and the app's own access rules. This addresses enterprise application assignment, not subscription RBAC scope.
Question 24
Web VMs are frequently recreated with new private IP addresses, breaking NSG rules written around individual endpoint addresses. 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?
- Network Watcher shows the intended flow allowed while unrelated blocked ports still fail as designed.
- A replacement web VM receives the intended tier-specific network permissions without editing a stale IP allowlist.
- Mitigation metrics and attack telemetry show the protected IP retaining authorized traffic during a controlled test.
- Traffic to the database reaches the intended next hop and succeeds without bypassing approved inspection.
Explanation
Correct Answer
B:A replacement web VM receives the intended tier-specific network permissions without editing a stale IP allowlist. ASGs group eligible network interfaces by application role so NSG policy follows workloads instead of ephemeral addresses. Inspect ASG associations, effective NSG rules, subnet and NIC locations, and target traffic flows.
Incorrect Answers
A:Network Watcher shows the intended flow allowed while unrelated blocked ports still fail as designed. This addresses NSG priority ordering, not application security groups.
C:Mitigation metrics and attack telemetry show the protected IP retaining authorized traffic during a controlled test. This addresses ddos network protection, not application security groups.
D:Traffic to the database reaches the intended next hop and succeeds without bypassing approved inspection. This addresses user-defined route blackhole, not application security groups.
Question 25
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. What should the security engineer implement to meet the stated requirement?
- Use a properly dedicated delegated subnet with the required service network policies and route configuration.
- Use Azure Virtual Network Manager network groups and security admin rules for the approved cross-subscription baseline.
- Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules.
- Redesign overlapping CIDR ranges before creating peering or use a supported network translation architecture.
Explanation
Correct Answer
D:Redesign overlapping CIDR ranges before creating peering or use a supported network translation architecture. This step directly targets the stated security failure instead of changing unrelated settings. 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:Use a properly dedicated delegated subnet with the required service network policies and route configuration. This addresses Azure sql managed instance subnet, not VNet peering connectivity.
B:Use Azure Virtual Network Manager network groups and security admin rules for the approved cross-subscription baseline. 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.
C:Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules. 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.
Question 26
An AKS cluster control-plane API must not accept direct public network access from developer laptops. 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?
- If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity.
- Private control-plane access does not make every application LoadBalancer service or pod communication private.
- A federated credential with the wrong service-account subject or audience will fail despite valid cluster RBAC.
- JIT alone does not enforce strong guest credentials or address management access through unrelated routes.
Explanation
Correct Answer
B:Private control-plane access does not make every application LoadBalancer service or pod communication private. The stated boundary prevents overclaiming what this control actually protects. A private AKS API endpoint confines control-plane access to approved private networks rather than public reachability. Inspect cluster API endpoint mode, private DNS zone, jump-host route and administrator network reachability.
Incorrect Answers
A:If public endpoint rules block the client, data-plane RBAC alone will not restore connectivity. This addresses storage blob data reader role, not AKS private cluster api.
C:A federated credential with the wrong service-account subject or audience will fail despite valid cluster RBAC. This addresses AKS workload identity, not AKS private cluster api.
D:JIT alone does not enforce strong guest credentials or address management access through unrelated routes. This addresses just-in-time vm access, not AKS private cluster api.
Question 27
Branch traffic to Azure workloads must traverse centralized security inspection but currently leaves an unmanaged Virtual WAN hub directly. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which concrete security-control change is most directly justified here?
- Apply a supported IPsec or application-layer encryption design over the private circuit for required data in transit.
- Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination.
- Use a secured Virtual WAN hub with an appropriate Azure Firewall and route intent or routing policy for inspected paths.
- Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules.
Explanation
Correct Answer
C:Use a secured Virtual WAN hub with an appropriate Azure Firewall and route intent or routing policy for inspected paths. This step directly targets the stated security failure instead of changing unrelated settings. A secured virtual hub integrates network connectivity with centrally managed traffic inspection and routing controls. Inspect hub security provider, routing intent, effective route tables and firewall policy.
Incorrect Answers
A:Apply a supported IPsec or application-layer encryption design over the private circuit for required data in transit. This addresses expressroute encryption, not virtual wan secured hub.
B:Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. This addresses Azure firewall dnat rule, not virtual wan secured hub.
D:Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules. This addresses site-to-site vpn negotiation, not virtual wan secured hub.
Question 28
The security operations team has Azure subscriptions covered but lacks posture visibility into its AWS accounts. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which test best demonstrates the original failure has been corrected?
- Selected GCP projects and supported resources appear with relevant posture recommendations.
- The correct recommendation reflects the documented exemption and resurfaces for review at the intended time.
- Representative AWS resources appear in Defender for Cloud with the expected assessments.
- A test violating resource appears noncompliant under the custom standard and is reportable.
Explanation
Correct Answer
C:Representative AWS resources appear in Defender for Cloud with the expected assessments. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Defender for Cloud can evaluate supported non-Azure resources when a configured multicloud connector supplies appropriate access. Critical check: Inspect connector health, onboarding permissions, synced AWS resource inventory and plan coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Selected GCP projects and supported resources appear with relevant posture recommendations. This is relevant to gcp project connector, whereas the case describes aws account connector. It does not address the stated mechanism: Defender for Cloud can evaluate supported non-Azure resources when a configured multicloud connector supplies appropriate access. For this case: Connect the approved AWS account or organization to Defender for Cloud with necessary cloud credentials and coverage configuration. Review: Inspect connector health, onboarding permissions, synced AWS resource inventory and plan coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:The correct recommendation reflects the documented exemption and resurfaces for review at the intended time. This addresses recommendation exemption governance, not aws account connector.
D:A test violating resource appears noncompliant under the custom standard and is reportable. This is relevant to custom compliance standard, whereas the case describes aws account connector. It does not address the stated mechanism: Defender for Cloud can evaluate supported non-Azure resources when a configured multicloud connector supplies appropriate access. For this case: Connect the approved AWS account or organization to Defender for Cloud with necessary cloud credentials and coverage configuration. Review: Inspect connector health, onboarding permissions, synced AWS resource inventory and plan coverage. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 29
Every critical Defender for Cloud recommendation should create a tracked security ticket, but analysts currently copy alerts by hand. 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?
- Enable and authorize the appropriate Microsoft Sentinel data connector and verify underlying ingestion.
- Assign a narrowly targeted Azure Policy definition or initiative with an appropriate deny effect at the governing scope.
- Configure an Azure Monitor data collection rule and association with the required data source and destination.
- Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization.
Explanation
Correct Answer
D:Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. Critical check: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Enable and authorize the appropriate Microsoft Sentinel data connector and verify underlying ingestion. This is relevant to sentinel data connector ingestion, whereas the case describes defender workflow automation. It does not address the stated mechanism: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. For this case: Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. Review: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:Assign a narrowly targeted Azure Policy definition or initiative with an appropriate deny effect at the governing scope. This addresses Azure policy deny governance, not defender workflow automation.
C:Configure an Azure Monitor data collection rule and association with the required data source and destination. This is relevant to azure monitor data collection rule, whereas the case describes defender workflow automation. It does not address the stated mechanism: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. For this case: Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. Review: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 30
Administrators successfully sign in from unmanaged devices with only passwords, violating a policy requiring stronger authentication for privileged access. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. What outcome should be recorded as proof the implementation worked?
- The user completes the approved MFA challenge during a controlled policy-protected sign-in.
- A controlled sign-in meeting the defined high-risk condition is blocked, with an explainable policy result.
- The team correctly identifies the governing deny condition and follows an authorized management path.
- A test administrator encounters the MFA grant control while an approved emergency-access path remains usable.
Explanation
Correct Answer
D:A test administrator encounters the MFA grant control while an approved emergency-access path remains usable. Conditional Access evaluates identities, target resources and conditions to require controls such as multifactor authentication at sign-in. Review sign-in logs, policy scope, exclusions, report-only outcomes and authentication method details.
Incorrect Answers
A:The user completes the approved MFA challenge during a controlled policy-protected sign-in. This addresses mfa authentication methods, not multifactor conditional access.
B:A controlled sign-in meeting the defined high-risk condition is blocked, with an explainable policy result. This addresses conditional access block risk, not multifactor conditional access.
C:The team correctly identifies the governing deny condition and follows an authorized management path. This addresses Azure RBAC deny assignments, not multifactor conditional access.
Microsoft Azure Security Technologies (AZ-500) Practice Tests