Question 340
Legacy resources lack a required diagnostic setting that the compliance program wants to deploy automatically where supported. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. What should the security engineer implement to meet the stated requirement?
- Create an Azure Policy initiative grouping the required definitions with consistent parameters and assignment scope.
- Use a deployIfNotExists policy with a managed identity and remediation task for existing supported resources.
- Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization.
- Assign a narrowly targeted Azure Policy definition or initiative with an appropriate deny effect at the governing scope.
Explanation
Correct Answer
B:Use a deployIfNotExists policy with a managed identity and remediation task for existing supported resources. This step directly targets the stated security failure instead of changing unrelated settings. DeployIfNotExists can deploy related configuration after evaluating resource existence, subject to correct permissions. Inspect assignment identity role grants, policy details, existing resources and remediation task reports.
Incorrect Answers
A:Create an Azure Policy initiative grouping the required definitions with consistent parameters and assignment scope. This addresses policy initiative grouping, not Azure policy modify remediation.
C:Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. This addresses defender workflow automation, not Azure policy modify remediation.
D:Assign a narrowly targeted Azure Policy definition or initiative with an appropriate deny effect at the governing scope. This addresses Azure policy deny governance, not Azure policy modify remediation.
Question 341
Projects stored in GitLab are not included in the central DevOps security dashboard although the organization already connected Azure DevOps. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. What must the security engineer avoid assuming after the change succeeds?
- Overbroad source exclusions can hide real attacks that reuse an approved scanner network range.
- Premature closure can conceal an active incident; a high severity label alone does not establish attacker intent.
- Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build.
- Connecting one code host does not automatically cover repositories located on a different provider.
Explanation
Correct Answer
D:Connecting one code host does not automatically cover repositories located on a different provider. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Different code-hosting platforms need their own supported integration to contribute posture signals to Defender for Cloud. Critical check: Inspect connected platform type, group or project membership, scanner status and result ingestion. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Overbroad source exclusions can hide real attacks that reuse an approved scanner network range. This addresses sentinel alert noise reduction, not gitlab security integration.
B:Premature closure can conceal an active incident; a high severity label alone does not establish attacker intent. This is relevant to defender alert triage, whereas the case describes gitlab security integration. It does not address the stated mechanism: Different code-hosting platforms need their own supported integration to contribute posture signals to Defender for Cloud. For this case: Configure a supported GitLab integration with minimal access and verify repository scan onboarding. Review: Inspect connected platform type, group or project membership, scanner status and result ingestion. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
C:Repository posture scanning does not guarantee secret-free history or secure runtime deployment of every build. This is relevant to defender for devops connector, whereas the case describes gitlab security integration. It does not address the stated mechanism: Different code-hosting platforms need their own supported integration to contribute posture signals to Defender for Cloud. For this case: Configure a supported GitLab integration with minimal access and verify repository scan onboarding. Review: Inspect connected platform type, group or project membership, scanner status and result ingestion. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 342
A development team uses GitHub repositories with risky infrastructure-as-code templates but those repos are absent from security posture reporting. A separate compliance rehearsal reproduces the finding with a test resource, allowing the team to validate detection, ownership and safe remediation. Which concrete security-control change is most directly justified here?
- Enable the appropriate Defender for Servers plan with supported agent or agentless configuration and verify coverage.
- Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation.
- Configure a supported GitLab integration with minimal access and verify repository scan onboarding.
- Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility.
Explanation
Correct Answer
D:Connect the approved GitHub organization to Defender for Cloud DevOps Security with appropriate repository visibility. This step directly targets the stated security failure instead of changing unrelated settings. DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. Inspect connector permissions, repository inventory, scan coverage and finding categories.
Incorrect Answers
A:Enable the appropriate Defender for Servers plan with supported agent or agentless configuration and verify coverage. This addresses defender for servers plan activation, not defender for devops connector.
B:Use Defender Vulnerability Management findings to prioritize affected software and coordinate tested remediation. This addresses vulnerability management remediation, not defender for devops connector.
C:Configure a supported GitLab integration with minimal access and verify repository scan onboarding. This addresses gitlab security integration, not defender for devops connector.
Question 343
A partner connection to a private service must enter through a controlled public IP and be translated only to the approved backend port. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected. Which caveat should be recorded before declaring the environment fully secure?
- VNet peering does not automatically provide transitive routing through a third peered network.
- A DNAT rule is not a substitute for backend NSG permissions and application-layer authentication.
- Overriding broad organizational restrictions may require security-owner approval rather than a local rule edit.
- An application-level redirect from HTTP to HTTPS does not ensure weak TLS versions are disabled.
Explanation
Correct Answer
B:A DNAT rule is not a substitute for backend NSG permissions and application-layer authentication. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. Critical check: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Incorrect Answers
A:VNet peering does not automatically provide transitive routing through a third peered network. This addresses VNet peering connectivity, not Azure firewall dnat rule.
C:Overriding broad organizational restrictions may require security-owner approval rather than a local rule edit. This is relevant to azure firewall policy hierarchy, whereas the case describes azure firewall dnat rule. It does not address the stated mechanism: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. For this case: Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. Review: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
D:An application-level redirect from HTTP to HTTPS does not ensure weak TLS versions are disabled. This is relevant to app service tls minimum version, whereas the case describes azure firewall dnat rule. It does not address the stated mechanism: Destination NAT directs selected incoming traffic to a private endpoint under a central firewall policy. For this case: Implement a narrowly scoped Azure Firewall DNAT rule with the required source restrictions and backend destination. Review: Review firewall public IP, DNAT policy rule order, allowed sources, backend private address and logs. A regulated production connectivity change requires the team to preserve approved routes and prove that unrelated destinations remain protected.
Question 344
An auditor finds a support engineer has Owner rights across a subscription although their work is confined to inspecting one resource group. A maintenance release is scheduled, and the security team must prove that access remains least-privileged across the relevant identity boundary. How should the engineer verify the intended security control is operating?
- Adding an authorized member grants expected access and removing a member revokes access after token and membership propagation.
- The runbook can invoke the restart operation but attempts to delete or create a virtual machine are denied.
- A controlled activation succeeds only after the required checks and expires at the configured limit.
- A read operation succeeds on the required group while management writes and unrelated subscription access are denied.
Explanation
Correct Answer
D:A read operation succeeds on the required group while management writes and unrelated subscription access are denied. Azure RBAC assignments combine a principal, role definition, and scope; the smallest adequate scope and actions reduce excessive permissions. Inspect the principal's effective role assignments, inheritance chain, scope and actual operational tasks.
Incorrect Answers
A:Adding an authorized member grants expected access and removing a member revokes access after token and membership propagation. This addresses group-managed RBAC access, not subscription RBAC scope.
B: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 subscription RBAC scope.
C:A controlled activation succeeds only after the required checks and expires at the configured limit. This addresses PIM eligible subscription role, not subscription RBAC scope.
Question 345
Newly deployed databases and servers are not protected even though an older subscription-level Defender configuration appears enabled. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which limitation matters when interpreting the observed improvement?
- A low remaining score or closed ticket does not mean a vulnerable package was actually removed.
- Connecting one code host does not automatically cover repositories located on a different provider.
- Premature closure can conceal an active incident; a high severity label alone does not establish attacker intent.
- A subscription-wide toggle does not ensure unsupported or excluded workloads are monitored.
Explanation
Correct Answer
D:A subscription-wide toggle does not ensure unsupported or excluded workloads are monitored. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Plan enablement and resource onboarding can diverge when protection settings or supported resource coverage change. Critical check: Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions. 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 low remaining score or closed ticket does not mean a vulnerable package was actually removed. This addresses vulnerability management remediation, not workload plan coverage gaps.
B:Connecting one code host does not automatically cover repositories located on a different provider. This is relevant to gitlab security integration, whereas the case describes workload plan coverage gaps. It does not address the stated mechanism: Plan enablement and resource onboarding can diverge when protection settings or supported resource coverage change. For this case: Audit Defender plan settings, resource coverage and automatic provisioning for the current resource types. Review: Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
C:Premature closure can conceal an active incident; a high severity label alone does not establish attacker intent. This is relevant to defender alert triage, whereas the case describes workload plan coverage gaps. It does not address the stated mechanism: Plan enablement and resource onboarding can diverge when protection settings or supported resource coverage change. For this case: Audit Defender plan settings, resource coverage and automatic provisioning for the current resource types. Review: Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 346
A Conditional Access MFA challenge fails for a privileged user who has not registered any supported authentication method. 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?
- Active PIM assignments grant immediate privilege while eligible assignments require activation under the configured controls.
- Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants.
- Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods.
- Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret.
Explanation
Correct Answer
C:Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods. Critical check: Inspect authentication method registration status, sign-in failure reason and methods allowed for the account. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
A:Active PIM assignments grant immediate privilege while eligible assignments require activation under the configured controls. This is relevant to rbac role assignment eligibility, whereas the case describes mfa authentication methods. It does not address the stated mechanism: Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods. For this case: Require registration of an approved MFA method and validate the authentication methods policy before enforcing the target sign-in flow. Review: Inspect authentication method registration status, sign-in failure reason and methods allowed for the account. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
B:Group-based role assignments centralize access lifecycle and reduce drift caused by many direct per-user grants. This is relevant to group-managed rbac access, whereas the case describes mfa authentication methods. It does not address the stated mechanism: Conditional Access can require MFA only when the user can complete an acceptable challenge under configured authentication methods. For this case: Require registration of an approved MFA method and validate the authentication methods policy before enforcing the target sign-in flow. Review: Inspect authentication method registration status, sign-in failure reason and methods allowed for the account. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:Azure manages a system-assigned identity's credential lifecycle, avoiding a manually stored service-principal secret. This addresses system-assigned managed identity, not mfa authentication methods.
Question 347
A third-party multi-tenant app gains broad consent from regular users even though the security team requires centralized approval. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result. Which post-change result gives the strongest evidence of success?
- 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 login completes only when the trusted application callback exactly matches an authorized registered URI.
- The user completes the approved MFA challenge during a controlled policy-protected sign-in.
Explanation
Correct Answer
A:A risky app request waits for approval while an administrator can authorize an appropriate minimal grant. The outcome tests the original protection requirement rather than merely confirming a saved setting. Technical rationale: Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. Critical check: Inspect tenant consent settings, risky permission requests, consent history and workflow approvers. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
Incorrect Answers
B:An assigned test user signs in while an unassigned control user is denied by Entra enforcement. This is relevant to enterprise application assignment, whereas the case describes oauth admin consent governance. It does not address the stated mechanism: Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. For this case: Restrict user consent and route privileged permission requests through an administrator consent workflow. Review: Inspect tenant consent settings, risky permission requests, consent history and workflow approvers. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
C:The login completes only when the trusted application callback exactly matches an authorized registered URI. This is relevant to app redirect uri integrity, whereas the case describes oauth admin consent governance. It does not address the stated mechanism: Consent governance prevents unmanaged OAuth permission grants and supports review before organization-wide scopes are approved. For this case: Restrict user consent and route privileged permission requests through an administrator consent workflow. Review: Inspect tenant consent settings, risky permission requests, consent history and workflow approvers. The same condition is reproduced in a separate staging tenant, where the reviewer needs an auditable before-and-after access result.
D:The user completes the approved MFA challenge during a controlled policy-protected sign-in. This addresses mfa authentication methods, not oauth admin consent governance.
Question 348
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. How should the engineer verify the intended security control is operating?
- Modification and deletion of protected test records are denied until the retention conditions allow them.
- The prior version becomes current and downstream readers observe the expected configuration bytes.
- The account encrypts with the authorized customer key and remains accessible through an approved rotation test.
- The authorized client decrypts values while unauthorized SQL access shows ciphertext for the protected columns.
Explanation
Correct Answer
A:Modification and deletion of protected test records are denied until the retention conditions allow them. 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
B:The prior version becomes current and downstream readers observe the expected configuration bytes. This addresses blob versioning rollback, not immutable blob time retention.
C:The account encrypts with the authorized customer key and remains accessible through an approved rotation test. This addresses customer-managed storage encryption key, not immutable blob time retention.
D:The authorized client decrypts values while unauthorized SQL access shows ciphertext for the protected columns. This addresses always encrypted client protection, not immutable blob time retention.
Question 349
Incident responders cannot tell which Azure machines have critical exposure because resource lists are spread across subscriptions. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Why does the correct response address this particular configuration?
- Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene.
- Consistent asset metadata helps responders route incidents and report resource accountability across subscriptions.
- Defender for Cloud inventory correlates protected resources and security context to support exposure investigation.
- Regulatory compliance dashboards map applicable assessments to supported standards and track current state.
Explanation
Correct Answer
C:Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. The selected mechanism explains the failure and supports the control needed for this scenario. Technical rationale: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. Critical check: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Secure Score aggregates supported posture recommendations; addressing applicable controls can improve measured security hygiene. This is relevant to defender for cloud secure score, whereas the case describes defender for cloud inventory. It does not address the stated mechanism: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. For this case: Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. Review: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:Consistent asset metadata helps responders route incidents and report resource accountability across subscriptions. This addresses resource inventory tag governance, not defender for cloud inventory.
D:Regulatory compliance dashboards map applicable assessments to supported standards and track current state. This is relevant to regulatory compliance dashboard, whereas the case describes defender for cloud inventory. It does not address the stated mechanism: Defender for Cloud inventory correlates protected resources and security context to support exposure investigation. For this case: Use Defender for Cloud inventory with appropriate filters and resource context to locate affected assets. Review: Inspect resource inventory scope, asset type, protection plan and recommendation filters. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 350
Analysts want new Sentinel incidents with a known threat category automatically assigned to the specialist queue, without writing a custom integration. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. Which caveat should be recorded before declaring the environment fully secure?
- An analytic rule cannot detect activity absent from its queried tables or outside the configured time window.
- Automated containment can disrupt legitimate users; require approvals and safe failure paths for high-impact actions.
- An automation rule without a playbook handles only its supported built-in actions, not arbitrary third-party workflows.
- Correlation is probabilistic or rule-driven; absence of a grouped incident does not prove no related attack exists.
Explanation
Correct Answer
C:An automation rule without a playbook handles only its supported built-in actions, not arbitrary third-party workflows. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Automation rules can perform built-in incident triage steps such as tagging, assignment and status changes. Critical check: Inspect rule trigger, condition predicates, execution order, incident activity and assignments. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:An analytic rule cannot detect activity absent from its queried tables or outside the configured time window. This is relevant to sentinel scheduled analytics, whereas the case describes sentinel automation rule triage. It does not address the stated mechanism: Automation rules can perform built-in incident triage steps such as tagging, assignment and status changes. For this case: Configure a Sentinel automation rule triggered on incident creation with appropriate conditions and assignment actions. Review: Inspect rule trigger, condition predicates, execution order, incident activity and assignments. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:Automated containment can disrupt legitimate users; require approvals and safe failure paths for high-impact actions. This is relevant to sentinel logic apps playbook, whereas the case describes sentinel automation rule triage. It does not address the stated mechanism: Automation rules can perform built-in incident triage steps such as tagging, assignment and status changes. For this case: Configure a Sentinel automation rule triggered on incident creation with appropriate conditions and assignment actions. Review: Inspect rule trigger, condition predicates, execution order, incident activity and assignments. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:Correlation is probabilistic or rule-driven; absence of a grouped incident does not prove no related attack exists. This addresses security alert correlation workflow, not sentinel automation rule triage.
Microsoft Azure Security Technologies (AZ-500) Practice Tests