Exams > Microsoft > MS-600: Building Applications and Solutions with Microsoft 365 Core Services
MS-600: Building Applications and Solutions with Microsoft 365 Core Services
Page 6 out of 18 pages Questions 51-60 out of 178 questions
Question#51

Which tool can you use to generate a SharePoint Framework (SPFx) solution?

  • A. Eclipse
  • B. App Studio
  • C. Yacc
  • D. Yeoman
Discover Answer Hide Answer

Answer: D
Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. Using the Yeoman SharePoint generator, developers are able to scaffold new client-side solution projects to build, package, and deploy SharePoint solutions. The generator provides common build tools, boilerplate code, and a common playground website to host web parts for testing.
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/toolchain/scaffolding-projects-using-yeoman-sharepoint-generator

Question#52

You have a line-of-business API that is secured by using Azure Active Directory (Azure AD).
You deploy a solution to the app catalog. The solution requests permission to the API.
What should you do in the SharePoint admin center to ensure that the solution can access the API?

  • A. Create a SharePoint security group and add the solution
  • B. Create an access policy
  • C. Enable sandbox solutions
  • D. Approve a pending permission request
Discover Answer Hide Answer

Answer: D
Developers building a SharePoint Framework solution that requires access to specific resources secured with Azure AD list these resources along with the required permission scopes in the solution manifest. When deploying the solution package to the app catalog, SharePoint creates permission requests and prompts the administrator to manage the requested permissions. For each requested permission, tenant administrators can decide whether they want to grant or deny the specific permission.
All permissions are granted to the whole tenant and not to a specific application that has requested them. When the tenant administrator grants a specific permission, it is added to the SharePoint Online Client Extensibility Azure AD application, which is provisioned by Microsoft in every Azure AD and which is used by the SharePoint Framework in the OAuth flow to provide solutions with valid access tokens.

Question#53

You are designing a custom SharePoint Framework (SPFx) web part that will be deployed to modern Microsoft SharePoint sites.
You need to ensure that all the web part fields and controls adopt the theme of the site when you deploy the web part.
What should you use to develop the web part?

  • A. Material-UI
  • B. Office UI Fabric React
  • C. HTML 5.0 and CSS
  • D. Fluid Framework
Discover Answer Hide Answer

Answer: B
Office UI Fabric is Microsoft's official front end framework for building User Interface experiences for Office and Office 365. In simple terms it gives you the look and feel for your component. Moreover, they are open source, mobile responsive and reusable, no need to create from scratch just refer them in your code and start utilizing them.
Microsoft modern SharePoint out of the box webparts are made up these Office UI Fabric framework, so to maintain consistency look and feel as like Office it's better to use these components in our custom SPFx webparts.
Incorrect Answers:
D: At Build 2019 [November 2019], Microsoft announced Fluid Framework, a new technology and set of experiences that will make collaboration seamless by breaking down the barriers between apps. It offers three key capabilities. First, experiences powered by the Fluid Framework will support multi-person coauthoring on web and document content at industry-leading speed and scale. Second, it provides a componentized document model that allows authors to deconstruct content into collaborative building blocks, use them across applications, and combine them in a new, more flexible kind of document. Third, the Fluid Framework makes room for intelligent agents to work alongside humans to translate text, fetch content, suggest edits, perform compliance checks, and more.
Reference:
http://www.sharepointsamples.com/sharepoint-framework-webpart-with-office-ui-fabric-react-component/

Question#54

HOTSPOT -
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:

Discover Answer Hide Answer

Answer:
Box 1: Yes -
Using the isolated web parts capability, you can build web parts that securely communicate with APIs secured with Azure AD without exposing the access token to other components on the page or even scripts in the tenant.
When deploying these solutions to the app catalog, all API permission requests are specified as isolated.

Box 2: Yes -
Even though on runtime isolated web parts will be loaded inside an iframe pointing to a unique domain, you can communicate with SharePoint REST API, the same way as you would in non-isolated web parts.

Box 3: Yes -
If you're upgrading an existing SharePoint Framework project to v1.8.0 and want to use the isolated permissions capability, you can do it, by setting in the config/ package-solution.json file, the isDomainIsolated property to true. You should ensure, that your project contains only web parts.
After changing the project to use isolated permissions, you should redeploy your project. This will issue new API permission requests, isolated to your solution, which will need to be approved by the tenant admin.
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/isolated-web-parts

Question#55

You have a SharePoint Framework (SPFx) 1.5 solution.
You need to ensure that the solution can be used as a tab in Microsoft Teams.
What should you do first?

  • A. Convert the solution to use the Bot Framework
  • B. Deploy the solution to a developer site collection
  • C. Deploy the solution to the Microsoft AppSource store
  • D. Upgrade the solution to the latest version of SPFx
Discover Answer Hide Answer

Answer: D
Starting with the SharePoint Framework v1.8, you can implement your Microsoft Teams tabs using SharePoint Framework.
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab

Question#56

HOTSPOT -
You are evaluating the SharePoint Framework (SPFx) ListView Command Set extension.
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:

Discover Answer Hide Answer

Answer:
Box 1: Yes -
Extensions are client-side components that run inside the context of a SharePoint page.

Box 2: Yes -
ClientSideExtension.ListViewCommandSet.CommandBar: The top command set menu in a list or library.

Box 3: Yes -
ClientSideExtension.ListViewCommandSet.ContextMenu: The context menu of the item(s).
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api

Question#57

You have an API that is secured by using Microsoft identity platform.
You are designing a SharePoint Framework (SPFx) solution.
Which object should you use to connect to the API from the solution?

  • A. SPHttpClient
  • B. HttpClient
  • C. AadHttpClient
Discover Answer Hide Answer

Answer: C
By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient

Question#58

You are developing a SharePoint Framework (SPFx) web part. The web part will call a backend API that is secured by using Azure Active Directory (Azure AD).
The web part will be on a page that has many other web parts.
Which type of web part should you use to ensure that access to the API is exclusive to the web part?

  • A. isolated
  • B. SharePoint-hosted
  • C. provider-hosted
  • D. connected
Discover Answer Hide Answer

Answer: A
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/isolated-web-parts

Question#59

HOTSPOT -
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:

Discover Answer Hide Answer

Answer:
Reference:
https://yeoman.io/learning/
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part

Question#60

You create a SharePoint Framework (SPFx) web part and include MSGraphClient by using the following manifest.

Which two actions can the web part perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Create a file in the current user's Microsoft OneDrive.
  • B. Access the user information of the current user only.
  • C. Send an email on behalf of the current user.
  • D. Access the user information of all users.
  • E. Send an email on behalf of another user.
Discover Answer Hide Answer

Answer: BC
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part

chevron rightPrevious Nextchevron right