Courseiva

DP-300 Plan and implement data platform resources Practice Question

You are deploying an Azure SQL Managed Instance to host several databases migrated from an on-premises SQL Server. The instance must be placed in a dedicated subnet within an Azure virtual network to allow communication with other Azure resources and on-premises systems over a site-to-site VPN. You need to configure the network environment. What should you do?

⚠ Common exam trap

A common mix-up: candidates confuse SQL Managed Instance networking with Azure SQL Database, where service endpoints or private endpoints are used; SQL Managed Instance requires a delegated subnet.

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

✓

Create a subnet delegated to Microsoft.Sql/managedInstances and associate a network security group (NSG) that allows traffic on the required ports.

Azure SQL Managed Instance must be deployed into a dedicated subnet delegated to Microsoft.Sql/managedInstances. The subnet requires a network security group to control traffic and may require a route table with specific routes. This setup enables secure communication with other Azure resources and on-premises networks over VPN or ExpressRoute, fulfilling the networking requirements.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Create a subnet and deploy a private endpoint for the SQL Managed Instance, then configure private DNS zones for name resolution.

    Why it's wrong here

    Private endpoints are used to connect to Azure PaaS services like Azure SQL Database, but SQL Managed Instance is a native virtual network deployment and does not use private endpoints for its own connectivity. The instance itself resides in the subnet, so a private endpoint is not applicable.

  • ✗

    Create a subnet and assign a public IP address to the SQL Managed Instance, then configure firewall rules to restrict access.

    Why it's wrong here

    SQL Managed Instance does not support public IP addresses for direct connectivity. It is deployed with a private IP address within the virtual network subnet. While a public endpoint can be enabled separately, the instance itself does not use a public IP for its primary connectivity, and firewall rules alone do not satisfy the network isolation requirement.

  • ✗

    Create a subnet and configure a service endpoint for Microsoft.Sql, then attach a route table with a default route to the internet.

    Why it's wrong here

    Service endpoints are used for Azure SQL Database and Azure Storage, not for SQL Managed Instance. SQL Managed Instance requires a delegated subnet, not a service endpoint. Additionally, a default route to the internet would bypass the virtual network's security controls and is not a supported configuration for SQL Managed Instance.

  • ✓

    Create a subnet delegated to Microsoft.Sql/managedInstances and associate a network security group (NSG) that allows traffic on the required ports.

    Why this is correct

    Azure SQL Managed Instance requires a dedicated subnet delegated to Microsoft.Sql/managedInstances. The delegation allows Azure to inject instance resources into the subnet. An NSG is required to control traffic, and specific ports must be open for management and connectivity. This configuration enables communication with other Azure resources and on-premises systems via VPN.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

This DP-300 question is part of Courseiva's 574-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

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.