DP-300 Implement a secure environment Practice Question
You are designing a secure environment for Azure SQL Managed Instance. You need to ensure that all connections from client applications use a private endpoint, and no public endpoint is accessible. What should you configure?
⚠ Common exam trap
Many candidates confuse Azure SQL Database's firewall rules and service endpoints with Azure SQL Managed Instance's networking model, where only private endpoints can fully disable public access, and service endpoints are not a valid option for Managed Instance.
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
✓
Set the public endpoint to 'Disabled' and configure a private endpoint in the same virtual network with a private DNS zone.
Azure SQL Managed Instance requires the public endpoint to be explicitly disabled to ensure no public traffic can reach it. By configuring a private endpoint within the same virtual network and linking it to a private DNS zone, client applications resolve the managed instance's fully qualified domain name (FQDN) to the private IP address, enforcing all connections through the private endpoint and eliminating public endpoint accessibility.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set the public endpoint to 'Enabled' and create a firewall rule with a deny-all rule.
Why it's wrong here
The public endpoint is still accessible.
- ✗
Enable the public endpoint and use a VNet service tag in a firewall rule.
Why it's wrong here
A service tag still allows public endpoint traffic.
- ✓
Set the public endpoint to 'Disabled' and configure a private endpoint in the same virtual network with a private DNS zone.
Why this is correct
This completely removes public access and forces private connections.
- ✗
Use a VNet service endpoint for Azure SQL Managed Instance and configure a network security group.
Why it's wrong here
Service endpoints are for Azure SQL Database, not Managed Instance.
Visual reference
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Managed Instance
Azure SQL Managed Instance is a fully managed cloud database service that gives you nearly all the features of Microsoft SQL Server on your own server, without you having to manage the hardware or operating system.
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.