Question 928 of 975
Deploy and manage a Microsoft 365 tenanteasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the policy blocks access from trusted IP addresses. This occurs because the Conditional Access policy is configured with the “Block access” grant control applied to “All users” and “All cloud apps,” while the location condition is explicitly set to “Trusted IPs.” In Microsoft Entra ID, the location condition defines which network locations are evaluated, so when “Trusted IPs” is selected, only those IP addresses defined in your organization’s named locations are subject to the policy—meaning access from trusted IPs is denied, while untrusted IPs are unaffected. On the MS-102 exam, this scenario tests your understanding of how Conditional Access location conditions invert common expectations; a frequent trap is assuming trusted IPs are always allowed, but here the block action overrides that trust. Remember the memory tip: “Trusted IPs + Block = Trust is blocked, not granted.”

MS-102 Deploy and manage a Microsoft 365 tenant Practice Question

This MS-102 practice question tests your understanding of deploy and manage a microsoft 365 tenant. 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.

```json
{
  "properties": {
    "displayName": "Block access for external users from unknown IPs",
    "conditions": {
      "applications": {
        "includeApplications": ["All"]
      },
      "users": {
        "includeUsers": ["All"]
      },
      "locations": {
        "includeLocations": ["AllTrusted"]
      }
    },
    "grantControls": {
      "builtInControls": ["block"]
    }
  }
}
```

Refer to the exhibit. You have a Conditional Access policy configured as shown. What is the effect of this policy?

Question 1easymultiple choice
Full question →

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "displayName": "Block access for external users from unknown IPs",
    "conditions": {
      "applications": {
        "includeApplications": ["All"]
      },
      "users": {
        "includeUsers": ["All"]
      },
      "locations": {
        "includeLocations": ["AllTrusted"]
      }
    },
    "grantControls": {
      "builtInControls": ["block"]
    }
  }
}
```

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

It blocks access from trusted IP addresses.

The policy is configured to 'Block access' for 'All users' and 'All cloud apps' when the location condition is set to 'Trusted IPs'. This means that when a user attempts to access from an IP address defined as trusted in the organization's named locations, access is explicitly blocked. The effect is that trusted IP addresses are blocked, not untrusted ones.

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.

  • It requires multi-factor authentication for trusted IPs.

    Why it's wrong here

    The grant control is block, not MFA.

  • It blocks access from all locations.

    Why it's wrong here

    The policy only includes trusted IPs, not all locations.

  • It blocks access from untrusted IP addresses.

    Why it's wrong here

    The policy includes trusted IPs, not untrusted.

  • It blocks access from trusted IP addresses.

    Why this is correct

    The policy includes AllTrusted locations and applies a block control.

    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 mistakenly think 'Block access' combined with 'Trusted IPs' blocks untrusted IPs, when in fact the policy explicitly blocks the trusted IPs, leaving untrusted IPs unaffected by this policy.

Detailed technical explanation

How to think about this question

In Conditional Access, the location condition evaluates the client's IP address against named locations configured in Azure AD. Trusted IPs are typically defined as corporate ranges or MFA-trusted IPs. When a policy is set to 'Block access' with the location condition set to 'Trusted IPs', it creates a counterintuitive scenario where users on the corporate network are blocked, while external users are not affected by this policy. This is often used to enforce access controls that require users to be off-network, or as part of a broader strategy where other policies handle untrusted locations.

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

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

Related practice questions

Related MS-102 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 MS-102 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 MS-102 question test?

Deploy and manage a Microsoft 365 tenant — This question tests Deploy and manage a Microsoft 365 tenant — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: It blocks access from trusted IP addresses. — The policy is configured to 'Block access' for 'All users' and 'All cloud apps' when the location condition is set to 'Trusted IPs'. This means that when a user attempts to access from an IP address defined as trusted in the organization's named locations, access is explicitly blocked. The effect is that trusted IP addresses are blocked, not untrusted ones.

What should I do if I get this MS-102 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 MS-102 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 MS-102 exam.