Question 530
Windows security events from targeted Azure VMs never reach the designated Log Analytics workspace because the collection rule lacks the right association. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which post-change result gives the strongest evidence of success?
- A test supported alert starts the approved workflow and creates one appropriately linked ticket.
- New sample sign-in records appear in the expected log table and can be queried by the detection logic.
- An approved test event appears in the intended workspace with correct source identity and timing.
- A supervised incident test invokes the playbook and completes only the intended containment and notification steps.
Explanation
Correct Answer
C:An approved test event appears in the intended workspace with correct source identity and timing. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration. Critical check: Inspect DCR data sources, VM association, agent health, workspace permissions and ingestion metrics. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:A test supported alert starts the approved workflow and creates one appropriately linked ticket. This is relevant to defender workflow automation, whereas the case describes azure monitor data collection rule. It does not address the stated mechanism: DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration. For this case: Configure an Azure Monitor data collection rule and association with the required data source and destination. Review: Inspect DCR data sources, VM association, agent health, workspace permissions and ingestion metrics. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:New sample sign-in records appear in the expected log table and can be queried by the detection logic. This is relevant to sentinel data connector ingestion, whereas the case describes azure monitor data collection rule. It does not address the stated mechanism: DCRs specify collected streams, transformations and destinations, and eligible machines need the associated collection configuration. For this case: Configure an Azure Monitor data collection rule and association with the required data source and destination. Review: Inspect DCR data sources, VM association, agent health, workspace permissions and ingestion metrics. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:A supervised incident test invokes the playbook and completes only the intended containment and notification steps. This addresses sentinel logic apps playbook, not Azure monitor data collection rule.
Question 531
A domain-joined workstation needs controlled SMB access to an Azure Files share without embedding a storage-account key in login scripts. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. What outcome should be recorded as proof the implementation worked?
- A deleted test blob is restored with its expected content during the configured recovery window.
- All clients use the replacement credential or Entra identity before the old key is regenerated safely.
- The client uploads within the approved window and cannot list unrelated containers or write after expiry.
- An approved user mounts the share and accesses authorized files; a denied user cannot read protected paths.
Explanation
Correct Answer
D:An approved user mounts the share and accesses authorized files; a denied user cannot read protected paths. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. Critical check: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:A deleted test blob is restored with its expected content during the configured recovery window. This is relevant to blob soft delete recovery, whereas the case describes azure files smb identity. It does not address the stated mechanism: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. For this case: Configure a supported identity-based authentication option for Azure Files and share and NTFS permissions appropriately. Review: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
B:All clients use the replacement credential or Entra identity before the old key is regenerated safely. This addresses storage account key rotation, not Azure files smb identity.
C:The client uploads within the approved window and cannot list unrelated containers or write after expiry. This is relevant to user delegation sas for blobs, whereas the case describes azure files smb identity. It does not address the stated mechanism: Azure Files SMB can use supported directory identities, separating authenticated file access from shared-account keys. For this case: Configure a supported identity-based authentication option for Azure Files and share and NTFS permissions appropriately. Review: Inspect storage identity configuration, share-level RBAC, file ACLs, DNS and port reachability. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 532
Cloud servers cannot install new monitoring agents due to host constraints, but Defender coverage requires supported vulnerability and risk assessments. 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?
- Agentless scanning can evaluate certain VM properties without installing a persistent in-guest agent.
- Workload protection can analyze security signals to identify suspicious database operations that auditors might otherwise review manually.
- A security alert is a detection requiring triage and contextual validation, not proof of compromise or a routine false positive.
- Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings.
Explanation
Correct Answer
A:Agentless scanning can evaluate certain VM properties without installing a persistent in-guest agent. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect plan tier, agentless scanning settings, VM eligibility and assessment completion.
Incorrect Answers
B:Workload protection can analyze security signals to identify suspicious database operations that auditors might otherwise review manually. This addresses defender for sql protection, not agentless vm scanning.
C:A security alert is a detection requiring triage and contextual validation, not proof of compromise or a routine false positive. This addresses defender alert triage, not agentless vm scanning.
D:Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. This addresses vulnerability management remediation, not agentless vm scanning.
Question 533
OAuth sign-in fails with a redirect URI mismatch after a web application changed its callback hostname. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Why does the correct response address this particular configuration?
- OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints.
- Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods.
- Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved.
- Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations.
Explanation
Correct Answer
A:OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. Critical check: Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
B:Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods. This addresses mfa authentication methods, not app redirect uri integrity.
C:Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. This is relevant to oauth admin consent governance, whereas the case describes app redirect uri integrity. It does not address the stated mechanism: OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. For this case: Correct the application registration's redirect URI to exactly match the trusted callback used by the client. Review: Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Resource servers validate token audience and permission separately; a valid token for another service cannot authorize Key Vault operations. This is relevant to managed identity token audience, whereas the case describes app redirect uri integrity. It does not address the stated mechanism: OAuth redirects are validated against registered redirect URIs to avoid sending authorization responses to untrusted endpoints. For this case: Correct the application registration's redirect URI to exactly match the trusted callback used by the client. Review: Compare the redirect_uri parameter, registered platform URLs, protocol and tenant sign-in error. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Question 534
A regulated SQL Database needs a durable record of successful and failed access attempts for investigation and review. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. What outcome should be recorded as proof the implementation worked?
- Modification and deletion of protected test records are denied until the retention conditions allow them.
- A test support identity sees masked results while an explicitly privileged reviewer sees authorized originals.
- A controlled login or query event appears in the protected destination with expected actor and timing.
- An authorized Entra principal connects and executes permitted statements without using the shared SQL password.
Explanation
Correct Answer
C:A controlled login or query event appears in the protected destination with expected actor and timing. Database auditing captures selected security-relevant events for accountability separate from application logs. Inspect SQL audit configuration, storage or Log Analytics destination, event categories and retention.
Incorrect Answers
A:Modification and deletion of protected test records are denied until the retention conditions allow them. This addresses immutable blob time retention, not sql auditing to storage.
B:A test support identity sees masked results while an explicitly privileged reviewer sees authorized originals. This addresses dynamic data masking, not sql auditing to storage.
D:An authorized Entra principal connects and executes permitted statements without using the shared SQL password. This addresses sql microsoft entra authentication, not sql auditing to storage.
Question 535
A medical application needs sensitive database columns protected from the database engine and administrators who cannot hold client column keys. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release. What should the security engineer implement to meet the stated requirement?
- Enable an appropriate Defender for SQL threat-protection plan and route high-value alerts to the response team.
- Configure a Microsoft Entra administrator and use appropriate database users and permissions for Entra identities.
- Enable or verify Transparent Data Encryption and its protector configuration for the database.
- Use Always Encrypted with supported drivers and securely managed column master and column encryption keys.
Explanation
Correct Answer
D:Use Always Encrypted with supported drivers and securely managed column master and column encryption keys. This step directly targets the stated security failure instead of changing unrelated settings. Technical rationale: Always Encrypted encrypts selected values client-side so server-side SQL processes protected data without seeing plaintext keys. Critical check: Inspect driver support, column encryption metadata, key store permissions and application parameterization. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Incorrect Answers
A:Enable an appropriate Defender for SQL threat-protection plan and route high-value alerts to the response team. This is relevant to sql managed instance vulnerability alerts, whereas the case describes always encrypted client protection. It does not address the stated mechanism: Always Encrypted encrypts selected values client-side so server-side SQL processes protected data without seeing plaintext keys. For this case: Use Always Encrypted with supported drivers and securely managed column master and column encryption keys. Review: Inspect driver support, column encryption metadata, key store permissions and application parameterization. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
B:Configure a Microsoft Entra administrator and use appropriate database users and permissions for Entra identities. This addresses sql microsoft entra authentication, not always encrypted client protection.
C:Enable or verify Transparent Data Encryption and its protector configuration for the database. This is relevant to transparent data encryption, whereas the case describes always encrypted client protection. It does not address the stated mechanism: Always Encrypted encrypts selected values client-side so server-side SQL processes protected data without seeing plaintext keys. For this case: Use Always Encrypted with supported drivers and securely managed column master and column encryption keys. Review: Inspect driver support, column encryption metadata, key store permissions and application parameterization. The platform engineering team replays the issue against a duplicate nonproduction resource to confirm the security prerequisite before release.
Question 536
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. What outcome should be recorded as proof the implementation worked?
- The account encrypts with the authorized customer key and remains accessible through an approved rotation test.
- A controlled supported detection test produces a visible security alert with sufficient investigation context.
- The new compliant account reports infrastructure encryption enabled and workloads can read their authorized data.
- Modification and deletion of protected test records are denied until the retention conditions allow them.
Explanation
Correct Answer
C:The new compliant account reports infrastructure encryption enabled and workloads can read their authorized data. The outcome tests the original protection requirement rather than merely confirming a saved setting. 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:The account encrypts with the authorized customer key and remains accessible through an approved rotation test. 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.
B:A controlled supported detection test produces a visible security alert with sufficient investigation context. This addresses sql managed instance vulnerability alerts, not storage infrastructure double encryption.
D:Modification and deletion of protected test records are denied until the retention conditions allow them. 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.
Question 537
A team member holds a Contributor grant but a protected managed application resource still rejects a permitted management action. 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?
- Inspect effective deny assignments and their scope rather than granting Owner or duplicating the Contributor role.
- Apply a targeted Microsoft Entra Conditional Access policy that requires multifactor authentication for privileged users and relevant cloud resources.
- Correct the application registration's redirect URI to exactly match the trusted callback used by the client.
- Find an inherited Contributor or Owner assignment at the resource group, subscription or management group and remove or narrow it.
Explanation
Correct Answer
A:Inspect effective deny assignments and their scope rather than granting Owner or duplicating the Contributor role. This step directly targets the stated security failure instead of changing unrelated settings. An Azure deny assignment can block an action even when an ordinary role assignment otherwise permits it. Review the rejected operation, deny assignment details, excluded principals and resource ancestry.
Incorrect Answers
B: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 Azure RBAC deny assignments.
C:Correct the application registration's redirect URI to exactly match the trusted callback used by the client. This addresses app redirect uri integrity, not Azure RBAC deny assignments.
D: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 Azure RBAC deny assignments.
Question 538
A partner connection to a private service must enter through a controlled public IP and be translated only to the approved backend port. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which diagnostic evidence most directly evaluates the failing security control?
- Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs.
- Inspect TLS minimum version, hostname binding, certificate chain and client handshake results.
- Inspect WAF policy mode, rule matches, gateway listener, backend health and request logs.
- Inspect policy association, parent and child rule collections, match logs and priorities.
Explanation
Correct Answer
A:Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy.
Incorrect Answers
B:Inspect TLS minimum version, hostname binding, certificate chain and client handshake results. This addresses app service tls minimum version, not Azure firewall dnat rule.
C:Inspect WAF policy mode, rule matches, gateway listener, backend health and request logs. This addresses application gateway waf, not Azure firewall dnat rule.
D:Inspect policy association, parent and child rule collections, match logs and priorities. This addresses Azure firewall policy hierarchy, not Azure firewall dnat rule.
Question 539
A privileged operator accidentally removes a critical secret and the application needs recoverability before a mandatory retention interval expires. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which underlying technical explanation best supports the proper response?
- Soft delete and purge protection help prevent immediate permanent loss of deleted vault objects during a recovery period.
- Azure Policy evaluates resource configurations during supported write operations and can prevent noncompliant deployment choices.
- Key rotation creates new versions under controlled policy, but consumers must reference the right key or support versionless resolution.
- Backup vault protections reduce the ability of a compromised workload administrator to destroy recovery points.
Explanation
Correct Answer
A:Soft delete and purge protection help prevent immediate permanent loss of deleted vault objects during a recovery period. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect vault recovery settings, deleted-object inventory, retention and restore permissions.
Incorrect Answers
B:Azure Policy evaluates resource configurations during supported write operations and can prevent noncompliant deployment choices. This addresses Azure policy deny governance, not key vault soft delete and purge protection.
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 key vault soft delete and purge protection.
D:Backup vault protections reduce the ability of a compromised workload administrator to destroy recovery points. This addresses backup immutability protection, not key vault soft delete and purge protection.
Question 540
A user still has write access to a storage account after a direct Contributor assignment on that storage account was removed. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Which observations should be collected to validate the diagnosis before changing production?
- 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.
- Inspect direct and group-derived assignments, group membership, scope and role definition before migration.
- Review the rejected operation, deny assignment details, excluded principals and resource ancestry.
Explanation
Correct Answer
B:Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions. Critical check: Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Check eligible versus active assignments, activation policy, approval group and PIM audit events. This is relevant to pim eligible subscription role, whereas the case describes role assignment inheritance. It does not address the stated mechanism: Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions. For this case: Find an inherited Contributor or Owner assignment at the resource group, subscription or management group and remove or narrow it. Review: Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:Inspect direct and group-derived assignments, group membership, scope and role definition before migration. This addresses group-managed RBAC access, not role assignment inheritance.
D:Review the rejected operation, deny assignment details, excluded principals and resource ancestry. This is relevant to azure rbac deny assignments, whereas the case describes role assignment inheritance. It does not address the stated mechanism: Azure RBAC access is additive across inherited scopes, so removing one child-level assignment need not revoke higher-level permissions. For this case: Find an inherited Contributor or Owner assignment at the resource group, subscription or management group and remove or narrow it. Review: Examine Access control IAM at each ancestor scope and check group-based assignments for the principal. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Microsoft Azure Security Technologies (AZ-500) Practice Tests