Question 220
A subscription receives no server threat alerts for several virtual machines because only free posture management is enabled. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which diagnostic evidence most directly evaluates the failing security control?
- Inspect vault security settings, backup policies, role assignments, protected instances and retention locks.
- Inspect plan scope, protected database list, attack detection settings and alert integration.
- Inspect plan enablement, storage activity signal availability and alert destination.
- Inspect subscription plan selection, server inventory, onboarding telemetry and alert configurations.
Explanation
Correct Answer
D:Inspect subscription plan selection, server inventory, onboarding telemetry and alert configurations. Defender for Servers workload protection supplies capabilities that are not guaranteed by basic free posture assessments alone.
Incorrect Answers
A:Inspect vault security settings, backup policies, role assignments, protected instances and retention locks. This addresses backup immutability protection, not defender for servers plan activation.
B:Inspect plan scope, protected database list, attack detection settings and alert integration. This addresses defender for sql protection, not defender for servers plan activation.
C:Inspect plan enablement, storage activity signal availability and alert destination. This addresses defender for storage anomaly alerts, not defender for servers plan activation.
Question 221
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. Which record set supports an accurate assessment before remediation?
- Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal.
- Check eligible versus active assignments, activation policy, approval group and PIM audit events.
- Examine Access control IAM at each ancestor scope and check group-based assignments for the principal.
- Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook.
Explanation
Correct Answer
B:Check eligible versus active assignments, activation policy, approval group and PIM audit events. Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure.
Incorrect Answers
A:Inspect the app registration API permissions, OAuth requested scopes, granted consent and service principal. This addresses app registration delegated permission, not PIM eligible subscription role.
C:Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. This addresses role assignment inheritance, not PIM eligible subscription role.
D:Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. This addresses custom Azure role actions, not PIM eligible subscription role.
Question 222
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 record set supports an accurate assessment before remediation?
- Check the private endpoint NIC IP, DNS zone records, virtual network links and client name resolution.
- Inspect provider load-balancer backend, service alias, private endpoint connection state and approval policies.
- Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution.
- Inspect effective routes, route prefix specificity, next-hop type and appliance health.
Explanation
Correct Answer
B:Inspect provider load-balancer backend, service alias, private endpoint connection state and approval policies. The observations discriminate this specific failure from a superficially similar configuration fault. 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:Check the private endpoint NIC IP, DNS zone records, virtual network links and client name resolution. 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.
C:Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution. 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.
D:Inspect effective routes, route prefix specificity, next-hop type and appliance health. This addresses user-defined route blackhole, not private link service provider.
Question 223
A Container Apps environment uses database passwords directly in image environment variables, exposing credentials during deployments. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Which underlying technical explanation best supports the proper response?
- Blob soft delete retains deleted blobs for a configured period to recover accidental deletions before purge.
- Encryption at host extends protection to specific host-side disk data paths that default managed disk encryption may not cover.
- Image-pull authorization is separate from Kubernetes deployment permission and requires registry access by the pulling principal.
- Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts.
Explanation
Correct Answer
D:Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect app secret references, identity permissions, revisions and deployment manifest output.
Incorrect Answers
A:Blob soft delete retains deleted blobs for a configured period to recover accidental deletions before purge. This addresses blob soft delete recovery, not Azure container apps secret handling.
B:Encryption at host extends protection to specific host-side disk data paths that default managed disk encryption may not cover. This addresses encryption at host vm disks, not Azure container apps secret handling.
C:Image-pull authorization is separate from Kubernetes deployment permission and requires registry access by the pulling principal. This addresses container registry image pull, not Azure container apps secret handling.
Question 224
A highly regulated storage account requires a second infrastructure encryption layer in addition to standard server-side encryption. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. What is the most appropriate correction given the described security boundary?
- Enable infrastructure encryption at supported account creation or use the supported account migration approach.
- Apply an appropriate immutable Blob Storage time-based retention policy with protected configuration governance.
- Configure a supported customer-managed key in Key Vault or managed HSM with the storage identity authorized for key operations.
- Assign an appropriate Storage Blob Data Reader data-plane role at the required storage scope.
Explanation
Correct Answer
A:Enable infrastructure encryption at supported account creation or use the supported account migration approach. This step directly targets the stated security failure instead of changing unrelated settings. Azure Storage infrastructure encryption applies a second independent encryption layer to account data at rest where supported. Inspect account encryption settings, selected service support and any creation-time configuration limitation.
Incorrect Answers
B:Apply an appropriate immutable Blob Storage time-based retention policy with protected configuration governance. This addresses immutable blob time retention, not storage infrastructure double encryption.
C:Configure a supported customer-managed key in Key Vault or managed HSM with the storage identity authorized for key operations. This addresses customer-managed storage encryption key, not storage infrastructure double encryption.
D:Assign an appropriate Storage Blob Data Reader data-plane role at the required storage scope. This addresses storage blob data reader role, not storage infrastructure double encryption.
Question 225
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 test best demonstrates the original failure has been corrected?
- The integration obtains a token with a new valid credential and retains only required API access.
- A risky app request waits for approval while an administrator can authorize an appropriate minimal grant.
- An assigned test user signs in while an unassigned control user is denied by Entra enforcement.
- The runbook can invoke the restart operation but attempts to delete or create a virtual machine are denied.
Explanation
Correct Answer
C:An assigned test user signs in while an unassigned control user is denied by Entra enforcement. The outcome tests the original protection requirement rather than merely confirming a saved setting. 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:The integration obtains a token with a new valid credential and retains only required API access. 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.
B:A risky app request waits for approval while an administrator can authorize an appropriate minimal grant. 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.
D:The runbook can invoke the restart operation but attempts to delete or create a virtual machine are denied. This addresses custom Azure role actions, not enterprise application assignment.
Question 226
An API Management gateway exposes an internal API publicly with no gateway-level authentication and unlimited request rates. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Which concrete security-control change is most directly justified here?
- Enable blob versioning and restore the last known-good version under an approved procedure.
- Enable a supported encryption-at-host configuration for the VM size and workload while documenting disk encryption coverage.
- Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference.
- Apply APIM authentication validation policies, throttling or rate limits, and secure backend connectivity where required.
Explanation
Correct Answer
D:Apply APIM authentication validation policies, throttling or rate limits, and secure backend connectivity where required. This step directly targets the stated security failure instead of changing unrelated settings. APIM policies can enforce token requirements and consumption controls at the API gateway before backend processing. Inspect inbound policy expressions, subscription or token claims, backend address and gateway trace logs.
Incorrect Answers
A:Enable blob versioning and restore the last known-good version under an approved procedure. This addresses blob versioning rollback, not api management backend protection.
B:Enable a supported encryption-at-host configuration for the VM size and workload while documenting disk encryption coverage. This addresses encryption at host vm disks, not api management backend protection.
C:Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. This addresses Azure container apps secret handling, not api management backend protection.
Question 227
Users with high sign-in risk can reach a sensitive application when they satisfy MFA, but the security policy requires blocking the risky session entirely. 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?
- Apply a targeted Microsoft Entra Conditional Access policy that requires multifactor authentication for privileged users and relevant cloud resources.
- Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins.
- Enable a system-assigned managed identity on the VM and grant only the needed Key Vault data-plane permission.
- Configure the role assignment as eligible through PIM for Azure resources, not as a permanent active management-group role.
Explanation
Correct Answer
B:Use an appropriate Conditional Access risk condition with a block control for the specified high-risk sign-ins. This step directly targets the stated security failure instead of changing unrelated settings. A grant requiring MFA is a different control from blocking access; the chosen risk threshold and control determine the outcome. Inspect risk detections, the applied policy, sign-in events and any excluded users or apps.
Incorrect Answers
A:Apply a targeted Microsoft Entra Conditional Access policy that requires multifactor authentication for privileged users and relevant cloud resources. This addresses multifactor conditional access, not conditional access block risk.
C:Enable a system-assigned managed identity on the VM and grant only the needed Key Vault data-plane permission. This addresses system-assigned managed identity, not conditional access block risk.
D:Configure the role assignment as eligible through PIM for Azure resources, not as a permanent active management-group role. This addresses RBAC role assignment eligibility, not conditional access block risk.
Question 228
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. Why does the correct response address this particular configuration?
- A private AKS API endpoint confines control-plane access to approved private networks rather than public reachability.
- JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source.
- Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets.
- Blob versioning preserves prior states of changed objects so overwrites can be recovered without restoring the entire account.
Explanation
Correct Answer
A:A private AKS API endpoint confines control-plane access to approved private networks rather than public reachability. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect cluster API endpoint mode, private DNS zone, jump-host route and administrator network reachability.
Incorrect Answers
B:JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source. This addresses just-in-time vm access, not AKS private cluster api.
C:Federated workload identity exchanges a Kubernetes-issued token for Microsoft Entra access without embedding client secrets. This addresses AKS workload identity, not AKS private cluster api.
D:Blob versioning preserves prior states of changed objects so overwrites can be recovered without restoring the entire account. This addresses blob versioning rollback, not AKS private cluster api.
Question 229
Microsoft Sentinel has an analytics rule for identity threats, but no Entra sign-in logs appear in the workspace. 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?
- Scheduled analytics run queries over ingested data at configured intervals and can create alerts or incidents on matching results.
- Sentinel analytics require relevant data arriving in the connected workspace before detection queries can match it.
- 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.
Explanation
Correct Answer
B:Sentinel analytics require relevant data arriving in the connected workspace before detection queries can match it. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect connector health, workspace tables, collection settings and ingestion latency.
Incorrect Answers
A:Scheduled analytics run queries over ingested data at configured intervals and can create alerts or incidents on matching results. This addresses sentinel scheduled analytics, not sentinel data connector ingestion.
C: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 sentinel data connector ingestion.
D:DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration. This addresses Azure monitor data collection rule, not sentinel data connector ingestion.
Question 230
A workload has a storage private endpoint but still resolves the storage hostname to a public IP and fails after public network access is disabled. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. Why does the correct response address this particular configuration?
- Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource.
- Service endpoints extend subnet identity to the public Azure service endpoint but do not assign a private endpoint IP.
- Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers.
- Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure.
Explanation
Correct Answer
A:Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource. Critical check: Check the private endpoint NIC IP, DNS zone records, virtual network links and client name resolution. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
B:Service endpoints extend subnet identity to the public Azure service endpoint but do not assign a private endpoint IP. This is relevant to storage service endpoint, whereas the case describes storage private endpoint dns. It does not address the stated mechanism: Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource. For this case: Configure and link the correct Private DNS zone so the service FQDN resolves to the endpoint's private IP. Review: Check the private endpoint NIC IP, DNS zone records, virtual network links and client name resolution. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
C:Ordinary VNet peering requires non-overlapping address spaces to maintain unambiguous routing between peers. This addresses VNet peering connectivity, not storage private endpoint dns.
D:Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. This is relevant to private link service provider, whereas the case describes storage private endpoint dns. It does not address the stated mechanism: Private Endpoint traffic requires DNS resolution to the private interface for the intended service subresource. For this case: Configure and link the correct Private DNS zone so the service FQDN resolves to the endpoint's private IP. Review: Check the private endpoint NIC IP, DNS zone records, virtual network links and client name resolution. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Microsoft Azure Security Technologies (AZ-500) Practice Tests