DP-300 Implement a secure environment Practice Question
Exhibit
Refer to the exhibit.
```json
{
"type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
"apiVersion": "2022-05-01-preview",
"properties": {
"state": "Enabled",
"emailAddresses": ["admin@contoso.com", "dba@contoso.com"],
"emailAccountAdmins": true,
"disabledAlerts": ["SqlInjection", "AccessAnomaly"],
"retentionDays": 0
}
}
```Refer to the exhibit. You are configuring an Azure SQL Database security alert policy. What is the most significant misconfiguration?
⚠ Common exam trap
The trap here is that candidates focus on operational concerns like notification methods or alert enablement, but the exam tests knowledge of Azure's specific API validation rules, where an invalid parameter value (retentionDays=0) is a hard failure that blocks the entire configuration.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The retentionDays is set to 0, which is not supported
The most significant misconfiguration is setting `retentionDays` to 0 because Azure SQL Database security alert policies require a retention period between 1 and 365 days. A value of 0 is invalid and will cause the policy to fail validation or be rejected, meaning the alert policy cannot be created or updated. This directly prevents the security alerts from being configured at all, making it a critical blocking issue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The retentionDays is set to 0, which is not supported
Why this is correct
Retention days must be between 1 and 90.
- ✗
Some alerts are disabled, which could leave the database vulnerable
Why it's wrong here
Disabling alerts is a valid choice based on risk assessment.
- ✗
Emailing account admins may not be sufficient for notification
Why it's wrong here
It's a valid notification method.
- ✗
Multiple email addresses are specified, which may cause duplicate notifications
Why it's wrong here
Multiple addresses are allowed and useful.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Performance Tuning
Azure SQL Performance Tuning is the process of optimizing the speed and efficiency of queries and database operations in Microsoft Azure SQL Database or SQL Managed Instance to reduce latency and improve throughput.
About these practice questions
Courseiva writes every DP-300 question from scratch — 906 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.