Question 320
A highly regulated storage account requires a second infrastructure encryption layer in addition to standard server-side encryption. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. Which caveat should be recorded before declaring the environment fully secure?
- Once a locked retention policy is in effect, reducing its retention can be prohibited; validate scope carefully.
- Share-level authorization and NTFS ACLs both matter, and directory integration has platform prerequisites.
- Changing this setting may not be supported in place for existing account types; verify deployment constraints first.
- Deleting or disabling the active key can make encrypted data inaccessible even when storage RBAC is correct.
Explanation
Correct Answer
C:Changing this setting may not be supported in place for existing account types; verify deployment constraints first. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Azure Storage infrastructure encryption applies a second independent encryption layer to account data at rest where supported. Critical check: Inspect account encryption settings, selected service support and any creation-time configuration limitation. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Once a locked retention policy is in effect, reducing its retention can be prohibited; validate scope carefully. This is relevant to immutable blob time retention, whereas the case describes storage infrastructure double encryption. It does not address the stated mechanism: Azure Storage infrastructure encryption applies a second independent encryption layer to account data at rest where supported. For this case: Enable infrastructure encryption at supported account creation or use the supported account migration approach. Review: Inspect account encryption settings, selected service support and any creation-time configuration limitation. 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 infrastructure double encryption.
D:Deleting or disabling the active key can make encrypted data inaccessible even when storage RBAC is correct. This is relevant to customer-managed storage encryption key, whereas the case describes storage infrastructure double encryption. It does not address the stated mechanism: Azure Storage infrastructure encryption applies a second independent encryption layer to account data at rest where supported. For this case: Enable infrastructure encryption at supported account creation or use the supported account migration approach. Review: Inspect account encryption settings, selected service support and any creation-time configuration limitation. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 321
Security operators need direct management connectivity to a VM only during a short approved repair window, not permanently. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Which observations should be collected to validate the diagnosis before changing production?
- Inspect JIT policy, requester authorization, allowed management ports, source IP and request history.
- Inspect mask function, column mapping, query principal permissions and execution context.
- Inspect cluster API endpoint mode, private DNS zone, jump-host route and administrator network reachability.
- Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs.
Explanation
Correct Answer
A:Inspect JIT policy, requester authorization, allowed management ports, source IP and request history. JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source.
Incorrect Answers
B:Inspect mask function, column mapping, query principal permissions and execution context. This addresses dynamic data masking, not just-in-time vm access.
C:Inspect cluster API endpoint mode, private DNS zone, jump-host route and administrator network reachability. This addresses AKS private cluster api, not just-in-time vm access.
D:Inspect Bastion provisioning, network policies, VM private addressing, management NSG rules and access logs. This addresses Azure bastion private administration, not just-in-time vm access.
Question 322
An isolated App Service Environment is deployed into a subnet whose address space cannot fit planned instance growth. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which limitation matters when interpreting the observed improvement?
- Private Link Service provider setup is different from creating a private endpoint to a Microsoft-managed PaaS resource.
- A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements.
- Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design.
- VNet integration does not by itself make inbound HTTPS access to the app private.
Explanation
Correct Answer
C:Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design. The stated boundary prevents overclaiming what this control actually protects. An ASE places platform infrastructure into a dedicated subnet and depends on supported capacity and network controls. Inspect assigned subnet prefix, current environment instances, NSG and route policy, and supported ASE guidance.
Incorrect Answers
A:Private Link Service provider setup is different from creating a private endpoint to a Microsoft-managed PaaS resource. This addresses private link service provider, not app service environment network.
B:A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements. This addresses Azure sql managed instance subnet, not app service environment network.
D:VNet integration does not by itself make inbound HTTPS access to the app private. This addresses app service VNet integration, not app service environment network.
Question 323
A regional HTTPS application needs Layer 7 request inspection for injection patterns before requests reach its backend pool. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. How should the engineer verify the intended security control is operating?
- Known malicious test requests are blocked while legitimate requests continue to the healthy backend.
- The workload resolves the approved storage hostname privately and connects while public access stays disabled.
- Traffic fails over to the healthy origin and web policy blocks the intended test patterns.
- The corrected authorized policy allows only the required flow and audit logs show the intended match.
Explanation
Correct Answer
A:Known malicious test requests are blocked while legitimate requests continue to the healthy backend. Application Gateway WAF inspects HTTP requests using web application firewall rules at the regional application delivery layer. Inspect WAF policy mode, rule matches, gateway listener, backend health and request logs.
Incorrect Answers
B:The workload resolves the approved storage hostname privately and connects while public access stays disabled. This addresses storage private endpoint dns, not application gateway waf.
C:Traffic fails over to the healthy origin and web policy blocks the intended test patterns. This addresses Azure front door global edge, not application gateway waf.
D:The corrected authorized policy allows only the required flow and audit logs show the intended match. This addresses Azure firewall policy hierarchy, not application gateway waf.
Question 324
An attacker with workload administrator access tries to delete backup restore points after compromising the VM environment. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which cause best explains why the intended protection is not working?
- Soft delete and purge protection help prevent immediate permanent loss of deleted vault objects during a recovery period.
- Backup vault protections reduce the ability of a compromised workload administrator to destroy recovery points.
- Consistent asset metadata helps responders route incidents and report resource accountability across subscriptions.
- External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions.
Explanation
Correct Answer
B:Backup vault protections reduce the ability of a compromised workload administrator to destroy recovery points. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect vault security settings, backup policies, role assignments, protected instances and retention locks.
Incorrect Answers
A:Soft delete and purge protection help prevent immediate permanent loss of deleted vault objects during a recovery period. This addresses key vault soft delete and purge protection, not backup immutability protection.
C:Consistent asset metadata helps responders route incidents and report resource accountability across subscriptions. This addresses resource inventory tag governance, not backup immutability protection.
D:External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions. This addresses external attack surface management, not backup immutability protection.
Question 325
Defender for Cloud shows a low secure score for a subscription, but teams are unsure which changes yield the largest posture improvement. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps.
- Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs.
- Inspect resource inventory scope, asset type, protection plan and recommendation filters.
- Inspect recommendation severity, resource applicability, scoring impact and exemption records.
Explanation
Correct Answer
D:Inspect recommendation severity, resource applicability, scoring impact and exemption records. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene. Critical check: Inspect recommendation severity, resource applicability, scoring impact and exemption records. 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 assigned framework, assessment mapping, inherited exemptions and evaluation timestamps. This is relevant to regulatory compliance dashboard, whereas the case describes defender for cloud secure score. It does not address the stated mechanism: Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene. For this case: Prioritize high-impact security recommendations by risk and score contribution, then implement verified remediations. Review: Inspect recommendation severity, resource applicability, scoring impact and exemption records. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:Inspect playbook trigger, managed identity permissions, connection authorization and automation-rule execution logs. This addresses sentinel logic apps playbook, not defender for cloud secure score.
C:Inspect resource inventory scope, asset type, protection plan and recommendation filters. This is relevant to defender for cloud inventory, whereas the case describes defender for cloud secure score. It does not address the stated mechanism: Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene. For this case: Prioritize high-impact security recommendations by risk and score contribution, then implement verified remediations. Review: Inspect recommendation severity, resource applicability, scoring impact and exemption records. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 326
A team switched a vault to Azure RBAC authorization but continues to assign legacy access policies, leaving a managed identity unable to read secrets. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Why does the correct response address this particular configuration?
- Key rotation creates new versions under controlled policy, but consumers must reference the right key or support versionless resolution.
- DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration.
- Network-level isolation reduces reachable paths to the vault separately from authentication and secret permissions.
- Key Vault has distinct access policy and Azure RBAC authorization models; permissions from the inactive model are not effective.
Explanation
Correct Answer
D:Key Vault has distinct access policy and Azure RBAC authorization models; permissions from the inactive model are not effective. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect vault access configuration, identity role assignments, role propagation and secret operation logs.
Incorrect Answers
A:Key rotation creates new versions under controlled policy, but consumers must reference the right key or support versionless resolution. This addresses key vault key rotation, not key vault RBAC permission model.
B:DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration. This addresses Azure monitor data collection rule, not key vault RBAC permission model.
C:Network-level isolation reduces reachable paths to the vault separately from authentication and secret permissions. This addresses key vault private connectivity, not key vault RBAC permission model.
Question 327
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. What mechanism makes the recommended security-control change appropriate?
- Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure.
- Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants.
- A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges.
- Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions.
Explanation
Correct Answer
C:A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges. The selected mechanism explains the failure and supports the control needed for this scenario. Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook.
Incorrect Answers
A:Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure. This addresses PIM eligible subscription role, not custom Azure role actions.
B:Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants. This addresses group-managed RBAC access, not custom Azure role actions.
D:Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions. This addresses subscription RBAC scope, not custom Azure role actions.
Question 328
An organization operates its own internal TCP service behind a Standard Load Balancer and needs private access for another tenant. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. Which cause best explains why the intended protection is not working?
- App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction.
- Service endpoints extend subnet identity to the public Azure service endpoint but do not assign a private endpoint IP.
- Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource.
- Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure.
Explanation
Correct Answer
D:Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. Critical check: Inspect provider load-balancer backend, service alias, private endpoint connection state and approval policies. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. This is relevant to app service vnet integration, whereas the case describes private link service provider. It does not address the stated mechanism: Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. For this case: Publish the provider workload through Azure Private Link Service and approve consumer private endpoint connections. Review: Inspect provider load-balancer backend, service alias, private endpoint connection state and approval policies. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
B:Service endpoints extend subnet identity to the public Azure service endpoint but do not assign a private endpoint IP. This addresses storage service endpoint, not private link service provider.
C:Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource. This is relevant to storage private endpoint dns, whereas the case describes private link service provider. It does not address the stated mechanism: Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. For this case: Publish the provider workload through Azure Private Link Service and approve consumer private endpoint connections. Review: Inspect provider load-balancer backend, service alias, private endpoint connection state and approval policies. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Question 329
A team assumes adding a private endpoint to a storage account automatically disables the public endpoint, but public access tests still succeed. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which caveat should be recorded before declaring the environment fully secure?
- ASGs are not identity-based authentication controls and cannot override routing or unsupported membership boundaries.
- Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design.
- A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements.
- Disabling public access may break services that do not use the approved private connectivity path.
Explanation
Correct Answer
D:Disabling public access may break services that do not use the approved private connectivity path. The stated boundary prevents overclaiming what this control actually protects. Private endpoints offer an additional private path but do not automatically remove existing public endpoint exposure. Inspect public network access, storage firewall rules, endpoint approval and both public and private DNS results.
Incorrect Answers
A:ASGs are not identity-based authentication controls and cannot override routing or unsupported membership boundaries. This addresses application security groups, not private endpoint network boundary.
B:Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design. This addresses app service environment network, not private endpoint network boundary.
C:A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements. This addresses Azure sql managed instance subnet, not private endpoint network boundary.
Question 330
SQL Managed Instance provisioning fails because the target subnet contains unsupported resources and network rules. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What important boundary of the recommended solution should the reviewer recognize?
- A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements.
- Disabling public access may break services that do not use the approved private connectivity path.
- A DNAT rule is not a substitute for backend NSG permissions and application-layer authentication.
- Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design.
Explanation
Correct Answer
A:A SQL firewall IP allowlist alone cannot correct managed-instance subnet requirements. The stated boundary prevents overclaiming what this control actually protects. SQL Managed Instance relies on specific virtual-network subnet requirements that differ from ordinary Azure SQL Database. Inspect subnet delegation, deployed resources, subnet prefix, NSG and route table compliance.
Incorrect Answers
B:Disabling public access may break services that do not use the approved private connectivity path. This addresses private endpoint network boundary, not Azure sql managed instance subnet.
C:A DNAT rule is not a substitute for backend NSG permissions and application-layer authentication. This addresses Azure firewall dnat rule, not Azure sql managed instance subnet.
D:Changing app authentication cannot remedy exhausted subnet addressing or unsupported subnet design. This addresses app service environment network, not Azure sql managed instance subnet.
Microsoft Azure Security Technologies (AZ-500) Practice Tests