Microsoft AZ-104 Exam
Microsoft Azure Administrator (Page 20 )

Updated On: 12-Jan-2026

You have a Microsoft Entra tenant that contains the groups shown in the following table.


You purchase Microsoft Entra ID P2 licenses. To which groups can you assign a license?

  1. Group1 only
  2. Group1 and Group3 only
  3. Group3 and Group4 only
  4. Group1, Group2, and Group3 only
  5. Group1, Group2, Group3, and Group4

Answer(s): B

Explanation:

Licenses can be assigned to any security group in Microsoft Entra ID.


Reference:

https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/licensing-whatis-azure-portal



HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Entra tenant.
You need to create a Microsoft 365 group that contains only members of a marketing department in France.
How should you complete the dynamic membership rule? To answer, select the appropriate options in the answer area.
NOTE: Each correct answer is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: user.department
The following example illustrates a properly constructed membership rule with a single expression: user.department -eq "Sales"
Box 2: and
Both need to be true.
Note: Rules with multiple expressions
A group membership rule can consist of more than one single expression connected by the -and, -or, and -not logical operators. Logical operators can also be used in combination.
The following are examples of properly constructed membership rules with multiple expressions: (user.department -eq "Sales") -or (user.department -eq "Marketing")
(user.department -eq "Sales") -and -not (user.jobTitle -contains "SDE")
Box 3: -eq
Supported expression operators
The following table lists all the supported operators and their syntax for a single expression. Operators can be used with or without the hyphen (-) prefix. The Contains operator does partial string matches but not item in a collection matches.
* Equals Syntax: -eq
* Etc. Reference:
https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership



HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Entra tenant.
You need to modify the Default user role permissions settings for the tenant. The solution must meet the following requirements:
Standard users must be prevented from creating new service principals.
Standard users must only be able to use PowerShell or Microsoft Graph to manage their own Azure resources.
Which two settings should you modify? To answer, select the appropriate settings in the answer area.
NOTE: Each correct answer is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Users can register applications
Standard users must be prevented from creating new service principals.
In the Microsoft Entra admin center, you can restrict the ability of non-privileged users to create service principles by setting the "Users can register applications" option to "No" in the User settings blade. This will prevent non-privileged users from creating new applications or service principles in the Microsoft Entra tenant, while still allowing privileged users to perform these actions if necessary.
Note: Owned enterprise applications
Users can perform the following actions on owned enterprise applications. An enterprise application consists of a service principal, one or more application policies, and sometimes an application object in the same tenant as the service principal.
Box 2: Administration portal, Restrict access to Microsoft Entra administration portal
Standard users must only be able to use PowerShell or Microsoft Graph to manage their own Azure resources. From the exhibit we see: Administration portal, Restrict access to Microsoft Entra administration portal: No


Reference:

https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/users-default-permissions



HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription named Sub1 that contains the blob containers shown in the following table.


Sub1 contains two users named User1 and User2. Both users are assigned the Reader role at the Sub1 scope.
You have a condition named Condition1 as shown in the following exhibit.


You have a condition named Condition2 as shown in the following exhibit.


You assign roles to User1 and User2 as shown in the following table.


For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes
User1 has Reader role for the subscription.
User1 is a Storage Blob Data Reader in the scope of the subscription, with Condition1. Condition1 is true of the action is ../containers/blobs/read.
Box 2: Yes
Same logic as for Box 1.
Box 3: No
For User2 Condition2 applies.
Condition2 is true if action is write, or container name includes character 2. User2 cannot read blob1.



Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a Microsoft Entra tenant named contoso.com.
You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each user.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Instead use the New-AzureADMSInvitation cmdlet which is used to invite a new external user to your directory.
Correct Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet for each external user.


Reference:

https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadmsinvitation



Viewing page 20 of 110
Viewing questions 96 - 100 out of 553 questions



Post your Comments and Discuss Microsoft AZ-104 exam prep with other Community members:

Join the AZ-104 Discussion