exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 1 question 19 discussion

Actual exam question from Microsoft's MS-600
Question #: 19
Topic #: 1
[All MS-600 Questions]

HOTSPOT -
You are developing a single-page application (SPA) that authenticates users by using MSAL.js. The SPA must meet the following requirements:
✑ Only allow access to the users in an organization named contoso.onmicrosoft.com.
✑ Support single sign-on (SSO) across tabs and user sessions.
How should you complete the code for the SPA? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1:
authority: "Enter_the_Cloud_Instance_Id_Here/Enter_the_Tenant_Info_Here"

Box 2: sessionStorage -
cacheLocation: "sessionStorage", // This configures where your cache will be stored.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-javascript-spa

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
developersource
Highly Voted 1 year, 2 months ago
'local storage' in second box. Reference: ‎https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-js-sso#sso-between-browser-tabs-for-the-same-app
upvoted 20 times
Povnello
11 months, 4 weeks ago
I confirm, local storage is the correct one
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...