az-104 Practice Question 1691

Exam: az-104
Domain: Manage Azure identities and governance
Topic: Manage Microsoft Entra ID
Difficulty: medium
In a hybrid environment, Contoso Ltd wants to create a dynamic group that includes all users who have signed into the company's Azure AD tenant from a specific geographical location. Which of the following steps should they follow to achieve this using Microsoft Entra ID?

Answer Options

A
Create a static group and add users manually.
B
Use an activity-based rule to filter users by sign-in location.
C
Create a security group and set a custom attribute for users.
D
Set up a custom attribute to track user sign-in locations.

Correct Answer

B: Use an activity-based rule to filter users by sign-in location.

Explanation

The correct answer is B. To create a dynamic group that includes users who have signed into the company's Azure AD tenant from a specific geographical location, the IT team should use the activity-based rule in Microsoft Entra ID. This allows them to filter users based on their sign-in locations. Option A is incorrect because it does not provide a way to filter users based on sign-in locations. Option C is incorrect as it refers to a static group, which does not support filtering based on user activities. Option D is incorrect because it refers to a custom attribute, which cannot be used to filter users based on sign-in locations.