DP-300 Implement a secure environment Practice Question
Exhibit
{
"properties": {
"publicNetworkAccess": "Disabled",
"minimalTlsVersion": "1.2",
"azureAdOnlyAuthentication": true,
"administratorLogin": "admin123",
"administratorLoginPassword": "P@ssw0rd!"
}
}Refer to the exhibit. You are reviewing an Azure Resource Manager template for deploying an Azure SQL Database server. The template sets publicNetworkAccess to Disabled, minimalTlsVersion to 1.2, and azureAdOnlyAuthentication to true. However, the deployment fails with an error. What is the most likely cause?
⚠ Common exam trap
Many candidates assume the deployment fails due to a missing private endpoint or password issue, but the real conflict is the simultaneous presence of SQL admin credentials and Azure AD-only authentication, which the ARM template validation explicitly rejects.
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
✓
When azureAdOnlyAuthentication is true, the administratorLogin and administratorLoginPassword properties must not be specified
When azureAdOnlyAuthentication is set to true in an Azure SQL Database ARM template, the administratorLogin and administratorLoginPassword properties must be omitted because Azure AD authentication replaces SQL authentication as the sole identity provider. Including these properties causes a validation conflict, as the deployment expects no SQL admin credentials when Azure AD-only authentication is enabled.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
minimalTlsVersion 1.2 is not supported in Azure SQL Database
Why it's wrong here
TLS 1.2 is supported and recommended.
- ✗
publicNetworkAccess Disabled requires a private endpoint to be defined in the same template
Why it's wrong here
A private endpoint can be created separately, but it is not mandatory in the same template.
- ✓
When azureAdOnlyAuthentication is true, the administratorLogin and administratorLoginPassword properties must not be specified
Why this is correct
Azure AD-only authentication disables SQL authentication, so providing SQL admin credentials is invalid.
- ✗
The password does not meet complexity requirements
Why it's wrong here
The password 'P@ssw0rd!' meets typical complexity requirements.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Authentication
Azure SQL Authentication is the process of verifying a user's identity to access an Azure SQL database using either a username and password (SQL Authentication) or a Microsoft Entra ID (formerly Azure AD) identity.
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.