Azure Security Engineer Domain 4: Secure Azure Using Microsoft Defender for Cloud and Microsoft Sentinel
68 free practice questions for Secure Azure Using Microsoft Defender for Cloud and Microsoft Sentinel in the Microsoft Azure Security Engineer Associate (AZ-500) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Secure Azure Using Microsoft Defender for Cloud and Microsoft Sentinel practice questions
-
Question 1. Which Microsoft Defender for Cloud plan provides attack path analysis and the cloud security explorer?
Show answer
Answer: D. Defender CSPM
Defender CSPM adds attack paths, agentless scanning, data-aware posture, and the security graph.
-
Question 2. What does the free Foundational CSPM tier of Defender for Cloud include?
Show answer
Answer: B. Secure score and recommendations from the Microsoft cloud security benchmark
Foundational CSPM gives posture recommendations and asset inventory at no cost.
-
Question 3. Which standard is assigned by default in Defender for Cloud to assess Azure resources?
Show answer
Answer: C. Microsoft cloud security benchmark
MCSB is the default initiative. Other regulatory standards can be added.
-
Question 4. A company wants Defender for Cloud to assess its AWS accounts and GCP projects too. What should be configured?
Show answer
Answer: C. AWS and GCP connectors in environment settings
Multicloud connectors onboard accounts and projects for posture assessment and threat protection.
-
Question 5. How is the secure score in Defender for Cloud increased most efficiently?
Show answer
Answer: A. Remediating all recommendations within high-impact security controls
Points for a control are earned only when all of its resources are healthy.
-
Question 6. A recommendation doesn't apply to a test subscription. How should it be handled without hiding it everywhere?
Show answer
Answer: B. Create an exemption for that subscription with a reason
Exemptions (waiver or mitigated) remove resources from a recommendation's scope and are audited.
-
Question 7. Defender for Cloud recommendations must be fixed automatically for new resources where possible. What helps?
Show answer
Answer: A. Enforce or Deny actions that assign the matching policy
Enforce uses DeployIfNotExists and Deny blocks non-compliant resources at creation.
-
Question 8. Security alerts and recommendations must be sent to Log Analytics and Event Hubs continuously. What should be configured?
Show answer
Answer: B. Continuous export in Defender for Cloud
Continuous export streams alerts, recommendations, and secure score changes to chosen destinations.
-
Question 9. When a high-severity alert fires in Defender for Cloud, a Logic App should post to Teams and open a ticket. What should be configured?
Show answer
Answer: C. Workflow automation triggered by the alert
Workflow automation runs Logic Apps on alerts, recommendations, or compliance changes.
-
Question 10. Which Defender for Cloud plan protects Azure Key Vault from unusual access patterns, such as access from a suspicious IP?
Show answer
Answer: A. Defender for Key Vault
It alerts on anomalous access to secrets, keys, and certificates.
-
Question 11. Which Defender plan alerts when an attacker uses management operations, such as suspicious role assignments through ARM?
Show answer
Answer: A. Defender for Resource Manager
It monitors Azure Resource Manager operations for suspicious activity from any client.
-
Question 12. Defender for Servers Plan 2 includes which endpoint capability through integration?
Show answer
Answer: D. Microsoft Defender for Endpoint (EDR)
Both plans integrate Defender for Endpoint. Plan 2 adds more features, such as FIM and agentless scanning.
-
Question 13. A security team must see which regulatory controls are passing for PCI DSS across subscriptions. Where should they look?
Show answer
Answer: A. The regulatory compliance dashboard in Defender for Cloud
The dashboard maps assessments to each standard's controls.
-
Question 14. Attack path analysis shows an internet-exposed VM with a vulnerability that has access to a key vault. What does this help with?
Show answer
Answer: B. Prioritizing the risk chain to fix first
Attack paths combine exposure, vulnerabilities, and permissions to highlight exploitable routes to critical assets.
-
Question 15. Which Defender for Cloud feature shows security posture for DevOps environments such as GitHub repositories and pipelines?
Show answer
Answer: B. DevOps security with GitHub or Azure DevOps connectors
DevOps security finds code, secret, dependency, and IaC issues and links them to cloud resources.
-
Question 16. Which statement about security alert suppression rules in Defender for Cloud is correct?
Show answer
Answer: B. They dismiss matching alerts automatically, such as known benign activity
Suppression rules reduce noise from known false positives, and they should be reviewed regularly.
-
Question 17. Microsoft Sentinel is being deployed. What is the first resource it requires?
Show answer
Answer: D. A Log Analytics workspace
Sentinel is enabled on top of a Log Analytics workspace, which stores its data.
-
Question 18. Sentinel must ingest Microsoft Entra sign-in and audit logs. How is this configured?
Show answer
Answer: A. Install the Entra ID solution from Content hub and enable its connector
Content hub solutions package connectors, analytics rules, workbooks, and playbooks.
-
Question 19. Security events from on-premises Linux firewalls in CEF format must reach Sentinel. What is used?
Show answer
Answer: C. A log forwarder with Azure Monitor Agent and CEF via AMA
A Linux forwarder receives Syslog/CEF and sends it to the workspace using a data collection rule.
-
Question 20. Which Sentinel analytics rule type runs a KQL query on a schedule and creates alerts when results match?
Show answer
Answer: D. Scheduled query rule
Scheduled rules define query frequency, lookback, thresholds, entity mapping, and incident grouping.
-
Question 21. Which Sentinel analytics rule creates incidents from alerts produced by other Microsoft security products, such as Defender for Cloud?
Show answer
Answer: D. Microsoft security (incident creation) rule
These rules turn alerts from connected Microsoft services into Sentinel incidents.
-
Question 22. An analytics rule must detect events within about a minute of ingestion. Which rule type fits?
Show answer
Answer: B. Near-real-time (NRT) rule
NRT rules run every minute on recent data, with some query limitations.
-
Question 23. Which Sentinel feature correlates low-fidelity alerts across products to detect multistage attacks?
Show answer
Answer: B. Fusion (multistage attack detection)
Fusion uses machine learning to link related alerts into high-confidence incidents.
-
Question 24. In an analytics rule, why should entity mapping be configured?
Show answer
Answer: C. To identify accounts, hosts, and IPs for investigation
Mapped entities appear in the investigation graph, entity pages, and UEBA.
-
Question 25. A list of VIP user accounts must be used in several analytics rules. What should be created?
Show answer
Answer: B. A watchlist referenced with _GetWatchlist()
Watchlists store reference data that KQL queries can join against.
-
Question 26. When a Sentinel incident is created for a compromised user, the user should be disabled automatically. What should be used?
Show answer
Answer: C. An automation rule that runs a playbook
Automation rules trigger on incident creation or update and can run playbooks and change incident properties.
-
Question 27. A Sentinel playbook needs permissions to disable users in Microsoft Entra ID. How should it authenticate?
Show answer
Answer: C. With a managed identity granted the required Graph permissions or role
Managed identities avoid stored credentials, and permissions should follow least privilege.
-
Question 28. Many low-severity incidents from a known scanner must be closed automatically. What is the simplest option?
Show answer
Answer: C. An automation rule with conditions that closes matching incidents
Automation rules can change status, severity, owner, and tags without a playbook.
-
Question 29. Analysts need to proactively search for signs of compromise that no analytics rule has flagged. Which Sentinel feature supports this?
Show answer
Answer: C. Hunting queries and hunts
Hunting uses KQL queries mapped to MITRE ATT&CK, and results can be bookmarked and promoted.
-
Question 30. During hunting, an analyst wants to save interesting query results as evidence for an incident. What should they use?
Show answer
Answer: C. Bookmarks
Bookmarks preserve results with notes and can be added to incidents.
-
Question 31. A long-running query must search two years of archived Sentinel data. Which capability fits?
Show answer
Answer: A. Search jobs on long-term retained data
Search jobs query large or archived data asynchronously and write results to a new table.
-
Question 32. Which Sentinel feature builds baselines of user and host behavior to find anomalies?
Show answer
Answer: C. User and Entity Behavior Analytics (UEBA)
UEBA uses machine learning to score anomalies and enrich entity pages.
-
Question 33. Threat indicators from a STIX/TAXII feed must be matched against Sentinel logs. What is required?
Show answer
Answer: C. A threat intelligence connector and matching analytics
TI connectors import indicators into ThreatIntelligence tables, and analytics rules match them to events.
-
Question 34. Which view shows how an incident's entities, alerts, and related events connect?
Show answer
Answer: A. The investigation graph
The investigation graph lets analysts explore relationships and related data for each entity.
-
Question 35. High-volume firewall logs must be kept for 1 year for occasional investigation at lower cost. What should be used?
Show answer
Answer: A. A lower-cost table plan (Basic or Auxiliary) or the Sentinel data lake tier
Lower-cost tiers cut ingestion and retention costs, with fewer query and alerting features.
-
Question 36. Which Sentinel feature visualizes data coverage against MITRE ATT&CK tactics and techniques?
Show answer
Answer: A. The MITRE ATT&CK page
It shows which techniques are covered by active rules and hunting queries.
-
Question 37. A security team must prove that Sentinel analytics detect a simulated attack. Which approach is best?
Show answer
Answer: C. Run a controlled attack simulation and confirm incidents
Testing detections validates connectors, rules, and automation end to end.
-
Question 38. Which role allows a user to manage Sentinel incidents but not create or edit analytics rules?
Show answer
Answer: D. Microsoft Sentinel Responder
Responder can manage incidents. Contributor can also create and edit content such as rules and workbooks.
-
Question 39. Which role is needed to create and run Sentinel playbooks attached to automation rules?
Show answer
Answer: A. Logic App Contributor, plus Sentinel Automation Contributor
Sentinel uses a service account with Automation Contributor rights on the playbooks' resource group.
-
Question 40. Sentinel costs are growing because of verbose data. How can unneeded columns be dropped before storage?
Show answer
Answer: B. Ingestion-time transformations in data collection rules
DCR transformations filter or modify data with KQL before it is stored and billed.
-
Question 41. Sentinel is increasingly used through a unified portal with Defender XDR. What does this unify?
Show answer
Answer: A. Incidents, hunting, and investigation across SIEM and XDR
The Microsoft Defender portal combines SIEM and XDR operations in one experience.
-
Question 42. An alert shows impossible travel for a user. Which Microsoft product most likely generated the underlying risk detection?
Show answer
Answer: B. Microsoft Entra ID Protection
ID Protection detects sign-in risks such as atypical travel and unfamiliar properties.
-
Question 43. Defender for Cloud must send email notifications for high-severity alerts to the security contact. Where is this set?
Show answer
Answer: A. Email notifications in environment settings
Defender for Cloud can email security contacts and owners based on alert severity.
-
Question 44. Which Defender for Cloud feature shows all resources with their Defender coverage and security findings?
Show answer
Answer: C. Inventory
Inventory lists resources, their recommendations, and which plans protect them.
-
Question 45. Defender for Servers should be applied only to production subscriptions. How is this done?
Show answer
Answer: B. Enable the plan per subscription in environment settings
Defender plans are enabled per subscription (and some per resource), allowing selective coverage.
-
Question 46. Container workloads in AKS need runtime threat detection, such as crypto-mining activity. Which plan provides this?
Show answer
Answer: A. Defender for Containers
Defender for Containers uses a sensor on nodes and audit logs for runtime protection.
-
Question 47. An adaptive network hardening or exposure recommendation suggests restricting an NSG rule open to the internet. What is its goal?
Show answer
Answer: C. Limit allowed sources to observed legitimate traffic
Hardening recommendations suggest tighter NSG rules based on analysis of real traffic.
-
Question 48. Azure Policy is used to enforce that all subscriptions have Defender for Servers enabled. Which effect deploys it where missing?
Show answer
Answer: A. DeployIfNotExists with a remediation task
DINE deploys the missing configuration, and remediation tasks fix existing subscriptions.
-
Question 49. Diagnostic logs for all key vaults must be sent to the Sentinel workspace automatically. What is the scalable approach?
Show answer
Answer: D. A built-in DeployIfNotExists policy for diagnostic settings
Built-in diagnostic policies deploy settings to new and existing resources.
-
Question 50. Which KQL operator returns only rows where a condition is true, for example failed sign-ins?
Show answer
Answer: D. where
where filters rows. project picks columns, summarize aggregates, and extend adds columns.
-
Question 51. An analyst wants to count failed sign-ins per user in the last day. Which KQL pattern fits?
Show answer
Answer: A. SigninLogs | where ResultType != 0 | summarize count() by UserPrincipalName
summarize count() by groups rows and counts them. A non-zero ResultType indicates a failure.
-
Question 52. Which table in Log Analytics stores Azure control-plane operations, such as a resource deletion?
Show answer
Answer: D. AzureActivity
AzureActivity holds the activity log. SigninLogs holds Entra sign-ins, and SecurityEvent holds Windows security events.
-
Question 53. Windows security events from VMs must reach Sentinel with a filter on event IDs. What should be used?
Show answer
Answer: C. Windows Security Events via AMA with a data collection rule
The DCR selects common, minimal, all, or custom XPath-filtered events.
-
Question 54. Which statement about Sentinel's relationship to Log Analytics workspaces in a multi-tenant MSSP scenario is correct?
Show answer
Answer: D. Azure Lighthouse lets the MSSP manage customer workspaces
Lighthouse delegation and cross-workspace queries support multi-tenant operations.
-
Question 55. A security engineer must investigate which processes ran on a server around the time of an alert. Which data source is most useful?
Show answer
Answer: B. The Defender for Endpoint device timeline
EDR telemetry records process, file, network, and registry activity on endpoints.
-
Question 56. Sentinel must create an incident when a sign-in comes from an IP in a threat intelligence list. Which built-in rule type fits?
Show answer
Answer: D. Threat intelligence matching analytics
TI matching analytics compare indicators with logs automatically and generate alerts.
-
Question 57. Sentinel content such as rules and playbooks must be managed in Git and deployed to several workspaces. What feature helps?
Show answer
Answer: A. Repositories (content as code) with GitHub or Azure DevOps
Repositories deploy custom content from source control through pipelines.
-
Question 58. An incident's severity must be raised automatically when the affected user is on the VIP watchlist. What should be used?
Show answer
Answer: D. An automation rule or playbook that checks the watchlist
Automation can enrich and triage incidents using watchlist data.
-
Question 59. Which Sentinel workbook purpose is correct?
Show answer
Answer: B. Interactive dashboards to visualize data and monitor trends
Workbooks show data visually. Playbooks automate responses, and connectors ingest data.
-
Question 60. Which Defender for Cloud feature helps detect sensitive data in storage and databases for posture prioritization?
Show answer
Answer: A. Sensitive data discovery in Defender CSPM
Data-aware posture flags resources containing sensitive information so risks are prioritized.
-
Question 61. The Defender for Cloud cloud security explorer is best used for what?
Show answer
Answer: B. Graph queries that find risky resources, like exposed vulnerable VMs
The explorer builds graph queries across resources, identities, and exposures.
-
Question 62. Which Azure Policy effect should be used first to measure impact before blocking non-compliant resources?
Show answer
Answer: A. Audit
Audit reports non-compliance without blocking, so impact can be reviewed before enforcement.
-
Question 63. A security baseline requires all subscriptions to meet a set of controls, and compliance must be tracked centrally. Where should the initiative be assigned?
Show answer
Answer: C. At a management group covering those subscriptions
Assignments at management groups apply to all child subscriptions, including new ones.
-
Question 64. Security alerts show a storage account being accessed from a Tor exit node. What should be done first?
Show answer
Answer: C. Investigate, then restrict access and rotate credentials if misuse is confirmed
Validate the alert, contain access, and rotate keys or SAS tokens that might be exposed.
-
Question 65. Which statement about Defender for Cloud and Microsoft Sentinel is correct?
Show answer
Answer: A. Defender for Cloud raises alerts; Sentinel correlates them as a SIEM
Defender for Cloud alerts flow into Sentinel through a data connector for broader correlation.
-
Question 66. An alert is triaged as a true positive. Which Sentinel incident classification should be used when closing it?
Show answer
Answer: C. True positive – suspicious activity
Classifications feed tuning and reporting, so accurate closure reasons matter.
-
Question 67. Why should analytics rules be tuned when they produce many benign positives?
Show answer
Answer: B. To reduce alert fatigue so real threats get attention
Tuning thresholds, exclusions, and grouping improves signal quality.
-
Question 68. Defender for Cloud shows a recommendation that MFA should be enabled on accounts with owner permissions. Which control does this belong to?
Show answer
Answer: B. Enable MFA / identity and access control
Identity controls are high-impact in the secure score because account takeover is a common attack path.
Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.