nerdexam
Microsoft

AZ-500 · Question #364

Hotspot Question You have an Azure subscription that contains the resources shown in the following table. The subscription is linked to an Azure Active Directory (Azure AD) tenant that contains the…

The correct answer is User1 is a member of Group1 and Group2. = Yes; User2 is a member of Group2 only. = No; Managed1 is a member of Group1 and Group2. = No. This question assesses understanding of Azure AD dynamic group membership rules. The dynamic membership rule for both Group1 and Group2 (which are 'Dynamic User' type) is defined as: (user.accountEnabled -eq true) or (user.usageLocation -eq "US"). Let's evaluate each statement…

Submitted by marco_it· Mar 6, 2026

Question

Hotspot Question You have an Azure subscription that contains the resources shown in the following table. The subscription is linked to an Azure Active Directory (Azure AD) tenant that contains the users shown in the following table. You create the groups shown in the following table. The membership rules for Group1 and Group2 are configured as shown in the following exhibit. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Answer:

Exhibits

AZ-500 question #364 exhibit 1
AZ-500 question #364 exhibit 2

Answer Area

  • User1 is a member of Group1 and Group2.Yes
  • User2 is a member of Group2 only.No
  • Managed1 is a member of Group1 and Group2.No

Explanation

This question assesses understanding of Azure AD dynamic group membership rules.

The dynamic membership rule for both Group1 and Group2 (which are 'Dynamic User' type) is defined as: (user.accountEnabled -eq true) or (user.usageLocation -eq "US").

Let's evaluate each statement:

  • User1 is a member of Group1 and Group2. => Yes

    • User1's usage location is "United States" (US).
    • Applying the rule, (user.usageLocation -eq "US") evaluates to true for User1. Since the condition uses an OR operator, User1 meets the membership criteria.
    • As both Group1 and Group2 are 'Dynamic User' groups governed by this rule, User1 will be a member of both. Therefore, the statement is true.
  • User2 is a member of Group2 only. => No

    • User2's usage location is "Germany".
    • Assuming User2's account is enabled (user.accountEnabled -eq true), the first part of the rule is true. The second part, (user.usageLocation -eq "US"), is false for User2.
    • However, because the condition uses an OR operator, and (user.accountEnabled -eq true) is true, User2 meets the overall membership criteria.
    • Since User2 meets the criteria and both Group1 and Group2 are 'Dynamic User' groups, User2 will be a member of both Group1 and Group2, not Group2 only. Therefore, the statement is false.
  • Managed1 is a member of Group1 and Group2. => No

    • Managed1 is a "Managed identity".
    • Group1 and Group2 are specified as 'Dynamic User' type groups.
    • Dynamic User groups are designed to contain user objects, and their membership rules (like user.accountEnabled and user.usageLocation) are based on user properties. Managed identities are service principals, not user objects.
    • Therefore, a Managed Identity cannot be a member of a 'Dynamic User' group. The statement is false.

Community Discussion

No community discussion yet for this question.

Full AZ-500 Practice