Microsoft MS-600 - Building Applications and Solutions with Microsoft 365 Core Services Exam

Question #6 (Topic: Question Set 1)
HOTSPOT
You are developing an application that will run as an overnight background service on a server. The service will access web-hosted resources by using the
application's identity and the OAuth 2.0 client credentials grant flow.
You register the application and grant permissions. The tenant administrator grants admin consent to the application.
You need to get the access token from Azure Active Directory (Azure AD).
Which URI should you use for the POST request? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:
Question #7 (Topic: Question Set 1)
You develop a web API named WebApi1.
When validating a token received from a client application, WebApi1 receives a MsalUiRequiredException exception from Azure Active Directory (Azure AD).
You need to formulate the response that WebApi1 will return to the client application.
Which HTTP response should you send?
A. HTTP 307 Temporary Redirect B. HTTP 400 Bad Request C. HTTP 403 Forbidden D. HTTP 412 Precondition Failed
Answer: D
Question #8 (Topic: Question Set 1)
You have a backend service that will access the Microsoft Graph API. The backend service is hosted on-premises.
You need to configure the service to authenticate by using the most secure authentication method.
What should you configure the service to use?
A. a certificate B. a client secret C. a shared key D. a hash
Answer: A
Question #9 (Topic: Question Set 1)
You develop a web API named WebApi1.
When validating a token received from a client application, WebApi1 receives a MsalUiRequiredException exception from the Microsoft Identity Platform.
You need to ensure that the client application has the information required to complete the authentication.
Which header should you include in the HTTP response sent from WebApi1 to the client application?
A. Accept B. Authorization C. WWW-Authenticate D. Access-Control-Allow-Credentials
Answer: C
Question #10 (Topic: Question Set 1)
HOTSPOT
You are developing a single-page application (SPA) named App1 that will be used by the public.
Many users of App1 restrict pop-up windows from opening in their browser.
You need to authenticate the users by using the Microsoft identity platform. The solution must meet the following requirements:
✑ Ensure that App1 can read the profile of a user.
✑ Minimize user interaction during authentication.
✑ Prevent App1 from requiring admin consent for any permissions.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:
Download Exam
Page: 2 / 49
Total 245 questions