nerdexam
Microsoft

AZ-104 · Question #396

You have an Azure Active Directory (Azure AD) tenant. All administrators must enter a verification code to access the Azure portal. You need to ensure that the administrators can access the Azure…

The correct answer is B. the multi-factor authentication service settings. To enforce that administrators use a verification code and can only access the Azure portal from the on-premises network, you should configure the multi-factor authentication service settings.

Submitted by jian89· Mar 4, 2026Manage identities and governance

Question

You have an Azure Active Directory (Azure AD) tenant. All administrators must enter a verification code to access the Azure portal. You need to ensure that the administrators can access the Azure portal only from your on- premises network. What should you configure?

Options

  • Aan Azure AD Identity Protection user risk policy.
  • Bthe multi-factor authentication service settings.
  • Cthe default for all the roles in Azure AD Privileged Identity Management
  • Dan Azure AD Identity Protection sign-in risk policy

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    76% (25)
  • C
    3% (1)
  • D
    12% (4)

Why each option

To enforce that administrators use a verification code and can only access the Azure portal from the on-premises network, you should configure the multi-factor authentication service settings.

Aan Azure AD Identity Protection user risk policy.

An Azure AD Identity Protection user risk policy focuses on detecting and remediating compromised user accounts, not on enforcing access from specific network locations.

Bthe multi-factor authentication service settings.Correct

The multi-factor authentication service settings (specifically the 'trusted IPs' feature in the legacy MFA portal, or using Conditional Access with location conditions) allow you to specify IP ranges from which MFA is not required. By marking your on-premises network as a 'trusted IP' and requiring MFA for all other locations, you can effectively ensure administrators can access the portal only from your on-premises network while still enforcing a verification code.

Cthe default for all the roles in Azure AD Privileged Identity Management

Configuring the default for roles in Azure AD Privileged Identity Management (PIM) primarily manages just-in-time access and approval workflows for privileged roles, not network location restrictions for access.

Dan Azure AD Identity Protection sign-in risk policy

An Azure AD Identity Protection sign-in risk policy assesses the risk of a sign-in attempt and can trigger MFA or block access, but it doesn't directly enforce access *only* from a specific on-premises network range.

Concept tested: Azure MFA trusted IPs and location-based access control

Source: https://learn.microsoft.com/azure/active-directory/authentication/howto-mfa-trusted-ips

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice