Salesforce Certified Platform Identity and Access Management Architect Practice Questions

Salesforce Certified Platform Identity and Access Management Architect exam preparation

Salesforce Certified Platform Identity and Access Management Architect practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Salesforce Certified Platform Identity and Access Management Architect free question 2 / 10 · Domain 1: Identity Management Concepts

A user opens a bookmarked link to a protected page in the service provider without being logged in anywhere. Which message starts the SAML login that follows?

  1. A signed SAML response that the identity provider sends to the service provider before the user has asked for anything
  2. An OAuth authorization code that the service provider exchanges for an assertion at the token endpoint
  3. A SAML request that the service provider sends to the identity provider to ask it to authenticate the user
  4. A session cookie that the identity provider writes to the service provider’s domain when it detects the bookmarked link
Show the answer and explanation

Answer: C

Why this is correct
In the service provider-initiated flow the user asks for a protected resource, and the service provider starts the login by sending a SAML request to the identity provider. The identity provider shows its login page, authenticates the user and then returns a signed SAML response carrying the assertion. The service provider validates the signature and logs the user in.

Why the other options are wrong
"A signed SAML response that the identity provider sends to the service provider before the user has asked for anything" … A response sent without a request is the shape of the identity provider-initiated flow, which starts when the user is already logged in to the identity provider.
"A session cookie that the identity provider writes to the service provider’s domain when it detects the bookmarked link" … The page describes the flow as a SAML request, a SAML response and an assertion.
"An OAuth authorization code that the service provider exchanges for an assertion at the token endpoint" … The page’s flow starts with a SAML request to the identity provider.

Key points
In a service-provider-initiated flow, the service provider begins the login process with a SAML request to the identity provider, asking it to authenticate the user.

Go to the Salesforce Certified Platform Identity and Access Management Architect practice app (10 free questions; purchase unlocks all questions)

See the full practice set