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.
Question 851
A regulated SQL Database needs a durable record of successful and failed access attempts for investigation and review. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. What important boundary of the recommended solution should the reviewer recognize?
- Changing this setting may not be supported in place for existing account types; verify deployment constraints first.
- Masking is not encryption and may not protect data from inference or users with sufficient database permissions.
- Auditing identifies events after they happen; it does not directly block unauthorized queries.
- Entra authentication does not by itself replace SQL database object-level grants and network firewall rules.
Explanation
Correct Answer
C:Auditing identifies events after they happen; it does not directly block unauthorized queries. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Database auditing captures selected security-relevant events for accountability separate from application logs. Critical check: Inspect SQL audit configuration, storage or Log Analytics destination, event categories and retention. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Changing this setting may not be supported in place for existing account types; verify deployment constraints first. This addresses storage infrastructure double encryption, not sql auditing to storage.
B:Masking is not encryption and may not protect data from inference or users with sufficient database permissions. This is relevant to dynamic data masking, whereas the case describes sql auditing to storage. It does not address the stated mechanism: Database auditing captures selected security-relevant events for accountability separate from application logs. For this case: Enable Azure SQL auditing to an approved destination with adequate retention and access protection. Review: Inspect SQL audit configuration, storage or Log Analytics destination, event categories and retention. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
D:Entra authentication does not by itself replace SQL database object-level grants and network firewall rules. This is relevant to sql microsoft entra authentication, whereas the case describes sql auditing to storage. It does not address the stated mechanism: Database auditing captures selected security-relevant events for accountability separate from application logs. For this case: Enable Azure SQL auditing to an approved destination with adequate retention and access protection. Review: Inspect SQL audit configuration, storage or Log Analytics destination, event categories and retention. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 852
An Azure App Service needs to initiate calls to a private SQL endpoint inside a virtual network but its requests originate over public routes. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. Which change best addresses the stated security failure without broadening unrelated access?
- Configure the app's supported regional VNet integration and private-endpoint DNS for outbound connectivity.
- Plan a suitable subnet size and network security configuration before scaling the App Service Environment.
- Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules.
- Publish the provider workload through Azure Private Link Service and approve consumer private endpoint connections.
Explanation
Correct Answer
A:Configure the app's supported regional VNet integration and private-endpoint DNS for outbound connectivity. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. Critical check: Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
B:Plan a suitable subnet size and network security configuration before scaling the App Service Environment. This is relevant to app service environment network, whereas the case describes app service vnet integration. It does not address the stated mechanism: App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. For this case: Configure the app's supported regional VNet integration and private-endpoint DNS for outbound connectivity. Review: Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution. 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 addresses site-to-site vpn negotiation, not app service VNet integration.
D:Publish the provider workload through Azure Private Link Service and approve consumer private endpoint connections. This is relevant to private link service provider, whereas the case describes app service vnet integration. It does not address the stated mechanism: App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. For this case: Configure the app's supported regional VNet integration and private-endpoint DNS for outbound connectivity. Review: Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Question 853
A cloud operator needs emergency User Access Administrator rights only during approved maintenance, with approval and multifactor authentication before use. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. What is the most appropriate correction given the described security boundary?
- Change the standing privileged grant to a time-limited eligible PIM assignment with approval and activation requirements.
- Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope.
- Find an inherited Contributor or Owner assignment at the resource group, subscription or management group and remove or narrow it.
- Replace the broad assignment with Reader scoped to the required resource group and remove the unnecessary subscription Owner grant.
Explanation
Correct Answer
A:Change the standing privileged grant to a time-limited eligible PIM assignment with approval and activation requirements. This step directly targets the stated security failure instead of changing unrelated settings. Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure. Check eligible versus active assignments, activation policy, approval group and PIM audit events.
Incorrect Answers
B:Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope. This addresses custom Azure role actions, not PIM eligible subscription role.
C:Find an inherited Contributor or Owner assignment at the resource group, subscription or management group and remove or narrow it. This addresses role assignment inheritance, not PIM eligible subscription role.
D: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 PIM eligible subscription role.
Question 854
A background service requires tenant-wide directory reports without interactive user sign-in, but the registration has only delegated scopes. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. What important boundary of the recommended solution should the reviewer recognize?
- Delegated permissions do not grant an application unrestricted access outside the signed-in user's effective rights.
- 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.
- Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy.
Explanation
Correct Answer
C:Application permissions can be highly privileged and require strict credential protection and periodic consent review. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Application permissions support daemon access without a signed-in user, unlike delegated scopes bound to a user context. Critical check: Review requested permission type, administrator consent, access token claims and sign-in model. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Delegated permissions do not grant an application unrestricted access outside the signed-in user's effective rights. This is relevant to app registration delegated permission, whereas the case describes application permissions consent. It does not address the stated mechanism: Application permissions support daemon access without a signed-in user, unlike delegated scopes bound to a user context. For this case: Configure the appropriate application permissions, grant authorized administrator consent and use application credentials. Review: Review requested permission type, administrator consent, access token claims and sign-in model. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
B:Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM. This is relevant to system-assigned managed identity, whereas the case describes application permissions consent. It does not address the stated mechanism: Application permissions support daemon access without a signed-in user, unlike delegated scopes bound to a user context. For this case: Configure the appropriate application permissions, grant authorized administrator consent and use application credentials. Review: Review requested permission type, administrator consent, access token claims and sign-in model. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy. This addresses multifactor conditional access, not application permissions consent.
Question 855
Several Azure workloads need the same stable principal across redeployments, and separate system-assigned identities make grants cumbersome. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. How should the engineer verify the intended security control is operating?
- Replacing one workload preserves access through the existing user-assigned principal without introducing a client secret.
- The runbook reads its authorized secret with a managed identity token, without any stored application password.
- The app retrieves the required profile data without receiving broad directory-wide permission grants.
- The integration obtains a token with a new valid credential and retains only required API access.
Explanation
Correct Answer
A:Replacing one workload preserves access through the existing user-assigned principal without introducing a client secret. A user-assigned identity is a separate Azure resource whose lifecycle can outlast individual compute instances. Inspect identity resource ownership, workload attachment, principal ID and effective RBAC grants.
Incorrect Answers
B:The runbook reads its authorized secret with a managed identity token, without any stored application password. This addresses system-assigned managed identity, not user-assigned managed identity.
C:The app retrieves the required profile data without receiving broad directory-wide permission grants. This addresses app registration delegated permission, not user-assigned managed identity.
D:The integration obtains a token with a new valid credential and retains only required API access. This addresses service principal credential expiry, not user-assigned managed identity.
Question 856
A subscription continually receives new public storage accounts even though enterprise policy requires public network access to be disabled. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What must the security engineer avoid assuming after the change succeeds?
- Policy remediation requires sufficient managed identity permissions and appropriate target resource support.
- Deleting old key versions prematurely can make data encrypted with those versions unrecoverable.
- An initiative aggregates rules but does not guarantee that every constituent effect can auto-remediate resources.
- A deny policy does not automatically repair every already-deployed noncompliant resource without remediation actions.
Explanation
Correct Answer
D:A deny policy does not automatically repair every already-deployed noncompliant resource without remediation actions. The stated boundary prevents overclaiming what this control actually protects. Azure Policy evaluates resource configurations during supported write operations and can prevent noncompliant deployment choices. Inspect the policy definition alias, assignment scope, exclusions, parameters and compliance evaluation results.
Incorrect Answers
A:Policy remediation requires sufficient managed identity permissions and appropriate target resource support. This addresses Azure policy modify remediation, not Azure policy deny governance.
B:Deleting old key versions prematurely can make data encrypted with those versions unrecoverable. This addresses key vault key rotation, not Azure policy deny governance.
C:An initiative aggregates rules but does not guarantee that every constituent effect can auto-remediate resources. This addresses policy initiative grouping, not Azure policy deny governance.
Question 857
Two Azure virtual networks cannot communicate because their address spaces overlap despite both VNets being healthy. 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 security engineer implement to meet the stated requirement?
- Redesign overlapping CIDR ranges before creating peering or use a supported network translation architecture.
- Use Azure Virtual Network Manager network groups and security admin rules for the approved cross-subscription baseline.
- Correct the user-defined route next hop and verify appliance reachability or restore a valid more-specific route.
- Make IPsec/IKE policy parameters and the pre-shared key agree at both endpoints before examining application firewall rules.
Explanation
Correct Answer
A: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. Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. Inspect each VNet address prefix, existing peerings and dependent subnet addressing.
Incorrect Answers
B:Use Azure Virtual Network Manager network groups and security admin rules for the approved cross-subscription baseline. This addresses virtual network manager baseline, not VNet peering connectivity.
C:Correct the user-defined route next hop and verify appliance reachability or restore a valid more-specific route. This addresses user-defined route blackhole, not VNet peering connectivity.
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 VNet peering connectivity.
Question 858
Legacy resources lack a required diagnostic setting that the compliance program wants to deploy automatically where supported. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which diagnostic evidence most directly evaluates the failing security control?
- Inspect the policy definition alias, assignment scope, exclusions, parameters and compliance evaluation results.
- Inspect assignment identity role grants, policy details, existing resources and remediation task reports.
- Inspect policy compliance, Azure Resource Graph inventory, tag coverage and owner directory mapping.
- Inspect initiative membership, parameter mappings, exemptions and summary compliance reports.
Explanation
Correct Answer
B:Inspect assignment identity role grants, policy details, existing resources and remediation task reports. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. Critical check: Inspect assignment identity role grants, policy details, existing resources and remediation task reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Inspect the policy definition alias, assignment scope, exclusions, parameters and compliance evaluation results. This is relevant to azure policy deny governance, whereas the case describes azure policy modify remediation. It does not address the stated mechanism: DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. For this case: Use a deployIfNotExists policy with a managed identity and remediation task for existing supported resources. Review: Inspect assignment identity role grants, policy details, existing resources and remediation task reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
C:Inspect policy compliance, Azure Resource Graph inventory, tag coverage and owner directory mapping. This addresses resource inventory tag governance, not Azure policy modify remediation.
D:Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. This is relevant to policy initiative grouping, whereas the case describes azure policy modify remediation. It does not address the stated mechanism: DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. For this case: Use a deployIfNotExists policy with a managed identity and remediation task for existing supported resources. Review: Inspect assignment identity role grants, policy details, existing resources and remediation task reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 859
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 limitation matters when interpreting the observed improvement?
- Revoking broad consent may disrupt existing integrations; test dependent applications before removing grants.
- Replacing a credential alone does not correct an expired consent grant or unsupported authentication flow.
- App-side authorization still matters; assignment restriction does not define the application's internal privileges.
- Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM.
Explanation
Correct Answer
C:App-side authorization still matters; assignment restriction does not define the application's internal privileges. The stated boundary prevents overclaiming what this control actually protects. 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:Revoking broad consent may disrupt existing integrations; test dependent applications before removing grants. 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.
B:Replacing a credential alone does not correct an expired consent grant or unsupported authentication flow. 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.
D:Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM. This addresses system-assigned managed identity, not enterprise application assignment.
Question 860
Incident responders cannot tell which Azure machines have critical exposure because resource lists are spread across subscriptions. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which cause best explains why the intended protection is not working?
- Defender for Cloud inventory correlates protected resources and security context to support exposure investigation.
- Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene.
- Regulatory compliance dashboards map applicable assessments to supported standards and track current state.
- Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting.
Explanation
Correct Answer
A:Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect resource inventory scope, asset type, protection plan and recommendation filters.
Incorrect Answers
B:Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene. This addresses defender for cloud secure score, not defender for cloud inventory.
C:Regulatory compliance dashboards map applicable assessments to supported standards and track current state. This addresses regulatory compliance dashboard, not defender for cloud inventory.
D:Custom standards let organizations express additional controls and evaluate them alongside built-in posture reporting. This addresses custom compliance standard, not defender for cloud inventory.
Microsoft Azure Security Technologies (AZ-500) Practice Tests