nerdexam
Microsoft

MS-600 · Question #203

You have a single-tenant single-page application (SPA). You need to authenticate by using the Microsoft Authentication Library (MSAL) for JavaScript v2.0. The solution must minimize user…

The correct answer is C. Call aquireTokenSilent and fall back to handleRedirectPromise. See the full explanation below for the reasoning.

Question

You have a single-tenant single-page application (SPA). You need to authenticate by using the Microsoft Authentication Library (MSAL) for JavaScript v2.0. The solution must minimize user interactions during the sign-in process. What should you do?

Options

  • ACall login and fall back to acquireTokenRedirect.
  • BCall acquireTokenRedirect and fall back to aquireTokenSilent.
  • CCall aquireTokenSilent and fall back to handleRedirectPromise.
  • DCall loginPopup and fall back to acquireTokenPopup.

How the community answered

(63 responses)
  • A
    6% (4)
  • B
    14% (9)
  • C
    76% (48)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full MS-600 Practice