- (Exam Topic 2)
This question requires that you evaluate the underlined text to determine if it is correct.
Microsoft Visual Studio Code contains samples that you can use to quickly prototype a Microsoft Office Web Add-in for Microsoft Word.
Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed." If the statement is incorrect, select the answer choice that makes the statement correct.
Correct Answer:D
- (Exam Topic 2)
You are developing an Azure function to provision a team in Microsoft Teams.
You need to create a group named Project A, add a classification of Private to the group, and then convert Project A to a team group.
How should you complete the REST requests? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
Box 1: post
You need to create a group named Project A.
The following example creates an Office 365 group. POST https://graph.microsoft.com/v1.0/groups Content-type: application/json
Content-length: 244
{
"description": "Self help community for library", "displayName": "Library Assist",
"groupTypes": [ "Unified"
],
"mailEnabled": true, "mailNickname": "library", "securityEnabled": false
}
Box 2: PATCH
Add a classification of Private to the group.
You can set the classification property in a PATCH request for the group, if do not set it in the initial POST request that creates the group.
Box 3: put
Then convert Project A to a team group. Syntax: PUT /groups/{id}/team
References: https://docs.microsoft.com/en-us/graph/api/group-post-groups https://docs.microsoft.com/en-us/graph/api/resources/group https://docs.microsoft.com/en-us/graph/api/team-put-teams
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
HOTSPOT
You are developing an interactive invoicing application that will be used by end users. The application will have the following features:
Save invoices generated by a user to the user’s Microsoft OneDrive.
Email daily automated reminders.
You need to identify which permissions to grant for the application features. The solution must use the principle of least privilege.
Which permission should you grant for each feature? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Microsoft identity platform supports two types of permissions: delegated permissions and application permissions.
Box 1: Delegated
Delegated permissions are used by apps that have a signed-in user present. For these apps, either the user or an administrator consents to the permissions that the app requests, and the app is delegated permission to act as the signed-in user when making calls to the target resource.
Box 2: Application
Application permissions are used by apps that run without a signed-in user present; for example, apps that run as background services or daemons. Application permissions can only be consented by an administrator.
Reference: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
You are building a new tab as part of a new Microsoft Teams application. Users will experience the tab privately.
How should you complete the application manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
You have an application that has the code shown in the exhibits. (Click the JavaScript Version tab or the C# Version tab.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
JavaScript Version
C# Version
Solution:
Box 1: No
Box 2: No
Box 3: Yes
A file is downloaded from OneDrive and saved locally.
Drive/Root is the drive resource is the top level object representing a user's OneDrive or a document library in SharePoint.
Reference: https://docs.microsoft.com/en-us/graph/api/resources/drive
Does this meet the goal?
Correct Answer:A
- (Exam Topic 2)
You have a backend service that will access the Microsoft Graph API.
You need to configure the service to authenticate by using the most secure authentication method. What should you configure the service to use?
Correct Answer:A
You can authenticate to the Graph API with two primary methods: AppId/Secret and certificate based authentication. Certificate is the preferred and more secure way of authenticating.
Reference: https://adamtheautomator.com/microsoft-graph-api-powershell/