Question 740
Defender for Cloud shows a low secure score for a subscription, but teams are unsure which changes yield the largest posture improvement. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect plan enablement, storage activity signal availability and alert destination.
- Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps.
- Inspect recommendation severity, resource applicability, scoring impact and exemption records.
- Inspect resource inventory scope, asset type, protection plan and recommendation filters.
Explanation
Correct Answer
C:Inspect recommendation severity, resource applicability, scoring impact and exemption records. Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene.
Incorrect Answers
A:Inspect plan enablement, storage activity signal availability and alert destination. This addresses defender for storage anomaly alerts, not defender for cloud secure score.
B:Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps. This addresses regulatory compliance dashboard, not defender for cloud secure score.
D:Inspect resource inventory scope, asset type, protection plan and recommendation filters. This addresses defender for cloud inventory, not defender for cloud secure score.
Question 741
A financial record archive must prevent record alteration or deletion for a legal retention term, even by ordinary storage administrators. 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?
- Share-level authorization and NTFS ACLs both matter, and directory integration has platform prerequisites.
- Versioning can increase storage costs and does not inherently stop a privileged user from deleting every recoverable version.
- Deleting or disabling the active key can make encrypted data inaccessible even when storage RBAC is correct.
- Once a locked retention policy is in effect, reducing its retention can be prohibited; validate scope carefully.
Explanation
Correct Answer
D:Once a locked retention policy is in effect, reducing its retention can be prohibited; validate scope carefully. The stated boundary prevents overclaiming what this control actually protects. WORM immutability enforces write-once retention for selected blob data to protect records against unauthorized changes. Inspect immutable policy state, retention dates, protected container scope and attempted operations.
Incorrect Answers
A:Share-level authorization and NTFS ACLs both matter, and directory integration has platform prerequisites. This addresses Azure files smb identity, not immutable blob time retention.
B:Versioning can increase storage costs and does not inherently stop a privileged user from deleting every recoverable version. This addresses blob versioning rollback, not immutable blob time retention.
C:Deleting or disabling the active key can make encrypted data inaccessible even when storage RBAC is correct. This addresses customer-managed storage encryption key, not immutable blob time retention.
Question 742
A service requires HTTPS between clients and an application gateway but the listener is configured for plain HTTP only. 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?
- NSG rules use ascending numeric priorities; the first matching rule decides whether a packet is allowed or denied.
- The client-facing TLS listener performs encrypted ingress; separate backend HTTPS settings may be necessary for end-to-end encryption.
- Front Door provides global entry, edge routing and web-layer protection across healthy backend origins.
- DDoS Network Protection adds adaptive Layer 3 and Layer 4 attack mitigation beyond default infrastructure safeguards.
Explanation
Correct Answer
B:The client-facing TLS listener performs encrypted ingress; separate backend HTTPS settings may be necessary for end-to-end encryption. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: The client-facing TLS listener performs encrypted ingress; separate backend HTTPS settings may be necessary for end-to-end encryption. Critical check: Inspect listener protocol, uploaded certificate chain, backend HTTP settings and probe health. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:NSG rules use ascending numeric priorities; the first matching rule decides whether a packet is allowed or denied. This addresses NSG priority ordering, not public app gateway tls termination.
C:Front Door provides global entry, edge routing and web-layer protection across healthy backend origins. This is relevant to azure front door global edge, whereas the case describes public app gateway tls termination. It does not address the stated mechanism: The client-facing TLS listener performs encrypted ingress; separate backend HTTPS settings may be necessary for end-to-end encryption. For this case: Configure an HTTPS listener with a trusted certificate and test end-to-end TLS requirements for the backend. Review: Inspect listener protocol, uploaded certificate chain, backend HTTP settings and probe health. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
D:DDoS Network Protection adds adaptive Layer 3 and Layer 4 attack mitigation beyond default infrastructure safeguards. This is relevant to ddos network protection, whereas the case describes public app gateway tls termination. It does not address the stated mechanism: The client-facing TLS listener performs encrypted ingress; separate backend HTTPS settings may be necessary for end-to-end encryption. For this case: Configure an HTTPS listener with a trusted certificate and test end-to-end TLS requirements for the backend. Review: Inspect listener protocol, uploaded certificate chain, backend HTTP settings and probe health. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Question 743
An Azure App Service needs to initiate calls to a private SQL endpoint inside a virtual network but its requests originate over public routes. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. What mechanism makes the recommended security-control change appropriate?
- Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure.
- App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction.
- An ASE places platform infrastructure into a dedicated subnet and depends on supported capacity and network controls.
- ExpressRoute offers private connectivity but does not itself promise end-to-end encryption of every payload.
Explanation
Correct Answer
B:App Service VNet integration enables outbound access into a VNet; inbound Private Endpoint addresses a different direction. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect integration subnet delegation, route-all settings when applicable, and app-side DNS resolution.
Incorrect Answers
A:Private Link Service lets customers reach a provider-owned service through approved private endpoints without public exposure. This addresses private link service provider, not app service VNet integration.
C:An ASE places platform infrastructure into a dedicated subnet and depends on supported capacity and network controls. This addresses app service environment network, not app service VNet integration.
D:ExpressRoute offers private connectivity but does not itself promise end-to-end encryption of every payload. This addresses expressroute encryption, not app service VNet integration.
Question 744
A Container Apps environment uses database passwords directly in image environment variables, exposing credentials during deployments. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. What important boundary of the recommended solution should the reviewer recognize?
- Encryption at host does not protect data while an application processes plaintext in memory.
- AcrPull permissions do not solve an unreachable registry endpoint or an invalid image tag.
- Using a secret reference does not automatically rotate the downstream database password or revoke existing leaked credentials.
- Auditing identifies events after they happen; it does not directly block unauthorized queries.
Explanation
Correct Answer
C:Using a secret reference does not automatically rotate the downstream database password or revoke existing leaked credentials. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. Critical check: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Encryption at host does not protect data while an application processes plaintext in memory. This is relevant to encryption at host vm disks, whereas the case describes azure container apps secret handling. It does not address the stated mechanism: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. For this case: Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. Review: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
B:AcrPull permissions do not solve an unreachable registry endpoint or an invalid image tag. This is relevant to container registry image pull, whereas the case describes azure container apps secret handling. It does not address the stated mechanism: Separating secrets from container images reduces accidental credential disclosure in registries and build artifacts. For this case: Move sensitive configuration to supported Container Apps secrets or a managed-identity-backed Key Vault reference. Review: Inspect app secret references, identity permissions, revisions and deployment manifest output. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
D:Auditing identifies events after they happen; it does not directly block unauthorized queries. This addresses sql auditing to storage, not Azure container apps secret handling.
Question 745
A storage account begins receiving unusual anonymous blob enumeration but no storage-specific protection alerts are configured. 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 Servers workload protection supplies capabilities that are not guaranteed by basic free posture assessments alone.
- DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions.
- Workload protection can analyze security signals to identify suspicious database operations that auditors might otherwise review manually.
- Defender for Storage can detect suspicious storage activity beyond access controls and ordinary audit logs.
Explanation
Correct Answer
D:Defender for Storage can detect suspicious storage activity beyond access controls and ordinary audit logs. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect plan enablement, storage activity signal availability and alert destination.
Incorrect Answers
A:Defender for Servers workload protection supplies capabilities that are not guaranteed by basic free posture assessments alone. This addresses defender for servers plan activation, not defender for storage anomaly alerts.
B:DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. This addresses Azure policy modify remediation, not defender for storage anomaly alerts.
C:Workload protection can analyze security signals to identify suspicious database operations that auditors might otherwise review manually. This addresses defender for sql protection, not defender for storage anomaly alerts.
Question 746
Security operators need direct management connectivity to a VM only during a short approved repair window, not permanently. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. Which test best demonstrates the original failure has been corrected?
- The management session is allowed during the approved window and the temporary opening closes afterward.
- Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs.
- Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint.
- The authorized client decrypts values while unauthorized SQL access shows ciphertext for the protected columns.
Explanation
Correct Answer
A:The management session is allowed during the approved window and the temporary opening closes afterward. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source. Critical check: Inspect JIT policy, requester authorization, allowed management ports, source IP and request history. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
B:Authorized admins connect through Bastion while internet-origin RDP and SSH scans cannot reach the VMs. This is relevant to azure bastion private administration, whereas the case describes just-in-time vm access. It does not address the stated mechanism: JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source. For this case: Enable Microsoft Defender for Cloud just-in-time VM access and approve narrowly scoped temporary requests. Review: Inspect JIT policy, requester authorization, allowed management ports, source IP and request history. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
C:Approved private clients reach the Kubernetes API; unauthorized public clients cannot connect to the API endpoint. This is relevant to aks private cluster api, whereas the case describes just-in-time vm access. It does not address the stated mechanism: JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source. For this case: Enable Microsoft Defender for Cloud just-in-time VM access and approve narrowly scoped temporary requests. Review: Inspect JIT policy, requester authorization, allowed management ports, source IP and request history. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
D:The authorized client decrypts values while unauthorized SQL access shows ciphertext for the protected columns. This addresses always encrypted client protection, not just-in-time vm access.
Question 747
A financial record archive must prevent record alteration or deletion for a legal retention term, even by ordinary storage administrators. 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.
- Use AKS workload identity federation for the approved Kubernetes service account and grant minimal vault access.
- Configure a supported customer-managed key in Key Vault or managed HSM with the storage identity authorized for key operations.
- Apply an appropriate immutable Blob Storage time-based retention policy with protected configuration governance.
Explanation
Correct Answer
D:Apply an appropriate immutable Blob Storage time-based retention policy with protected configuration governance. This step directly targets the stated security failure instead of changing unrelated settings. WORM immutability enforces write-once retention for selected blob data to protect records against unauthorized changes. Inspect immutable policy state, retention dates, protected container scope and attempted operations.
Incorrect Answers
A:Enable blob versioning and restore the last known-good version under an approved procedure. This addresses blob versioning rollback, not immutable blob time retention.
B:Use AKS workload identity federation for the approved Kubernetes service account and grant minimal vault access. This addresses AKS workload identity, not immutable blob time retention.
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 immutable blob time retention.
Question 748
A project team grants individual virtual machine Contributor assignments to dozens of operators and cannot quickly remove a departing member's access. 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?
- Registration alone does not replace a Conditional Access requirement, and not every sign-in method satisfies every authentication strength.
- Group membership changes may not take effect immediately in cached tokens, and extra direct assignments can persist.
- Risk-based Conditional Access depends on the relevant identity protection capabilities and may have detection latency.
- An eligible role is not usable until activated, and activation cannot exceed the maximum configured duration.
Explanation
Correct Answer
B:Group membership changes may not take effect immediately in cached tokens, and extra direct assignments can persist. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants. Critical check: Inspect direct and group-derived assignments, group membership, scope and role definition before migration. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Registration alone does not replace a Conditional Access requirement, and not every sign-in method satisfies every authentication strength. This is relevant to mfa authentication methods, whereas the case describes group-managed rbac access. It does not address the stated mechanism: Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants. For this case: Assign the least-privileged Azure RBAC role to an approved Entra group at the project scope and manage access through group membership. Review: Inspect direct and group-derived assignments, group membership, scope and role definition before migration. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Risk-based Conditional Access depends on the relevant identity protection capabilities and may have detection latency. This addresses conditional access block risk, not group-managed RBAC access.
D:An eligible role is not usable until activated, and activation cannot exceed the maximum configured duration. This is relevant to rbac role assignment eligibility, whereas the case describes group-managed rbac access. It does not address the stated mechanism: Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants. For this case: Assign the least-privileged Azure RBAC role to an approved Entra group at the project scope and manage access through group membership. Review: Inspect direct and group-derived assignments, group membership, scope and role definition before migration. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Question 749
An automation identity must restart existing virtual machines but should not have permission to create or delete virtual machines. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. What mechanism makes the recommended security-control change appropriate?
- Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions.
- Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure.
- A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges.
- Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level 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. Technical rationale: A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges. Critical check: Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions. This is relevant to subscription rbac scope, whereas the case describes custom azure role actions. It does not address the stated mechanism: A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges. For this case: Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope. Review: Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
B:Eligible PIM assignments require activation, enabling justification and approval instead of permanent privilege exposure. This is relevant to pim eligible subscription role, whereas the case describes custom azure role actions. It does not address the stated mechanism: A custom role's Actions list can grant specific management-plane operations without granting broad Contributor privileges. For this case: Define an Azure custom role with only the necessary read and restart Actions at the permitted resource group scope. Review: Review the role JSON, assignable scopes, target resources and operation IDs needed by the runbook. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions. This addresses role assignment inheritance, not custom Azure role actions.
Question 750
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. Which caveat should be recorded before declaring the environment fully secure?
- Risk-based Conditional Access depends on the relevant identity protection capabilities and may have detection latency.
- Ordinary administrators cannot necessarily edit system-managed deny assignments created by Azure-managed services.
- Deleting an apparently old secret without dependency discovery can cause a production outage.
- Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy.
Explanation
Correct Answer
D:Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy. The stated boundary prevents overclaiming what this control actually protects. 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:Risk-based Conditional Access depends on the relevant identity protection capabilities and may have detection latency. This addresses conditional access block risk, not multifactor conditional access.
B:Ordinary administrators cannot necessarily edit system-managed deny assignments created by Azure-managed services. This addresses Azure RBAC deny assignments, not multifactor conditional access.
C:Deleting an apparently old secret without dependency discovery can cause a production outage. This addresses application ownership and credential review, not multifactor conditional access.
Microsoft Azure Security Technologies (AZ-500) Practice Tests