AZ-500 practice question 26 of 35
You have an Azure subscription that uses Microsoft Defender for Cloud. The subscription contains an instance of Azure Database for PostgreSQL. You need to ensure that an email alert is triggered when a suspected brute force attack on the database is detected. The solution must minimize administrative effort. What should you configure?
Full set: 486 questionsDomain Implement platform protection
Microsoft Defender for open-source relational databases is a specific plan within Microsoft Defender for Cloud designed to provide advanced threat protection for services like Azure Database for PostgreSQL. When enabled, it automatically detects anomalous database activities, including potential brute force attacks, without requiring manual rule configuration. It generates security alerts that can be configured to send email notifications directly from the Defender for Cloud settings. This is the most direct solution that meets the requirement to alert on brute force attacks with minimal administrative effort.
A. An Azure Monitor alert rule would require you to manually write and maintain a complex Kusto Query Language (KQL) query to analyze logs for brute force patterns, which contradicts the "minimize administrative effort" requirement.
C. The Azure Monitor activity log records subscription-level management events (e.g., creating or deleting resources). It does not contain the granular data-plane authentication logs needed to detect a database brute force attack.
D. The PostgreSQL Audit extension (pgAudit) only generates detailed audit logs. It does not, by itself, analyze these logs for threats or trigger alerts. You would still need another service, like Azure Monitor, to process the logs and create an alert, adding administrative overhead.
1. Microsoft Learn, Microsoft Defender for Cloud documentation. "Overview of Microsoft Defender for open-source relational databases". This document states, "Microsoft Defender for open-source relational databases detects anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases." It covers Azure Database for PostgreSQL.
2. Microsoft Learn, Microsoft Defender for Cloud documentation. "Reference table for all security alerts in Microsoft Defender for Cloud". Under the "Alerts for open-source relational databases" section, the alert A potential brute force attack is explicitly listed for Azure Database for PostgreSQL, confirming this capability is built-in.
3. Microsoft Learn, Microsoft Defender for Cloud documentation. "Configure email notifications for security alerts". This guide details the straightforward process of setting up email notifications for alerts generated by Defender for Cloud, stating, "You can specify an email address... to receive notifications for alerts on their subscription." This fulfills the email alert requirement with minimal configuration.
4. Microsoft Learn, Azure Database for PostgreSQL documentation. "Audit logging in Azure Database for PostgreSQL - Flexible Server". This document explains that pgAudit is used for logging and that "To analyze your pgAudit logs, you can use Azure Monitor Logs." This confirms that pgAudit is only a data source and requires a separate service for analysis and alerting.
Keep practicing
Take the free AZ-500 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-500 practice questions
- Question 2Note: This question is part of a series of questions that present the same scenario. Each…
- Question 3Note: The question is included in a number of questions that depicts the identical set-up…
- Question 4You need to recommend which virtual machines to use to host App1. The solution must meet …
- Question 7Note: This question is part of a series of questions that present the same scenario. Each…
- Question 10You have an Azure Kubernetes Service (AKS) cluster that will connect to an Azure Containe…
- Question 12You need to ensure that users can access VM0. The solution must meet the platform protect…
