Question 536 of 953

Quick Answer

The answer is that no changes are needed because the configuration already meets the requirement. This is correct because the exhibit shows a private endpoint network ACL configuration with defaultAction set to Deny, combined with a virtual network rule that explicitly allows traffic from the specific subnet in VNet1, effectively blocking all other traffic while permitting only that subnet. On the Microsoft Azure Database Administrator Associate DP-300 exam, this scenario tests your understanding of how private endpoint ACLs prioritize virtual network rules over IP rules, and a common trap is assuming you need to add an IP rule or change the default action to Allow, which would inadvertently open access. Remember that when defaultAction is Deny, only explicitly defined rules—such as a virtual network rule for a subnet—grant access, making the existing setup sufficient. A helpful memory tip is “Deny default, allow only the subnet rule” to recall that no additional IP rules or toggles are required.

DP-300 Practice Question: Monitor, configure, and optimize database resources

This DP-300 practice question tests your understanding of monitor, configure, and optimize database resources. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "networkAcls": {
      "defaultAction": "Deny",
      "virtualNetworkRules": [
        {
          "id": "/subscriptions/.../virtualNetworks/vnet1/subnets/subnet1",
          "ignoreMissingVnetServiceEndpoint": false
        }
      ],
      "ipRules": []
    }
  }
}
```

You are configuring a private endpoint for an Azure SQL Database. The exhibit shows the current network ACLs. You need to ensure that only traffic from a specific subnet in VNet1 is allowed, and all other traffic is denied. What should you do?

Question 1hardmultiple choice
Study the full ACL explanation →

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "networkAcls": {
      "defaultAction": "Deny",
      "virtualNetworkRules": [
        {
          "id": "/subscriptions/.../virtualNetworks/vnet1/subnets/subnet1",
          "ignoreMissingVnetServiceEndpoint": false
        }
      ],
      "ipRules": []
    }
  }
}
```

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

No changes needed; the configuration already meets the requirement.

Option A is correct because the exhibit already has defaultAction: Deny and a virtual network rule for the subnet, which allows traffic from that subnet. Option B is wrong because adding an IP rule would allow traffic from the IP, which is not desired. Option C is wrong because setting ignoreMissingVnetServiceEndpoint to true would allow the rule even if the endpoint is missing, which could cause unintended access. Option D is wrong because changing defaultAction to Allow would allow all traffic.

Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Answer analysis

Option-by-option breakdown

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

  • No changes needed; the configuration already meets the requirement.

    Why this is correct

    Default deny with a VNet rule for the subnet allows only that subnet.

    Related concept

    CIDR notation defines the prefix length.

  • Add an IP rule to allow the subnet's IP range.

    Why it's wrong here

    Would allow that IP range, but the VNet rule already handles it; adding IP rule could allow other IPs.

  • Set ignoreMissingVnetServiceEndpoint to true.

    Why it's wrong here

    Could allow traffic if the endpoint is missing, which is not secure.

  • Change defaultAction to Allow.

    Why it's wrong here

    Would allow all traffic, contradicting the requirement.

Common exam traps

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Detailed technical explanation

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Key takeaway

Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related DP-300 subnetting questions on CIDR, address ranges, and subnet selection.

Related practice questions

Related DP-300 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DP-300 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DP-300 question test?

Monitor, configure, and optimize database resources — This question tests Monitor, configure, and optimize database resources — CIDR notation defines the prefix length..

What is the correct answer to this question?

The correct answer is: No changes needed; the configuration already meets the requirement. — Option A is correct because the exhibit already has defaultAction: Deny and a virtual network rule for the subnet, which allows traffic from that subnet. Option B is wrong because adding an IP rule would allow traffic from the IP, which is not desired. Option C is wrong because setting ignoreMissingVnetServiceEndpoint to true would allow the rule even if the endpoint is missing, which could cause unintended access. Option D is wrong because changing defaultAction to Allow would allow all traffic.

What should I do if I get this DP-300 question wrong?

Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related DP-300 subnetting questions on CIDR, address ranges, and subnet selection.

What is the key concept behind this question?

CIDR notation defines the prefix length.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.