Salesforce Platform IAM Architect Practice Questions with Explanations
Free Salesforce Platform IAM Architect practice questions. 15 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.
Platform Identity and Access Management Architect practice questions
Question 1
A financial enterprise is planning to set up a user authentication mechanism to login to the Salesforce system. Due to regulatory requirements, the CIO of the company wants user administration, including passwords and authentication requests, to be managed by an external system that is only accessible via a SOAP webservice.Which authentication mechanism should an identity architect recommend to meet the requirements?
- A. OAuth Web-Server Flow
- B. Just-in-Time Provisioning
- C. Security Assertion Markup Language (SAML) Single Sign On
- D. Delegated Authentication
Show answer and explanation ▾
Correct answer: D
Delegated authentication lets Salesforce pass the username and password to an external system, here through a SOAP web service, so that system manages the passwords.
Why the other options are wrong:
- A. The OAuth web server flow authorizes apps and does not move password handling to a SOAP service.
- B. Just-in-Time provisioning creates users at login and does not manage passwords.
- C. SAML lets an identity provider assert the user, but it is not a SOAP password check.
Question 2
A technology enterprise is setting up an identity solution with an external vendors wellness application for its employees. The user attributes need to be returned to the wellness application in an ID token.Which authentication mechanism should an identity architect recommend to meet the requirements?
- A. OpenID Connect
- B. JWT Bearer Token Flow
- C. Web Server Flow
- D. User Agent Flow
Show answer and explanation ▾
Correct answer: A
OpenID Connect returns user attributes in an ID token.
Why the other options are wrong:
- B. The JWT bearer token flow is for server to server access and does not issue an ID token with user attributes.
- C. The web server flow is an OAuth flow, not the ID token mechanism.
- D. The user agent flow is an OAuth flow, not the ID token mechanism.
Question 3
Universal Containers is designing an identity architecture that involves integrating Salesforce with an external directory service. The external directory service will act as the central repository for user authentication and authorization across multiple systems within the organization.Which approach should be evaluated to establish trust between Salesforce and the external directory service?
- A. Implementing a federated identity solution based on SAML (Security Assertion Markup Language).
- B. Using a shared database table to synchronize user credentials between the two systems.
- C. Utilizing email-based verification for user authentication across the systems.
- D. Enforcing IP-based access restrictions for Salesforce and the external directory service.
Show answer and explanation ▾
Correct answer: A
A federated identity solution based on SAML establishes trust between Salesforce and an external directory that holds authentication.
Why the other options are wrong:
- B. Sharing a database table of credentials is insecure and is not a trust mechanism.
- C. Email verification is not a trust model between systems.
- D. IP restrictions limit access but do not establish identity trust.
Question 4
Universal Containers (UC) is rolling out its new Customer Identity and Access Management Solution built on top of its existing Salesforce instance. UC wants to allow customers to login using Facebook, Google, and other social sign-on providers.How should this functionality be enabled for UC, assuming all social sign-on providers support OpenID Connect?
- A. Configure an authentication provider and a Just-In-Time (JIT) handler for each social sign-on provider.
- B. Configure a single sign-on setting and a JIT handler for each social sign-on provider.
- C. Configure an authentication provider and a registration handler for each social sign-on provider.
- D. Configure a single sign-on setting and a registration handler for each social sign-on provider.
Show answer and explanation ▾
Correct answer: C
With OpenID Connect, each social provider is set up as an authentication provider and uses a registration handler to create or link users.
Why the other options are wrong:
- A. A JIT handler belongs to SAML single sign-on settings, not an authentication provider.
- B. A single sign-on setting is for SAML, not social providers.
- D. Single sign-on settings are for SAML identity providers.
Question 5
Northern Trail Outfitters (NTO) wants to give customers the ability to submit and manage issues with their purchases. It is important for NTO to give its customers the ability to login with their Facebook and Twitter credentials.What should an identity architect recommend to meet these requirements?
- A. Configure a predefined authentication provider for Facebook and Twitter.
- B. Setup login icon for Facebook and Twitter.
- C. Create a custom external authentication provider for Facebook.
- D. Create a custom external authentication provider for Twitter.
Show answer and explanation ▾
Correct answer: A
Salesforce ships predefined authentication provider types for social sites, including Facebook and X (formerly Twitter). Configuring these predefined providers lets customers log in with their Facebook and Twitter credentials without building any custom provider code.
Why the other options are wrong:
- B. A login icon alone does not create the authentication provider that handles the login.
- C. A custom provider is meant for third parties without a predefined type, and Facebook already has one.
- D. A custom provider is not needed because X (formerly Twitter) is already a predefined provider type.
Question 6
Northern Trail Outfitters (NTO) leverages Microsoft Active Directory (AD) for management of employee usernames, passwords, permissions, and asset access. NTO also owns a third-party single sign-on (SSO) solution. The third-party party SSO solution is used for all corporate applications, including Salesforce.NTO has asked an architect to explore Salesforce Identity Connect for automatic provisioning and deprovisioning of users in Salesforce.What role does identity Connect play in the outlined requirements?
- A. Service Provider
- B. Identity Provider
- C. Single Sign-On
- D. User Management
Show answer and explanation ▾
Correct answer: D
Identity Connect integrates Active Directory user accounts with Salesforce user records, creating the Salesforce user when an AD user is created and revoking the user's Salesforce session when the user is deprovisioned. Here the existing SSO product handles login, so Identity Connect serves the user management role.
Why the other options are wrong:
- A. Salesforce is the service provider in this design, not Identity Connect.
- B. The existing third-party SSO solution already acts as the identity provider for all corporate apps.
- C. Single sign-on is already handled by the third-party SSO product, so it is not the role asked for here.
Question 7
Northern Trail Outfitters (NTO) uses a Security Assertion Markup Language (SAML)-based Identity Provider (IdP) to authenticate employees to all systems. The IdP authenticates users against a Lightweight Directory Access Protocol (LDAP) directory and has access to user information. NTO wants to minimize Salesforce license usage since only a small percentage of users need Salesforce.What is recommended to ensure new employees have immediate access to Salesforce using their current IdP?
- A. Define a process where administrators manually create new users in Salesforce.
- B. Build an integration that queries LDAP and creates new inactive users in Salesforce and use a login flow to activate the user at first login.
- C. Build an integration that queries LDAP periodically and creates new active users in Salesforce.
- D. Configure Just-in-Time provisioning using SAML attributes to create new Salesforce users as necessary when a new user attempts to login to Salesforce.
Show answer and explanation ▾
Correct answer: D
Just-in-Time provisioning creates the Salesforce user account the first time a user logs in through the SAML identity provider, using the user details in the SAML assertion. Accounts are only created for people who actually log in, and nobody has to create users in advance.
Why the other options are wrong:
- A. Manual user creation delays access and does not give new employees immediate access.
- B. Creating inactive users through a custom integration is not the built-in way to give new employees access at first login.
- C. Creating active users for everyone in LDAP uses licenses for people who never need Salesforce.
Question 8
A Salesforce Administrator is tasked with setting up Just-in-Time (JIT) provisioning for SAML to enable Single Sign-On (SSO) for your organization. They have already configured the SAML settings for SSO in Salesforce.What should be their next steps to enable JIT provisioning?
- A. Create a new Apex class to handle JIT provisioning, implement the required methods, and assign the class to the appropriate user profiles.
- B. Modify the organization-wide sharing settings to allow JIT provisioning, update the sharing rules for the user object.
- C. Enable Just-in-Time User Provisioning in the SAML Single Sign-On Setting, configure the User Provisioning Type, and provide the SAML JIT Handler.
- D. Create a new permission set with JIT provisioning enabled, configure the necessary permissions, and assign the permission set to relevant users.
Show answer and explanation ▾
Correct answer: C
JIT provisioning is turned on in the SAML Single Sign-On Settings by selecting User Provisioning Enabled, choosing a User Provisioning Type (Standard or Custom SAML JIT with Apex handler) and, for the custom type, selecting the Apex class to use as the SAML JIT handler.
Why the other options are wrong:
- A. The handler class is selected in the SAML settings, not assigned to user profiles.
- B. Sharing settings and sharing rules do not control JIT provisioning.
- D. No permission set turns on JIT provisioning, which is enabled in the SAML Single Sign-On Settings.
Question 9
A university is planning to set up an identity solution for its alumni. A third-party identity provider will be used for single sign-on and Salesforce will be the system of records. Users are getting error messages when logging in.Which Salesforce feature should be used to debug the issue?
- A. Apex Exception Email
- B. Debug Logs
- C. Login History
- D. View Setup Audit Trail
Show answer and explanation ▾
Correct answer: C
When users fail to log in with single sign-on, the login history shows why the login failed, so an admin can tell whether the problem is in the SAML assertion or in the Salesforce SSO configuration.
Why the other options are wrong:
- A. Apex exception emails report unhandled code errors, not failed SSO logins.
- B. Debug logs trace code execution and are not where failed SSO login reasons are reviewed.
- D. Setup Audit Trail records configuration changes, not why a login failed.
Question 10
A division of a Northern Trail Outfitters (NTO) purchased Salesforce. NTO uses a third party identity provider (IdP) to validate user credentials against its corporate Lightweight Directory Access Protocol (LDAP) directory. NTO wants to help employees remember as few passwords as possible.What should an identity architect recommend?
- A. Setup Salesforce as an Authentication Provider to the existing IdP.
- B. Use Salesforce connect to synchronize LDAP passwords to Salesforce.
- C. Setup Salesforce as a Service Provider to the existing IdP.
- D. Setup Salesforce as an IdP to authenticate against the LDAP directory.
Show answer and explanation ▾
Correct answer: C
The system that authenticates users is the identity provider, and the system that trusts it is the service provider. Making Salesforce a service provider to the existing IdP lets employees log in with the same corporate credentials the IdP already checks against LDAP.
Why the other options are wrong:
- A. An authentication provider is a Salesforce setting for trusting outside login services, not a role Salesforce plays toward an IdP.
- B. Salesforce Connect is not a tool for synchronizing LDAP passwords to Salesforce.
- D. The company already has an IdP that checks LDAP, so Salesforce does not need to become a second IdP.
Question 11
Universal Containers wants to allow its customers to log in to its Experience Cloud via a third party authentication provider that supports only the OAuth protocol.What should an identity architect do to fulfill this requirement?
- A. Contact Salesforce Support and enable delegate single sign-on.
- B. Use certificate-based authentication.
- C. Create a custom external authentication provider.
- D. Configure OpenID Connect authentication provider.
Show answer and explanation ▾
Correct answer: C
For a third party that does not support OpenID Connect, Salesforce lets you build a custom authentication provider in Apex. A provider that supports only OAuth therefore needs a custom external authentication provider for Experience Cloud login.
Why the other options are wrong:
- A. Delegated single sign-on is not how an outside OAuth login provider is connected to an Experience Cloud site.
- B. Certificate-based authentication uses client certificates, not a third-party OAuth login.
- D. An OpenID Connect provider needs the third party to support OpenID Connect, which this one does not.
Question 12
Universal Containers (UC) has decided to replace the homegrown customer portal with Salesforce Experience Cloud. UC will continue to use its third-party single sign-on (SSO) solution that stores all of its customer and partner credentials.The first time a customer logs in to the Experience Cloud site through SSO, a user record needs to be created automatically.Which solution should an identity architect recommend in order to automatically provision users in Salesforce upon login?
- A. Just-in-Time (JIT) provisioning
- B. Third-party AppExchange solution
- C. Custom login flow and Apex handler
- D. Custom middleware and web services
Show answer and explanation ▾
Correct answer: A
Just-in-Time provisioning uses the SAML assertion from the identity provider to create Experience Cloud site users the first time they log in, which is exactly the automatic first-login user creation UC needs with its third-party SSO.
Why the other options are wrong:
- B. An AppExchange product is not needed because Salesforce provides first-login user creation for SAML SSO.
- C. A login flow is not the feature that creates the user record at first SSO login.
- D. Custom middleware adds build and upkeep work for a need the platform already covers.
Question 13
A consumer products company uses Salesforce to maintain consumer information, including orders. The company implemented a portal solution using Salesforce Experience Cloud for its consumers where the consumers can log in using their credentials. The company is considering allowing users to login with their Facebook or LinkedIn credentials.Once enabled, what role will Salesforce play?
- A. Salesforce will be the service provider (SP).
- B. Facebook and LinkedIn will act as the IdPs and SPs.
- C. Facebook and LinkedIn will be the SPs.
- D. Salesforce will be the identity provider (IdP).
Show answer and explanation ▾
Correct answer: A
The identity provider is the system that authenticates users, and the service provider is the system that trusts it. When consumers log in with Facebook or LinkedIn, those sites authenticate them and Salesforce trusts that login, so Salesforce is the service provider.
Why the other options are wrong:
- B. Facebook and LinkedIn only authenticate the users here, so they are not also service providers.
- C. Facebook and LinkedIn authenticate the users, which makes them identity providers, not service providers.
- D. Salesforce trusts the outside login instead of authenticating the users itself, so it is not the identity provider.
Question 14
A global company’s Salesforce Identity Architect is reviewing its Salesforce production org login history and is seeing some intermittent Security Assertion Markup Language (SAML SSO) “Replay Detected” and “Assertion Invalid” login errors.Which two issues would cause these errors?
(Choose two.)
- A. The subject element is missing from the assertion sent to Salesforce.
- B. The current time setting of the company’s identity provider (IdP) and Salesforce platform is out of sync by more than eight minutes.
- C. The assertion sent to Salesforce contains an assertion ID previously used.
- D. The certificate loaded into SSO configuration does not match the certificate used by the IdP.
Show answer and explanation ▾
Correct answer: A, C
Assertion Invalid means something is wrong with the assertion itself, such as a missing Subject element. Replay Detected means Salesforce saw an assertion ID that was already used, since every assertion must carry a unique ID.
Why the other options are wrong:
- B. A clock difference breaks the assertion timestamp check, which is reported as a different error from these two.
- D. A certificate mismatch fails signature validation, which shows as Signature Invalid.
Question 15
An insurance company has a connected app in its Salesforce environment that is used to integrate with a Google Workspace (formerly known as G Suite).An identity and access management (IAM) architect has been asked to implement automation to enable users, freeze/suspend users, disable users, and reactivate existing users in Google Workspace upon similar actions in Salesforce.Which solution is recommended to meet this requirement?
- A. Configure User Provisioning for Connected Apps.
- B. Update the Security Assertion Markup Language Just-in-Time (SAML JIT) handler in Salesforce for user provisioning and de-provisioning.
- C. Build an Apex trigger on the UserLogin object to make asynchronous callouts to Google APIs.
- D. Build a custom REST endpoint in Salesforce that Google Workspace can poll against.
Show answer and explanation ▾
Correct answer: A
User provisioning for connected apps sends provisioning requests to the third-party system when users are created, enabled, disabled, frozen, unfrozen or reactivated in Salesforce, and Google Workspace is a documented target, so it covers every action listed.
Why the other options are wrong:
- B. A SAML JIT handler creates or updates Salesforce users at login and does not manage Google Workspace accounts.
- C. A custom trigger with callouts is custom code for a need the platform already covers.
- D. A polling endpoint is custom work and is not the provisioning feature Salesforce provides.
That was 15 of 58.
The full Salesforce Platform IAM Architect pack has all 58 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
Get the full packNot ready yet? Get the first 16 free as one PDF by email. Get the Half Pack →
About the Platform Identity and Access Management Architect exam
These 15 Salesforce Platform IAM Architect questions are free here. The free PDF has 16, free by email.
They are drawn from the same bank as the full Platform Identity and Access Management Architect pack, which has 58 questions in total.