Free Microsoft MS-102 Exam Questions (page: 14)

View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft 365 subscription.
You plan to update the EmployeeType attribute for all the users in a group named Contractors. You retrieve the GroupId value of the Contractors group.
You need to use Microsoft Graph PowerShell to retrieve all the Contractors group users and set their
EmployeeType attribute to Part-time.
How should you complete the PowerShell script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Get-MgGroupMember Microsoft.Graph.Groups, Get-MgGroupMember
The members of this group, who can be users, devices, other groups, or service principals.
Syntax:
Get-MgGroupMember
-GroupId <String> Etc.
Incorrect:
Get-AzureADUser
The Get-AzureADUser cmdlet gets a user from the Microsoft Entra ID.
* Get-MgUser Microsoft.Graph.Users, Get-MgUser Module: Microsoft.Graph.Users
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a
$select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
Box 2: Update-MgUser Microsoft.Graph.Users
Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. Customers through Microsoft Entra ID for customers can also use this API operation to update their details.
Box 3: UserId Parameters include:
-UserId
The unique identifier of user
-EmployeeType
Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Returned only on
$select. Supports $filter (eq, ne, not , ge, le, in, startsWith).


Reference:

https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.groups/get-mggroupmembe



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft 365 E5 subscription that contains the users shown in the following table.


The subscription contains the groups shown in the following table.


Which users and groups can you delete? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: User1, User2, User3 and User4 Users
Note: User management admin: Delete one or more users from Microsoft 365
In the admin center, go to the Users > Active users page.
2. Select the names of the users that you want to delete, select the three dots (more actions), and then choose Delete user.
Although you deleted the user's account, you're still paying for the license. See the next procedure to stop paying for the license. Or, you can assign the license to another user. It won't be assigned to someone automatically.
Box 2: Group1 and Group 3 only
Groups
Group2 and Group4 have assigned licenses, and cannot be deleted. Note: Deleting a group with an assigned license
It isn't possible to delete a group with an active license assigned. An administrator could delete a group not realizing that it will cause licenses to be removed from users. For this reason we require any licenses to be removed from the group first, before it can be deleted.
When trying to delete a group in the portal, you may see an error notification like this:


Reference:

https://learn.microsoft.com/en-us/microsoft-365/admin/add-users/delete-a-user https://learn.microsoft.com/en-us/entra/identity/users/licensing-group-advanced



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft 365 E5 subscription.
You plan to use Microsoft Graph PowerShell to perform the following tasks:
● Change the Company name property for all users.
● Create new Microsoft 365 groups.
Which PowerShell cmdlet should you run? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Update-MgUser
Change the Company name property for all users.
Update-MgUser
Module: Microsoft.Graph.Users Update the properties of a user object.
Incorrect:
* Set-MgUser
There is no Set-MgUser cmdlet in Microsoft.Graph.
Box 2: New-MgGroup
Create new Microsoft 365 groups. New-MgGroup
Module: Microsoft.Graph.Groups
Create a new group as specified in the request body.


Reference:

https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.users/update-mguser https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.groups/new-mggroup



View Related Case Study

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have a Microsoft 365 E5 subscription.
You integrate Microsoft Defender for Endpoint with Microsoft Intune.
You need to ensure that devices automatically onboard to Defender for Endpoint when they are enrolled in Intune.
Solution: You create an endpoint detection and response (EDR) policy. Does this meet the goal?

  1. Yes
  2. No

Answer(s): A

Explanation:

Correct:
You create an endpoint detection and response (EDR) policy.
Incorrect:
* You configure a device configuration profile.
You enable co-management.
Note:
When you integrate Microsoft Defender for Endpoint with Intune, you can use endpoint security policies for endpoint detection and response (EDR) to manage the EDR settings and onboard devices to Microsoft Defender for Endpoint.
Intune's endpoint detection and response policies include platform-specific profiles to manage the onboarding installation of Microsoft Defender for Endpoint.


Reference:

https://learn.microsoft.com/en-us/mem/intune/protect/endpoint-security-edr-policy



View Related Case Study

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.
After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.
You have a Microsoft 365 E5 subscription.
You integrate Microsoft Defender for Endpoint with Microsoft Intune.
You need to ensure that devices automatically onboard to Defender for Endpoint when they are enrolled in Intune.
Solution: You enable co-management. Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Correct:
You create an endpoint detection and response (EDR) policy.
Incorrect:
* You configure a device configuration profile.
You enable co-management.
Note:
When you integrate Microsoft Defender for Endpoint with Intune, you can use endpoint security policies for endpoint detection and response (EDR) to manage the EDR settings and onboard devices to Microsoft Defender for Endpoint.
Intune's endpoint detection and response policies include platform-specific profiles to manage the onboarding installation of Microsoft Defender for Endpoint.


Reference:

https://learn.microsoft.com/en-us/mem/intune/protect/endpoint-security-edr-policy



Viewing page 14 of 85



Post your Comments and Discuss Microsoft MS-102 exam prep with other Community members:

MS-102 Exam Discussions & Posts