Free Salesforce-Platform-Identity-and-Access-Management-Architect Practice Test Questions (2026)

Total 108 Questions


Last Updated On : 4-Jun-2026


undraw-questions

Think You're Ready? Prove It Under Real Exam Conditions

Take Exam

Salesforce User Authentication

A financial services company uses Salesforce and has a compliance requirement to track information about devices from which users log in. Also, a Salesforce Security Administrator needs to have the ability to revoke the device from which users log in. What should be used to fulfill this requirement?



A. Use multi-factor authentication (MFA) to meet the compliance requirement to track device information.


B. Use the Login History object to track information about devices from which users log in.


C. Use Login Flows to capture device from which users log in and store device and user information in a custom object.


D. Use the Activations feature to meet the compliance requirement to track device information.





D.
  Use the Activations feature to meet the compliance requirement to track device information.

Explanation:

Let’s analyze each option:

Option D - Activations Feature (Correct): The Activations feature in Salesforce Identity provides a centralized way to manage and track user devices. Specifically, it allows:

Tracking device information: When users log in, their device (browser, mobile app, etc.) is registered as an "activation." The administrator can view all activations, including details like device type, browser, operating system, IP address, and login timestamps.

Revoking devices: Administrators can remotely revoke or deactivate a specific device/activation, which logs the user out from that device and prevents further access until re-authentication. This directly fulfills both the compliance tracking and device revocation requirements.

Option A - MFA (Incorrect): Multi-factor authentication adds an extra layer of security during login but does not inherently track or manage device information for administrative review and device revocation. MFA is about authentication, not device lifecycle management.

Option B - Login History Object (Incorrect): The Login History object captures login events, including IP address, browser, and login time. However, it is primarily read-only and does not provide the ability to revoke a device or user session. It tracks logins but doesn't directly support the admin action of revoking a device.

Option C - Login Flows (Incorrect): Login Flows are used to add custom business logic during the login process (e.g., capture additional information, enforce step-up authentication). While you could theoretically capture device information in a custom object via a Login Flow, this requires custom development and still does not provide the built-in, admin-friendly ability to revoke a device from the UI. The Activations feature performs both tasks natively without custom code.

Summary
The Activations feature is the purpose-built Salesforce Identity capability designed for this exact compliance scenario: it provides visibility into user devices and gives administrators the power to revoke device access directly from the Setup menu. No custom code or workarounds are required.

Reference
Salesforce Help: Activations — "View and manage user activations, including information about the devices users use to access Salesforce. You can revoke a user activation to log them out and prevent future access from that device until they log in again."

Salesforce Identity: Device Activation Management — Enables tracking all devices associated with user identity, supporting compliance and security requirements.

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. News Legs


B. Web Apps Audit Trail


C. Login History


D. About Exception Email





C.
  Login History

Explanation:

This question is testing which Salesforce feature helps investigate authentication and login failures. For issues involving SSO, federation, or user sign-in problems, Login History is the built-in place to review failed login attempts, timestamps, source IP, and error details tied to the user’s login activity.

Option A
❌ News Legs
This is not a Salesforce feature for troubleshooting authentication issues. It does not provide login attempt details, error codes, or identity-provider-related failure information, so it cannot help debug SSO login problems.

Option B
❌ Web Apps Audit Trail
Audit trail tracks configuration changes made by administrators, not user login failures. It may help identify setup changes affecting SSO, but it does not show individual authentication errors when users try to sign in.

Option C
✔️ Login History
Login History is the correct feature because it records login attempts and failures, including the reason a login was blocked or rejected. This makes it the best place to debug SSO-related user access issues in Salesforce.

Option D
❌ About Exception Email
Exception emails are used for system or code errors, such as Apex exceptions, not for end-user authentication troubleshooting. They do not provide the login failure visibility needed for this scenario.

🔧 Reference:
Resolve User Login Problems
— Confirms Salesforce login issues can be investigated through login-related records and error details.

Northern Trail Outfitters want to allow its consumer to self-register on it business-to consumer (B2C) portal

that is built on Experience Cloud. The identity architect has recommended to use Person Accounts.

Which three steps need to be configured to enable self-registration using person accounts? Choose 3 answers



A. Enable business accounts in the Setup page.


B. Enable person accounts in the Setup page.


C. Under Login and Registration settings, ensure that the default account field is empty.


D. Enable access to person and business account record types under Public Access Settings.


E. Set organization-wide default sharing for Contact to Public Read Only.






Explanation:
To enable self-registration using Person Accounts on an Experience Cloud B2C portal, Person Accounts must first be enabled org-wide. The self-registration flow must be configured to create Person Accounts instead of business accounts with separate contacts. This requires correct settings in Login & Registration and proper record type access for unauthenticated users.

Correct Options:

B. Enable person accounts in the Setup page.
Person Accounts are not enabled by default in Salesforce. The administrator must first enable Person Accounts under Company Information Settings. This is a prerequisite for any solution using Person Accounts, including B2C self-registration portals.

C. Under Login and Registration settings, ensure that the default account field is empty.
In Experience Cloud Login & Registration settings, the "Default Account" field must be empty when using Person Accounts. If a default business account is specified, the self-registration flow will create a Contact under that business account instead of a Person Account. Leaving it empty triggers Person Account creation.

D. Enable access to person and business account record types under Public Access Settings.
The Guest User profile (public access) needs access to both Person Account and Business Account record types. If Person Account record type is not enabled for the guest user, self-registration will fail because the flow cannot create a Person Account. Business account access is also required for potential mixed scenarios.

Incorrect Options:

A. Enable business accounts in the Setup page.
Business Accounts are always enabled in Salesforce by default. There is no specific "enable business accounts" step. This option is irrelevant and incorrect because enabling Person Accounts does not require toggling anything for business accounts.

E. Set organization-wide default sharing for Contact to Public Read Only.
Organization-wide sharing defaults for Contact are not directly related to Person Account self-registration. Person Accounts have their own sharing rules (Account object with Person Account flag). Setting Contact OWD to Public Read Only does not enable or disable registration flows.

Reference:

Salesforce Help Article: "Enable Person Accounts for Experience Cloud Self-Registration"

Trailhead: "Person Accounts for B2C Sites" – Unit on "Self-Registration Configuration"

Salesforce Architect Documentation: "Experience Cloud Registration with Person Accounts"

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 a single sign-on setting and a JTT handler for each social sign-on provider.


B. configure an authentication provider and a Auto-Time Unit 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.





C.
  configure an authentication provider and a registration handler for each social sign-on provider.

Explanation:
To enable social sign-on with providers like Facebook and Google (supporting OpenID Connect) in Salesforce, an Authentication Provider must be configured for each provider. Additionally, a Registration Handler (an Apex class) is required to map the external user's identity to an existing or new Salesforce user account, controlling how users are linked or created.

Correct Option:

C. configure an authentication provider and a registration handler for each social sign-on provider.
An Authentication Provider defines the connection details (client ID, secret, endpoints) for each social provider. A Registration Handler is an Apex class that implements the Auth.RegistrationHandler interface. It controls linking logic—whether to create a new user, link to an existing contact, or update user attributes. Both are mandatory for a complete social sign-on implementation.

Incorrect Option:

A. configure a single sign-on setting and a JTT handler for each social sign-on provider.
There is no "JTT handler" in Salesforce Identity terminology. SSO settings are for SAML, not for OIDC social providers. Social sign-on requires Authentication Providers, not SAML SSO configurations.

B. configure an authentication provider and an Auto-Time Unit handler for each social sign-on provider.
"Auto-Time Unit handler" is not a real Salesforce component. The correct component is a Registration Handler. This option uses fabricated terminology and would not work.

D. configure a single sign-on setting and a registration handler for each social sign-on provider.
SAML SSO settings are not used for social providers like Google or Facebook. Social sign-on uses OAuth 2.0/OIDC with Authentication Providers. A Registration Handler alone without the Authentication Provider is useless because there is no connection to the external IdP.

Reference:

Salesforce Help Article: "Set Up Social Sign-On for External Users"

Trailhead: "Social Sign-On" – Unit on "Configure Authentication Providers and Registration Handlers"

Salesforce Developer Guide: "Auth.RegistrationHandler Interface"

Northern Trail Outfitters (NTO) would like to use a portal built on Salesforce Experience Cloud for customer self-service. Guests of the portal should be able to self-register, but be unable to automatically be assigned to a contact record until verified. External Identity licenses have been purchased for the project.

After registered guests complete an onboarding process, a flow will create the appropriate account and contact records for the user.

Which three steps should an identity architect follow to implement the outlined requirements? Choose 3 answers



A. Customize the self-registration Apps handler to create only the user record.


B. Select the “Configurable Self-Reg Page” option under Login & Registration.


C. Set up an external login page and call Salesforce APIs for user creation.


D. Select new customers and partners to self-register.


E. Customize the self-registration Apps handler to temporarily associate the user to a shared single contact record.






Explanation:
NTO requires guests to self-register without being automatically assigned to a contact record until verification is complete. An external identity license allows user-only creation. The solution must use a customizable registration handler and the configurable self-registration page, while selecting the appropriate registration type for new customers.

Correct Options:

A. Customize the self-registration Apps handler to create only the user record.
The standard registration handler creates both a user and a contact. To prevent automatic contact assignment until verification, the architect must customize the registration handler (Auth.RegistrationHandler) to create only the user record initially. The external identity license supports user-only records without associated contacts.

B. Select the “Configurable Self-Reg Page” option under Login & Registration.
This setting enables the use of a custom self-registration page with Apex handlers. Without selecting this option, the standard registration flow forces immediate contact creation. Configurable Self-Reg Page allows the architect to plug in the customized handler that creates only the user record.

D. Select new customers and partners to self-register.
Under Login & Registration settings, the registration type must be set to allow "New customers and partners to self-register." This enables the self-registration link on the login page and permits external users to initiate the registration process. The other option ("No users can register") would block the flow.

Incorrect Options:

C. Set up an external login page and call Salesforce APIs for user creation.
This option is unnecessarily complex and incorrect. Experience Cloud provides native self-registration pages. Building an external login page with API calls bypasses built-in security, validation rules, and standard flows. The requirement can be met entirely within Experience Cloud using a custom handler.

E. Customize the self-registration Apps handler to temporarily associate the user to a shared single contact record.
This violates the requirement that guests should not be assigned to a contact record until after verification. Assigning a shared contact is still assignment. The requirement explicitly states "be unable to automatically be assigned to a contact record until verified." Only creating the user (without any contact) satisfies this.

Reference:

Salesforce Help Article: "Customize Self-Registration with Apex"

Trailhead: "Identity for External Users" – Unit on "Registration Handlers"

Salesforce Developer Guide: "Auth.RegistrationHandler Interface – Creating Users Without Contacts"

Universal Containers is creating a mobile application that will be secured by Salesforce Identity using the QAuth 2.0 user-agent flow (this flow uses the QAuth 2.0 implicit grant type).

Which three QAuth concepts apply to this flow?
Choose 3 answers



A. Refresh Token


B. Client ID


C. Verification Code


D. Authorization Code


E. Scopus





A.
  Refresh Token

B.
  Client ID

E.
  Scopus

Explanation:

This question tests knowledge of the OAuth 2.0 User-Agent Flow (Implicit Grant Type) as implemented by Salesforce Identity for mobile applications. In this flow, the access token is returned directly to the client without an intermediate authorization code. Understanding which OAuth concepts participate in this flow is key.

✅ A. Refresh Token
In Salesforce's implementation, a refresh token can be returned in the user-agent flow if the refresh_token scope is explicitly included and the connected app is configured to allow it. This lets the app obtain new access tokens without re-prompting the user for credentials again.

✅ B. Client ID
The Client ID (Consumer Key) is a mandatory parameter in the user-agent flow. It identifies the connected app making the authorization request to Salesforce. Without it, Salesforce cannot recognize or validate the requesting application during the OAuth handshake.

✅ E. Scope
Scope defines the level of access the mobile application is requesting — such as api, openid, or refresh_token. It is a required parameter in the authorization request URL and controls what resources and data the issued token can access on behalf of the user.

❌ C. Verification Code
A Verification Code is not part of the standard OAuth 2.0 user-agent (implicit) flow. It belongs to device authentication flows or PKCE, not the implicit grant type. It plays no role in how tokens are requested or returned in this flow.

❌ D. Authorization Code
The Authorization Code belongs exclusively to the OAuth 2.0 Authorization Code Flow. In the implicit/user-agent flow, the access token is returned directly in the URL fragment — no intermediate authorization code is issued or exchanged at any stage.

🔧 Reference:
OAuth 2.0 User-Agent Flow – Salesforce Help
Confirms Client ID, Scope, and Refresh Token as key parameters used in the implicit grant flow and token response behavior.

An identity architect has been asked to recommend a solution that allows administrators to configure personalized alert messages to users before they land on the Experience Cloud site (formerly known as Community) homepage.

What is recommended to fulfill this requirement with the least amount of customization?



A. Customize the registration handler Apex class to create a routing logic navigating to different home pages based on the user profile.


B. Use Login Flows to add a screen that shows personalized alerts.


C. Create custom metadata that stores user alerts and use a LWC to display alerts.


D. Build a Lightning Web Component (LWC) for a homepage that shows custom alerts.





B.
  Use Login Flows to add a screen that shows personalized alerts.

Explanation:
The requirement is to show personalized alert messages to users before they land on the Experience Cloud homepage, with the least customization. Login Flows (formerly known as Login Discovery or Authentication Flows) allow administrators to add screens with custom logic and messages after authentication but before the user accesses the site, without writing Apex or building components.

Correct Option:

B. Use Login Flows to add a screen that shows personalized alerts.
Login Flows are a declarative, point-and-click feature in Salesforce. An administrator can create a Login Flow that triggers after successful authentication but before the user reaches the Experience Cloud homepage. The flow can include conditional logic to show different alert messages based on user profile, attributes, or time of day. This requires no Apex, LWC, or custom metadata, making it the least customization option.

Incorrect Option:

A. Customize the registration handler Apex class to create a routing logic navigating to different home pages based on the user profile.
This requires writing Apex and custom navigation logic, which is not "least customization." Registration handlers are designed for user provisioning during registration, not for post-login alerts before homepage rendering. This approach is overly complex and misaligned.

C. Create custom metadata that stores user alerts and use a LWC to display alerts.
Building a custom Lightning Web Component plus custom metadata types requires development effort. The alert would display on the homepage, not before landing on it. This does not meet the "before they land on the homepage" requirement and involves significant customization.

D. Build a Lightning Web Component (LWC) for a homepage that shows custom alerts.
Similar to option C, this displays alerts on the homepage, not before it. Users would first see the homepage, then the alert. Additionally, building an LWC requires development and deployment, which is far more customization than a declarative Login Flow.

Reference:

Salesforce Help Article: "Login Flows – Add Screens Before Users Access an Experience Cloud Site"

Trailhead: "Identity and Access Management for Architects" – Unit on "Login Discovery and Login Flows"

Salesforce Architect Documentation: "Login Flows for Experience Cloud"

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. Just-in-Time Provisioning


B. Delegated Authentication


C. Security Assertion Markup Language (SANL) Single Sign On


D. OAuth Web-Server Flow





B.
  Delegated Authentication

Explanation:

The question tests knowledge of external authentication methods in Salesforce when regulatory rules require that all password storage and validation occur outside Salesforce. The key constraint is that authentication requests must be handled by a customer-owned system accessible only via SOAP webservice.

✔️ Correct Option:

B. Delegated Authentication
Delegated Authentication is designed for this exact use case. Salesforce sends the username and password entered on the login page to an external SOAP endpoint you host. Your service validates the credentials and returns true/false. Salesforce never stores or manages passwords, meeting the CIO’s requirement for external control via SOAP.

❌ Incorrect options:

A. Just-in-Time Provisioning
JIT handles automatic creation or updates of user records in Salesforce when a user logs in via SAML or an Auth Provider. It manages user provisioning attributes, not real-time password validation against an external SOAP service. So it doesn’t satisfy the requirement to externalize authentication requests.

C. Security Assertion Markup Language (SAML) Single Sign On
SAML SSO uses assertions from an identity provider to log users in without sending passwords to Salesforce. It bypasses the Salesforce login page and doesn’t invoke a customer SOAP webservice for password checks. Therefore it cannot meet the stated SOAP-based validation requirement.

D. OAuth Web-Server Flow
This OAuth flow is for authorizing external apps to access Salesforce APIs on behalf of a user and issues access tokens. It’s not used for direct user login to the Salesforce UI and does not delegate password verification to an external SOAP endpoint as required.

🔧 Reference:
→ Delegated Authentication – Confirms Salesforce calls an external SOAP web service to authenticate users and does not validate or store passwords internally.

A public sector agency is setting up an identity solution for its citizens using a Community built on Experience Cloud and requires the new user registration functionality to capture first name, last name, and phone number. The phone number will be used for passwordless login.

Which feature should an identity architect recommend to meet the requirements?



A. Integrate with social websites (Facebook, LinkedIn, Twitter)


B. Use Login Discovery


C. Create a custom Lightning Web Component


D. Use an external Identity Provider





B.
  Use Login Discovery

Explanation:
The agency needs new user registration capturing first name, last name, and phone number, with phone number used for passwordless login. Login Discovery (specifically the Login Flow feature) allows a no-code flow that presents registration screens conditionally, collects user attributes, and can trigger phone-based verification (OTP) without a custom component or external IdP.

Correct Option:

B. Use Login Discovery
Login Discovery (via Login Flows) enables administrators to create a screen flow that runs before a user is fully authenticated. It can collect name and phone number, verify the phone via SMS OTP, and then either register a new user or authenticate an existing one using passwordless login. This meets all requirements declaratively without custom code or external integrations.

Incorrect Option:

A. Integrate with social websites (Facebook, LinkedIn, Twitter)
Social login integrates existing social identities but does not natively capture phone number for passwordless login. Social providers typically return email, not phone. Additionally, this adds complexity and an external dependency, with no native phone verification flow tied to registration.

C. Create a custom Lightning Web Component
An LWC could be built to capture these fields, but that requires development, testing, and maintenance. Login Discovery provides a declarative, supported alternative with built-in phone verification actions. The question asks for a feature recommendation, not a custom coding approach.

D. Use an external Identity Provider
An external IdP (e.g., Okta, Auth0) could handle phone-based passwordless login, but this adds cost and integration effort. Salesforce Identity can natively achieve the same using Login Discovery with phone verification. An external IdP is unnecessary and violates choosing the simplest in-platform solution.

Reference:

Salesforce Help Article: "Login Flows for Phone Verification and Passwordless Login"

Trailhead: "Identity and Access Management for Architects" – Unit on "Login Discovery"

Salesforce Architect Documentation: "Passwordless Login Using Login Flows"

Universal Containers is using OpenID Connect to enable a connection from their new mobile app to its production Salesforce org.

What should be done to enable the retrieval of the access token status for the OpenID Connect connection?



A. Leverage OpenID Connect Token Introspection.


B. Query using OpenID Connect discovery endpoint.


C. Enable cross-origin resource sharing (CORS) for the /services/oauth2/token endpoint.


D. Create a custom OAuth scope.





A.
  Leverage OpenID Connect Token Introspection.

Explanation:

This question tests knowledge of OpenID Connect standards within Salesforce Identity. Token introspection is a standard OAuth 2.0 / OpenID Connect endpoint that allows a client or resource server to check the active state, expiration, and metadata of an access token. This is exactly what is needed to retrieve the access token status.

✔️ Correct Option:

✔️ A. Leverage OpenID Connect Token Introspection.
Token Introspection (RFC 7662) provides a standard endpoint (/services/oauth2/introspect) that accepts an access token and returns its active status, scope, client ID, expiration, and other metadata. This allows the mobile app to programmatically validate whether an access token is still valid, without attempting to use it.

❌ Incorrect options:

❌ B. Query using OpenID Connect discovery endpoint.
The discovery endpoint (/.well-known/openid-configuration) returns metadata about the IdP's endpoints and capabilities. It does not retrieve the status of a specific access token. It is used for configuration, not token validation.

❌ C. Enable cross-origin resource sharing (CORS) for the /services/oauth2/token endpoint.
CORS allows web applications from different domains to call Salesforce APIs. It does not provide token status information. CORS is a browser security mechanism, not a method to inspect token validity or metadata.

❌ D. Create a custom OAuth scope.
Custom OAuth scopes control which resources or permissions a token grants access to. Scopes do not retrieve token status or introspection data. They define authorization boundaries, not token validation capabilities.

🔧 Reference:
→ Salesforce Help: Introspect an Access Token with OpenID Connect Token Introspection
Confirms that the /services/oauth2/introspect endpoint returns the active status and metadata of an access token for OpenID Connect connections.

Page 2 out of 11 Pages
Next
1234
Salesforce-Platform-Identity-and-Access-Management-Architect Practice Test Home

Experience the Real Exam Before You Take It

Our new timed 2026 Salesforce-Platform-Identity-and-Access-Management-Architect practice test mirrors the exact format, number of questions, and time limit of the official exam.

The #1 challenge isn't just knowing the material; it's managing the clock. Our new simulation builds your speed and stamina.



Enroll Now

Ready for the Real Thing? Introducing Our Real-Exam Simulation!


You've studied the concepts. You've learned the material. But are you truly prepared for the pressure of the real Salesforce Certified Platform Identity and Access Management Architect (SP25) exam?

We've launched a brand-new, timed Salesforce-Platform-Identity-and-Access-Management-Architect practice exam that perfectly mirrors the official exam:

✅ Same Number of Questions
✅ Same Time Limit
✅ Same Exam Feel
✅ Unique Exam Every Time

This isn't just another Salesforce-Platform-Identity-and-Access-Management-Architect practice questions bank. It's your ultimate preparation engine.

Enroll now and gain the unbeatable advantage of:

  • Building Exam Stamina: Practice maintaining focus and accuracy for the entire duration.
  • Mastering Time Management: Learn to pace yourself so you never have to rush.
  • Boosting Confidence: Walk into your Salesforce-Platform-Identity-and-Access-Management-Architect exam knowing exactly what to expect, eliminating surprise and anxiety.
  • A New Test Every Time: Our Salesforce Certified Platform Identity and Access Management Architect (SP25) exam questions pool ensures you get a different, randomized set of questions on every attempt.
  • Unlimited Attempts: Take the test as many times as you need. Take it until you're 100% confident, not just once.

Don't just take a Salesforce-Platform-Identity-and-Access-Management-Architect test once. Practice until you're perfect.