Question 643 of 969

SC-100 Policy effect Practice Question

This SC-100 practice question tests your understanding of design security operations, identity, and compliance capabilities. 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. A key principle to apply: policy effect. 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": {
    "displayName": "GDPR Compliance Policy",
    "description": "Ensure resources meet GDPR requirements",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "parameters": {},
    "policyRule": {
      "if": {
        "field": "type",
        "equals": "Microsoft.Storage/storageAccounts"
      },
      "then": {
        "effect": "auditIfNotExists",
        "details": {
          "type": "Microsoft.Storage/storageAccounts/...",
          "existenceCondition": {
            "field": "Microsoft.Storage/storageAccounts/encryption",
            "exists": "true"
          }
        }
      }
    }
  }
}

Refer to the exhibit. You are reviewing an Azure Policy definition for GDPR compliance. The policy is intended to audit storage accounts that do not have encryption enabled. However, the policy is not evaluating correctly. 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.

Exhibit

{
  "properties": {
    "displayName": "GDPR Compliance Policy",
    "description": "Ensure resources meet GDPR requirements",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "parameters": {},
    "policyRule": {
      "if": {
        "field": "type",
        "equals": "Microsoft.Storage/storageAccounts"
      },
      "then": {
        "effect": "auditIfNotExists",
        "details": {
          "type": "Microsoft.Storage/storageAccounts/...",
          "existenceCondition": {
            "field": "Microsoft.Storage/storageAccounts/encryption",
            "exists": "true"
          }
        }
      }
    }
  }
}

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 effect should be 'Audit' instead of 'auditIfNotExists'

The policy uses the 'auditIfNotExists' effect, which is designed to audit when a dependent resource (e.g., a diagnostic setting) does not exist. However, storage account encryption is a property of the storage account itself, not a separate resource. Therefore, the correct effect should be 'Audit' with a condition that checks if encryption is disabled (e.g., properties.encryption.services.blob.enabled != true). Option C is correct because changing the effect to 'Audit' will properly evaluate the encryption status. Options A, B, and D are incorrect: The field 'type' is correct for the resource type, policy type can be built-in or custom, and the mode 'Indexed' is appropriate for storage accounts.

Key principle: Policy effect

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 field 'type' should be 'Microsoft.Storage/storageAccounts/encryption'

    Why it's wrong here

    The policy targets storage accounts, not the encryption sub-resource. The condition should check the encryption property, not the type.

  • The policy type should be 'Custom'

    Why it's wrong here

    The policy type does not affect evaluation logic; built-in or custom is irrelevant to the issue.

  • The effect should be 'Audit' instead of 'auditIfNotExists'

    Why this is correct

    Storage account encryption is a property of the account itself, not a separate resource. 'auditIfNotExists' is used for child resources; 'Audit' with a condition on the encryption field would be correct.

    Clue confirmation

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

    Related concept

    Policy effect

  • The policy mode should be 'All' instead of 'Indexed'

    Why it's wrong here

    Indexed mode is correct for resource types that support tags and location; storage accounts support it.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap is that 'auditIfNotExists' is often confused with 'Audit'. Remember: 'auditIfNotExists' checks for a separate resource, while 'Audit' checks a property. Encryption is a property, so use 'Audit'.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Policy effect
  • Storage account encryption

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

Policy effect

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.

Review policy effect, then practise related SC-100 questions on the same topic to reinforce the concept.

Related practice questions

Related SC-100 practice-question pages

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

Design solutions that align with security best practices and priorities practice questions

Practise SC-100 questions linked to Design solutions that align with security best practices and priorities.

Design security operations, identity, and compliance capabilities practice questions

Practise SC-100 questions linked to Design security operations, identity, and compliance capabilities.

Design security solutions for infrastructure practice questions

Practise SC-100 questions linked to Design security solutions for infrastructure.

Design a Zero Trust strategy and architecture practice questions

Practise SC-100 questions linked to Design a Zero Trust strategy and architecture.

Design security solutions for applications and data practice questions

Practise SC-100 questions linked to Design security solutions for applications and data.

Evaluate GRC and security operations strategies practice questions

Practise SC-100 questions linked to Evaluate GRC and security operations strategies.

Design security for infrastructure practice questions

Practise SC-100 questions linked to Design security for infrastructure.

Design a strategy for data and applications practice questions

Practise SC-100 questions linked to Design a strategy for data and applications.

Recommend security best practices and priorities practice questions

Practise SC-100 questions linked to Recommend security best practices and priorities.

SC-100 fundamentals practice questions

Practise SC-100 questions linked to SC-100 fundamentals.

SC-100 scenario practice questions

Practise SC-100 questions linked to SC-100 scenario.

SC-100 troubleshooting practice questions

Practise SC-100 questions linked to SC-100 troubleshooting.

Practice this exam

Start a free SC-100 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 SC-100 question test?

Design security operations, identity, and compliance capabilities — This question tests Design security operations, identity, and compliance capabilities — Policy effect.

What is the correct answer to this question?

The correct answer is: The effect should be 'Audit' instead of 'auditIfNotExists' — The policy uses the 'auditIfNotExists' effect, which is designed to audit when a dependent resource (e.g., a diagnostic setting) does not exist. However, storage account encryption is a property of the storage account itself, not a separate resource. Therefore, the correct effect should be 'Audit' with a condition that checks if encryption is disabled (e.g., properties.encryption.services.blob.enabled != true). Option C is correct because changing the effect to 'Audit' will properly evaluate the encryption status. Options A, B, and D are incorrect: The field 'type' is correct for the resource type, policy type can be built-in or custom, and the mode 'Indexed' is appropriate for storage accounts.

What should I do if I get this SC-100 question wrong?

Review policy effect, then practise related SC-100 questions on the same topic to reinforce the concept.

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?

Policy effect

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

Keep practising

More SC-100 practice questions

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 SC-100 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 SC-100 exam.