Question 552 of 846
Design and implement data storageeasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is that this Azure Policy denies storage accounts that allow public network access from all networks. This is because the policy applies a 'Deny' effect when the 'networkAcls.defaultAction' property is set to 'Allow', which means the storage account accepts traffic from any network, including the public internet. By blocking this configuration, the policy enforces network security by requiring that public access be explicitly restricted, a critical control for data protection. On the Microsoft Azure Data Engineer Associate DP-203 exam, this scenario tests your understanding of how Azure Policy effects like 'Deny' can enforce compliance on storage account networking settings, often appearing in questions about securing data at rest and in transit. A common trap is confusing 'Deny' with 'Audit'—remember that 'Deny' actively blocks non-compliant resources, while 'Audit' only logs them. Memory tip: think "Deny the Allow" to recall that the policy targets the 'defaultAction' of 'Allow' to shut down public access.

DP-203 Design and implement data storage Practice Question

This DP-203 practice question tests your understanding of design and implement data storage. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

{
  "policyRule": {
    "if": {
      "field": "type",
      "equals": "Microsoft.Storage/storageAccounts"
    },
    "then": {
      "effect": "deny",
      "details": {
        "field": "Microsoft.Storage/storageAccounts/networkAcls.defaultAction",
        "equals": "Allow"
      }
    }
  }
}

Refer to the exhibit. An Azure Policy is defined to enforce network security on storage accounts. What does this policy do?

Question 1easymultiple choice
Full question →

Exhibit

Refer to the exhibit.

{
  "policyRule": {
    "if": {
      "field": "type",
      "equals": "Microsoft.Storage/storageAccounts"
    },
    "then": {
      "effect": "deny",
      "details": {
        "field": "Microsoft.Storage/storageAccounts/networkAcls.defaultAction",
        "equals": "Allow"
      }
    }
  }
}

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

Denies storage accounts that allow public network access from all networks

The Azure Policy in the exhibit uses the 'Deny' effect with a condition that checks if the 'networkAcls.defaultAction' property is set to 'Allow'. When 'defaultAction' is 'Allow', the storage account permits traffic from all networks, including the internet. The policy denies such configurations to enforce network security by requiring that public network access be restricted.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Denies storage accounts that do not have any IP rules defined

    Why it's wrong here

    The policy checks defaultAction, not presence of IP rules.

  • Denies storage accounts that have firewall rules configured

    Why it's wrong here

    It denies when defaultAction is Allow, not when rules are configured.

  • Denies storage accounts that have public network access disabled

    Why it's wrong here

    It denies when public access is enabled.

  • Denies storage accounts that allow public network access from all networks

    Why this is correct

    defaultAction=Allow means public access from all networks.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse the 'defaultAction' property with the presence of IP rules or firewall settings, leading them to think the policy denies accounts with any firewall rules rather than those that allow all networks.

Detailed technical explanation

How to think about this question

The 'networkAcls.defaultAction' property is part of the Azure Storage firewall and virtual network rules configuration. When set to 'Allow', the storage account accepts traffic from any IP address unless explicitly blocked by IP rules or virtual network rules. This policy ensures that storage accounts require explicit network restrictions, aligning with the principle of least privilege. In practice, this prevents accidental exposure of storage data to the public internet.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related DP-203 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-203 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-203 question test?

Design and implement data storage — This question tests Design and implement data storage — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Denies storage accounts that allow public network access from all networks — The Azure Policy in the exhibit uses the 'Deny' effect with a condition that checks if the 'networkAcls.defaultAction' property is set to 'Allow'. When 'defaultAction' is 'Allow', the storage account permits traffic from all networks, including the internet. The policy denies such configurations to enforce network security by requiring that public network access be restricted.

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

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 24, 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-203 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-203 exam.