Question 7 of 982
Describe core data conceptshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the alias 'Microsoft.Compute/virtualMachines/sku.name' is incorrect, and the proper alias is 'Microsoft.Compute/virtualMachines/sku'. This is because Azure Policy aliases must map exactly to the Azure Resource Manager property path; the SKU property for a virtual machine is simply 'sku', not 'sku.name', so a policy using the wrong alias never evaluates the intended field, causing the deny effect to never trigger and allowing unapproved VM SKUs to be created. On the Microsoft Azure Data Fundamentals DP-900 exam, this scenario tests your understanding of how Azure Policy evaluates resource properties—a common trap is assuming a sub-property like 'name' exists when the alias only points to the parent object. To remember, think of the alias as a direct path: you don’t add extra segments that aren’t in the ARM schema. A quick memory tip: "SKU is the whole box, not a label on it"—keep aliases flat and exact.

DP-900 Describe core data concepts Practice Question

This DP-900 practice question tests your understanding of describe core data concepts. 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

{
  "properties": {
    "description": "This policy ensures that only approved SKUs are used.",
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Compute/virtualMachines"
          },
          {
            "field": "Microsoft.Compute/virtualMachines/sku.name",
            "notIn": ["Standard_D2s_v3", "Standard_D4s_v3"]
          }
        ]
      },
      "then": {
        "effect": "deny"
      }
    }
  }
}

Refer to the exhibit. You create an Azure Policy to deny virtual machines that are not using approved SKUs. After assigning the policy to a subscription, a user tries to create a VM with SKU 'Standard_DS2_v2' and the creation is allowed. What is the most likely reason?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1hardmultiple choice
Full question →

Exhibit

{
  "properties": {
    "description": "This policy ensures that only approved SKUs are used.",
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Compute/virtualMachines"
          },
          {
            "field": "Microsoft.Compute/virtualMachines/sku.name",
            "notIn": ["Standard_D2s_v3", "Standard_D4s_v3"]
          }
        ]
      },
      "then": {
        "effect": "deny"
      }
    }
  }
}

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

The alias 'Microsoft.Compute/virtualMachines/sku.name' is incorrect; the correct alias is 'Microsoft.Compute/virtualMachines/sku'.

Option C is correct because the alias 'Microsoft.Compute/virtualMachines/sku.name' is invalid; the correct alias for the SKU property of a virtual machine is 'Microsoft.Compute/virtualMachines/sku'. Azure Policy aliases must exactly match the ARM resource property path. Using an incorrect alias means the policy rule never evaluates the intended property, so the deny effect never triggers, allowing any SKU to be created.

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.

  • The policy is not assigned to the resource group where the VM is created.

    Why it's wrong here

    Assignment at subscription covers all resource groups.

  • The field type 'Microsoft.Compute/virtualMachines' is incorrect.

    Why it's wrong here

    It is correct.

  • The alias 'Microsoft.Compute/virtualMachines/sku.name' is incorrect; the correct alias is 'Microsoft.Compute/virtualMachines/sku'.

    Why this is correct

    The correct alias for VM SKU is 'Microsoft.Compute/virtualMachines/sku.name', but it is case-sensitive and must match the exact property path; however, the exhibit uses 'sku.name' which is correct. Actually the issue is that the property is 'hardwareProfile.vmSize', not 'sku.name'. So the alias is wrong.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The policy rule does not specify a deny effect.

    Why it's wrong here

    The effect is set to 'deny'.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume the alias must include the property's child field (like 'name') because they think of the SKU as an object with sub-properties, but Azure Policy aliases for simple string values do not include child fields.

Detailed technical explanation

How to think about this question

Azure Policy aliases map to Azure Resource Manager (ARM) property paths, and each property must be referenced with its exact alias. For virtual machine SKUs, the ARM property is 'properties.hardwareProfile.vmSize', but the alias is simplified to 'Microsoft.Compute/virtualMachines/sku'. Using a sub-property like 'sku.name' is invalid because the SKU value is a single string (e.g., 'Standard_DS2_v2'), not an object with a 'name' field. In real-world scenarios, misconfigured aliases are a common cause of policy non-enforcement, leading to security gaps where unapproved SKUs are provisioned.

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

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

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-900 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-900 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-900 question test?

Describe core data concepts — This question tests Describe core data concepts — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The alias 'Microsoft.Compute/virtualMachines/sku.name' is incorrect; the correct alias is 'Microsoft.Compute/virtualMachines/sku'. — Option C is correct because the alias 'Microsoft.Compute/virtualMachines/sku.name' is invalid; the correct alias for the SKU property of a virtual machine is 'Microsoft.Compute/virtualMachines/sku'. Azure Policy aliases must exactly match the ARM resource property path. Using an incorrect alias means the policy rule never evaluates the intended property, so the deny effect never triggers, allowing any SKU to be created.

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

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

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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-900 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-900 exam.