DP-300 Implement a secure environment Practice Question
You are designing a secure Azure SQL Database environment for a financial services application. You need to meet the following requirements: - All network traffic to the database must be private and not traverse the public internet. - Only specific Azure resources in a virtual network should be able to connect. - The solution must minimize administrative overhead. Which TWO configurations should you implement? (Choose two.)
⚠ Common exam trap
Candidates often confuse service endpoints with private endpoints, assuming both provide the same level of private connectivity, but service endpoints still use the public endpoint of the database and do not prevent traffic from potentially being routed over the internet if the Microsoft backbone is not used end-to-end.
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
✓
Configure the server firewall to deny all public network access.
Configuring the server firewall to deny all public network access ensures that no traffic can reach the database over the public internet, which is required for private connectivity. Option E is correct because creating a private endpoint for Azure SQL Database in the virtual network assigns a private IP address from the VNet, allowing traffic to stay entirely within the Microsoft backbone network and never traverse the public internet. Together, these two configurations enforce private-only access and meet the requirement for specific Azure resources in the VNet to connect.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy Azure Bastion in the virtual network for secure connectivity.
Why it's wrong here
Azure Bastion provides secure RDP/SSH access to VMs, not database connectivity.
- ✗
Add a firewall rule to allow all Azure services to access the server.
Why it's wrong here
This bypasses the private endpoint requirement and allows access from any Azure service.
- ✗
Enable service endpoints for Azure SQL Database on the virtual network subnets.
Why it's wrong here
Service endpoints provide access via public IP but are less secure than private endpoints; they do not provide a private IP.
- ✓
Configure the server firewall to deny all public network access.
Why this is correct
Denying public access ensures that only connections through the private endpoint are allowed.
- ✓
Create a private endpoint for Azure SQL Database in the virtual network.
Why this is correct
Private endpoints provide a private IP and secure connectivity within the VNet.
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
This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.