Question 240
A child Azure Firewall policy allows a port, but the flow is still denied by a parent policy rule. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which post-change result gives the strongest evidence of success?
- The corrected authorized policy allows only the required flow and audit logs show the intended match.
- Allowed partner requests reach the intended port while unauthorized sources remain blocked.
- Legacy handshake attempts fail while approved clients establish secure TLS sessions.
- Known malicious test requests are blocked while legitimate requests continue to the healthy backend.
Explanation
Correct Answer
A:The corrected authorized policy allows only the required flow and audit logs show the intended match. Parent and child firewall policy rule collections have an evaluation hierarchy; local exceptions cannot override all inherited decisions. Inspect policy association, parent and child rule collections, match logs and priorities.
Incorrect Answers
B:Allowed partner requests reach the intended port while unauthorized sources remain blocked. This addresses Azure firewall dnat rule, not Azure firewall policy hierarchy.
C:Legacy handshake attempts fail while approved clients establish secure TLS sessions. This addresses app service tls minimum version, not Azure firewall policy hierarchy.
D:Known malicious test requests are blocked while legitimate requests continue to the healthy backend. This addresses application gateway waf, not Azure firewall policy hierarchy.
Question 241
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. Why does the correct response address this particular configuration?
- DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected.
- Automation rules can perform built-in incident triage steps such as tagging, assignment and status changes.
- Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings.
- Different code-hosting platforms need their own supported integration to contribute posture signals to Defender for Cloud.
Explanation
Correct Answer
A:DevOps security integration can surface supported code and IaC findings to cloud posture teams when repositories are connected. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect connector permissions, repository inventory, scan coverage and finding categories.
Incorrect Answers
B:Automation rules can perform built-in incident triage steps such as tagging, assignment and status changes. This addresses sentinel automation rule triage, not defender for devops connector.
C:Vulnerability assessments identify potentially exploitable installed software; reducing exposure requires fixing or mitigating the specific findings. This addresses vulnerability management remediation, not defender for devops connector.
D:Different code-hosting platforms need their own supported integration to contribute posture signals to Defender for Cloud. This addresses gitlab security integration, not defender for devops connector.
Question 242
Every critical Defender for Cloud recommendation should create a tracked security ticket, but analysts currently copy alerts by hand. 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?
- Agentless scans do not replicate every runtime signal provided by an installed security agent.
- A configured connector does not guarantee every log category is ingested or that old events are backfilled.
- Workflow automation delivers actions after events; it does not directly remediate the underlying recommendation unless designed to do so.
- A DCR definition without agent or resource association will not collect telemetry by itself.
Explanation
Correct Answer
C:Workflow automation delivers actions after events; it does not directly remediate the underlying recommendation unless designed to do so. The stated boundary prevents overclaiming what this control actually protects. Technical rationale: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. Critical check: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Agentless scans do not replicate every runtime signal provided by an installed security agent. This addresses agentless vm scanning, not defender workflow automation.
B:A configured connector does not guarantee every log category is ingested or that old events are backfilled. This is relevant to sentinel data connector ingestion, whereas the case describes defender workflow automation. It does not address the stated mechanism: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. For this case: Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. Review: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
D:A DCR definition without agent or resource association will not collect telemetry by itself. This is relevant to azure monitor data collection rule, whereas the case describes defender workflow automation. It does not address the stated mechanism: Defender workflow automation can trigger external workflows in response to supported alerts and recommendation changes. For this case: Configure Defender for Cloud workflow automation using a Logic Apps workflow with suitable triggers and authorization. Review: Inspect automation scope, eligible triggers, Logic App connector permissions and run history. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 243
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. What outcome should be recorded as proof the implementation worked?
- A previously noncompliant test resource gains the required diagnostic setting and evaluates compliant.
- A test incident with matching attributes is routed to the correct specialist owner.
- A controlled matching dataset produces the expected alert without excessive benign matches.
- A supervised incident test invokes the playbook and completes only the intended containment and notification steps.
Explanation
Correct Answer
B:A test incident with matching attributes is routed to the correct specialist owner. The outcome tests the original protection requirement rather than merely confirming a saved setting. 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:A previously noncompliant test resource gains the required diagnostic setting and evaluates compliant. This addresses Azure policy modify remediation, not sentinel automation rule triage.
C:A controlled matching dataset produces the expected alert without excessive benign matches. 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.
D:A supervised incident test invokes the playbook and completes only the intended containment and notification steps. 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.
Question 244
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. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps.
- Inspect connected platform type, group or project membership, scanner status and result ingestion.
- Review alert evidence, involved identities, process or network activity and related incident signals.
- Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions.
Explanation
Correct Answer
D:Inspect per-resource plan status, onboarding errors, auto-provisioning and subscription exemptions. The observations discriminate this specific failure from a superficially similar configuration fault. 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:Inspect assigned framework, assessment mapping, inherited exemptions and evaluation timestamps. This addresses regulatory compliance dashboard, not workload plan coverage gaps.
B:Inspect connected platform type, group or project membership, scanner status and result ingestion. 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:Review alert evidence, involved identities, process or network activity and related incident signals. 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 245
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 post-change result gives the strongest evidence of success?
- A resource inventory query returns accountable owners for the targeted resources and missing-tag reports shrink.
- A supported validation event produces a security alert with resource identity and event context.
- Selected eligible VMs show new risk findings without adding an in-guest monitoring agent.
- The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment.
Explanation
Correct Answer
C:Selected eligible VMs show new risk findings without adding an in-guest monitoring agent. Agentless scanning can evaluate certain VM properties without installing a persistent in-guest agent. Inspect plan tier, agentless scanning settings, VM eligibility and assessment completion.
Incorrect Answers
A:A resource inventory query returns accountable owners for the targeted resources and missing-tag reports shrink. This addresses resource inventory tag governance, not agentless vm scanning.
B:A supported validation event produces a security alert with resource identity and event context. This addresses defender for sql protection, not agentless vm scanning.
D:The remediated software version is confirmed and the relevant vulnerability finding resolves after reassessment. This addresses vulnerability management remediation, not agentless vm scanning.
Question 246
A security program discovers unknown internet-facing domains and certificates but internal inventory cannot identify who owns them. 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?
- Regulatory compliance dashboards map applicable assessments to supported standards and track current state.
- Multicloud posture requires onboarding external cloud environments before their assets and recommendations can be evaluated.
- External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions.
- An exemption records why a specific recommendation is not immediately enforced while preserving a review trail.
Explanation
Correct Answer
C:External attack surface discovery identifies observed internet-facing assets that may be outside managed cloud subscriptions. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect discovered domains, host relationships, public certificates, confidence and asset attribution evidence.
Incorrect Answers
A:Regulatory compliance dashboards map applicable assessments to supported standards and track current state. This addresses regulatory compliance dashboard, not external attack surface management.
B:Multicloud posture requires onboarding external cloud environments before their assets and recommendations can be evaluated. This addresses gcp project connector, not external attack surface management.
D:An exemption records why a specific recommendation is not immediately enforced while preserving a review trail. This addresses recommendation exemption governance, not external attack surface management.
Question 247
A security baseline consists of several separate policies and administrators struggle to track compliance as one program. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards. What should the engineer examine first to distinguish the suspected failure from other causes?
- Inspect vault public network settings, private endpoint approval, DNS resolution and client source network.
- Inspect discovered domains, host relationships, public certificates, confidence and asset attribution evidence.
- Inspect assignment identity role grants, policy details, existing resources and remediation task reports.
- Inspect initiative membership, parameter mappings, exemptions and summary compliance reports.
Explanation
Correct Answer
D:Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. The observations discriminate this specific failure from a superficially similar configuration fault. Technical rationale: An initiative collects policy definitions so a related compliance baseline can be evaluated and assigned together. Critical check: Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Incorrect Answers
A:Inspect vault public network settings, private endpoint approval, DNS resolution and client source network. This is relevant to key vault private connectivity, whereas the case describes policy initiative grouping. It does not address the stated mechanism: An initiative collects policy definitions so a related compliance baseline can be evaluated and assigned together. For this case: Create an Azure Policy initiative grouping the required definitions with consistent parameters and assignment scope. Review: Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
B:Inspect discovered domains, host relationships, public certificates, confidence and asset attribution evidence. This addresses external attack surface management, not policy initiative grouping.
C:Inspect assignment identity role grants, policy details, existing resources and remediation task reports. This is relevant to azure policy modify remediation, whereas the case describes policy initiative grouping. It does not address the stated mechanism: An initiative collects policy definitions so a related compliance baseline can be evaluated and assigned together. For this case: Create an Azure Policy initiative grouping the required definitions with consistent parameters and assignment scope. Review: Inspect initiative membership, parameter mappings, exemptions and summary compliance reports. The security operations team is required to retain an auditable chain of evidence while preserving the existing response and governance safeguards.
Question 248
An on-premises gateway shows an Azure VPN tunnel down immediately after a replacement gateway changed its shared secret. An independent network test reproduces the same issue from a second authorized workload, allowing the team to compare effective routes and security policy. Which caveat should be recorded before declaring the environment fully secure?
- A live tunnel alone does not guarantee correct BGP routes, phase-two selectors, or downstream NSG access.
- Enabling a secured hub without correct routing policies does not guarantee that every traffic class is inspected.
- Overriding broad organizational restrictions may require security-owner approval rather than a local rule edit.
- VNet peering does not automatically provide transitive routing through a third peered network.
Explanation
Correct Answer
A:A live tunnel alone does not guarantee correct BGP routes, phase-two selectors, or downstream NSG access. The stated boundary prevents overclaiming what this control actually protects. A site-to-site VPN must complete compatible IKE negotiation and authentication before encrypted traffic can traverse. Inspect negotiation logs, shared-key configuration, peer addresses and chosen cryptographic proposals.
Incorrect Answers
B:Enabling a secured hub without correct routing policies does not guarantee that every traffic class is inspected. This addresses virtual wan secured hub, not site-to-site vpn negotiation.
C:Overriding broad organizational restrictions may require security-owner approval rather than a local rule edit. This addresses Azure firewall policy hierarchy, not site-to-site vpn negotiation.
D:VNet peering does not automatically provide transitive routing through a third peered network. This addresses VNet peering connectivity, not site-to-site vpn negotiation.
Question 249
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 important boundary of the recommended solution should the reviewer recognize?
- Deny assignments or data-plane role assignments can change effective access independently of a removed management role.
- Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy.
- Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM.
- Ordinary administrators cannot necessarily edit system-managed deny assignments created by Azure-managed services.
Explanation
Correct Answer
D:Ordinary administrators cannot necessarily edit system-managed deny assignments created by Azure-managed services. The stated boundary prevents overclaiming what this control actually protects. 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
A:Deny assignments or data-plane role assignments can change effective access independently of a removed management role. This addresses role assignment inheritance, not Azure RBAC deny assignments.
B:Excluding emergency-access accounts requires explicit compensating monitoring, and report-only mode does not enforce the policy. This addresses multifactor conditional access, not Azure RBAC deny assignments.
C:Deleting the VM deletes its system-assigned identity, so this identity is unsuitable for a lifecycle independent of the VM. This addresses system-assigned managed identity, not Azure RBAC deny assignments.
Question 250
Security operators need direct management connectivity to a VM only during a short approved repair window, not permanently. A controlled workload recovery exercise requires validation of both the data protection boundary and normal service availability after the change. Why does the correct response address this particular configuration?
- JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source.
- Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM.
- Encryption at host extends protection to specific host-side disk data paths that default managed disk encryption may not cover.
- A private AKS API endpoint confines control-plane access to approved private networks rather than public reachability.
Explanation
Correct Answer
A:JIT reduces the time management ports are exposed by changing eligible access rules for an approved duration and source. The selected mechanism explains the failure and supports the control needed for this scenario. Inspect JIT policy, requester authorization, allowed management ports, source IP and request history.
Incorrect Answers
B:Bastion provides browser or native-client administrative access through a managed service without public management ports on each VM. This addresses Azure bastion private administration, not just-in-time vm access.
C: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 just-in-time vm access.
D:A private AKS API endpoint confines control-plane access to approved private networks rather than public reachability. This addresses AKS private cluster api, not just-in-time vm access.
Microsoft Azure Security Technologies (AZ-500) Practice Tests