Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Salesforce Certified Platform Identity and Access Management Architect Identity-and-Access-Management-Architect Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 17 Total 248 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Identity Management Concepts

Skill tested: Selects SAML or OAuth patterns based on browser, API, and user-context requirements.

A logistics company lets employees sign in to Salesforce and then launch a separate cloud-based dispatch application. The dispatch application must receive an authenticated browser assertion and create its own application session; it does not need delegated access to Salesforce APIs. The identity team wants Salesforce to initiate the launch, and the dispatch application supports SAML 2.0 service-provider initiated or identity-provider initiated sign-in. Which integration pattern best meets these requirements?

Correct Answer: A. Configure Salesforce as the SAML identity provider and the dispatch application as the service provider.
Explanation:

SAML is designed to convey authentication information between an identity provider and a service provider, enabling the dispatch application to establish its own browser session for an employee. Salesforce can act as the identity provider for an application launch, while the dispatch application consumes the SAML assertion as the service provider. OAuth access tokens authorize API access and are not substitutes for SAML browser assertions. Client credentials represents an application identity rather than the employee, and reversing the SAML roles would make the dispatch application authenticate users to Salesforce rather than accept Salesforce authentication.

Question 2

New Multiple answers

Topic: Identity Management Concepts

Skill tested: Chooses an OAuth flow that preserves user delegation for a confidential integration client.

A compliance service needs to call a Salesforce REST API on behalf of a particular analyst. The service has a protected server-side component capable of securely storing a client secret, and analysts must explicitly authorize access through their Salesforce accounts. The service must not impersonate a generic integration user or collect an analyst's password. Which two design decisions best satisfy the requirements? Select TWO.

Correct Answer: A. Configure a connected app with the authorization code flow and a callback URL registered for the service.; C. Use the OAuth web server authorization code flow and exchange the returned authorization code from the server.
Explanation:

The authorization code flow is appropriate for a confidential web application that can protect its client secret and must obtain delegated user authorization. The authorization code is exchanged by the server, keeping the secret and token exchange out of the browser. The connected app must enable the flow and register the service's callback URL. Username-password flow requires handling user passwords and does not meet the constraint. Client credentials identifies the application rather than preserving analyst delegation, while a shared SAML bearer principal would not provide the required per-analyst consent and context.

Question 3

New Single answer

Topic: Accepting Third-Party Identity in Salesforce

Skill tested: Designs just-in-time provisioning for a social identity provider using an authentication provider.

A consumer support community will accept sign-in from a social identity provider that supports OAuth 2.0. New customers must be able to sign in without first contacting support, and their Salesforce community users must be created from trusted identity attributes on first login. Existing customers should be matched to their Salesforce records using a stable provider identifier, not an email address that may change. Which approach is most appropriate?

Correct Answer: C. Configure an authentication provider and registration handler to create or associate the Salesforce user at first login using the provider's stable identifier.
Explanation:

An authentication provider integrates the external OAuth identity source with Salesforce sign-in, and its registration handler can control how a user and related records are created or associated during registration. A stable subject identifier is a better account-matching key than a mutable email address. Manual pre-provisioning conflicts with the self-service requirement. Client credentials authenticates an application, not an end customer, and delegated authentication is not the appropriate mechanism for accepting a social provider's OAuth identity.

Question 4

New Multiple answers

Topic: Accepting Third-Party Identity in Salesforce

Skill tested: Secures social login configuration and maps verified provider identity to Salesforce registration logic.

A retail organization is adding social sign-in to an Experience Cloud site. Its security review requires controlled user creation, least-privilege access to provider data, and dependable account matching. The provider returns a stable subject identifier and verified email, but customer email addresses can be reassigned over time. Which two configuration choices best address these requirements? Select TWO.

Correct Answer: D. Request only the provider scopes needed for the Salesforce login and customer experience.; E. Use the authentication provider's registration handler to apply an approved profile or permission set and create only required records.
Explanation:

The registration handler is the controlled point for provisioning and association logic, so it should apply appropriately limited access rather than broad administrative permissions. Requesting only necessary scopes reduces the data and authority exposed to the integration. A provider's stable subject identifier is preferable for durable identity association; verified email does not make an address immutable, and addresses may be reassigned. Display names are neither unique nor reliable identity keys. The combination of controlled provisioning and least-privilege scopes fits the security review.

Question 5

New Single answer

Topic: Accepting Third-Party Identity in Salesforce

Skill tested: Diagnoses authentication-provider account association and first-login provisioning failures.

After a social login rollout, returning users are unexpectedly routed through the new-user registration handler and some receive duplicate Salesforce accounts. The provider returns a stable subject identifier on each login, and the registration handler creates a user whenever Salesforce does not find an associated user. The organization recently changed the handler's matching logic to search only by email. What is the best corrective action?

Correct Answer: C. Restore matching based on the external provider's stable identifier and associate existing Salesforce users with that identifier.
Explanation:

The registration handler is invoked when Salesforce cannot resolve the external identity to an associated user. Matching on a stable provider identifier avoids creating duplicate users when an email changes and prevents an address from being treated as a durable identity key. Disabling the handler does not supply reliable association logic. Client credentials is not an end-user login flow, and synchronizing usernames to mutable email addresses creates operational and security risks rather than fixing identity matching.

Question 6

New Single answer

Topic: Salesforce as an Identity Provider

Skill tested: Selects OAuth client credentials for integrations that authenticate as an application.

A nightly data-quality service running in a controlled server environment must query Salesforce and update records owned by a dedicated integration user. No human user should be prompted to log in, and the service can securely protect credentials. The security team wants a noninteractive OAuth integration with a clearly assigned Salesforce identity. Which design is the best fit?

Correct Answer: C. Use the OAuth client credentials flow configured for the connected app and specify the integration user as the run-as user.
Explanation:

The client credentials flow supports noninteractive server-to-server access. In Salesforce, the connected app's client credentials configuration uses a designated run-as user, so API activity has a defined Salesforce user context and corresponding permissions. Authorization code and implicit flows are based on user interaction and are unsuitable for an unattended nightly process. SAML browser SSO establishes user sessions and is not the appropriate mechanism for this server-to-server API integration.

Question 7

New Multiple answers

Topic: Salesforce as an Identity Provider

Skill tested: Configures a connected app for secure OAuth authorization-code integration.

A vendor's web application will access Salesforce data on behalf of each consenting user. It is a confidential server-side application, can protect its client secret, and uses a fixed HTTPS callback endpoint. The application must avoid asking users for Salesforce credentials directly and must receive access only after the user authorizes it. Which two connected-app design choices are appropriate? Select TWO.

Correct Answer: A. Configure the application as a confidential client and protect its consumer secret on the server.; D. Enable the OAuth authorization code flow and register the exact HTTPS callback URL.
Explanation:

A confidential web application that needs per-user authorization should use the authorization code flow, with an exact registered callback URL to control where Salesforce returns the authorization response. Its client secret must remain on the server and never be exposed to browser code. Username-password flow handles users' credentials and does not provide the desired authorization-code interaction. Client credentials represents a configured run-as user, not each consenting user. The implicit flow is not appropriate for a confidential server-side client and cannot protect a secret in JavaScript.

Question 8

New Single answer

Topic: Access Management Best Practices

Skill tested: Selects an MFA method that remains usable during intermittent network outages.

A financial services portal serves external claims adjusters who work in areas with unreliable cellular and internet coverage. The organization requires MFA for interactive access, cannot depend on SMS delivery, and wants users to complete authentication even when they temporarily lack connectivity. Most adjusters have compatible smartphones. Which option best fits the requirement?

Correct Answer: A. Use a time-based one-time password authenticator app that generates codes locally.
Explanation:

A time-based one-time password authenticator generates codes on the device, so code generation does not require cellular service or an internet connection at the moment of login. SMS and email codes depend on delivery channels that may be unavailable in the stated environment. An IP allowlist can be a contextual access control, but it is not an authentication factor and does not satisfy the MFA requirement. This choice still requires users to enroll and maintain a compatible authenticator.

Question 9

New Multiple answers

Topic: Access Management Best Practices

Skill tested: Applies risk-based MFA and trusted-device controls to protect external-user access.

A customer portal handles sensitive financial documents. The organization wants MFA for external users, but seeks to limit repeated challenges on familiar devices without treating a network location as proof of identity. It also needs a stronger response for sign-ins flagged as high risk. Which two measures best align with these requirements? Select TWO.

Correct Answer: A. Use a supported Salesforce MFA method for authentication and require a challenge when the applicable policy calls for it.; C. Use trusted-device or session policies where supported to reduce unnecessary repeat challenges without removing MFA protection.
Explanation:

A supported MFA method supplies an actual second factor, while trusted-device or session controls can manage how often users are challenged within the configured policy. High-risk sign-ins should not receive weaker authentication merely because the password is correct. An IP address is a contextual signal, not a factor proving possession or inherence. Automatically disabling MFA after a fixed number of logins undermines protection and does not account for changing risk. The selected measures balance usability with authentication security.

Question 10

New Single answer

Topic: Salesforce Identity

Skill tested: Places Identity Connect appropriately in a hybrid Active Directory and Salesforce architecture.

A manufacturer maintains Active Directory on premises and Salesforce in the cloud. It wants to synchronize users and selected directory attributes into Salesforce, automate user provisioning, and allow employees to use their corporate directory credentials for Salesforce authentication. The identity team wants to retain its existing directory as the source of truth rather than manually maintaining duplicate identities. Which architecture best fits?

Correct Answer: C. Deploy Salesforce Identity Connect to integrate the on-premises Active Directory with Salesforce for synchronization and provisioning, and configure the appropriate authentication integration.
Explanation:

Identity Connect is intended to bridge an on-premises Active Directory environment with Salesforce, supporting synchronization and user provisioning from the directory. The architecture preserves the directory as the authoritative source for the relevant identity data. Authentication still requires the appropriate configured integration; merely using an OAuth connected app does not authenticate each employee or synchronize directory users. Manual CSV imports undermine automated lifecycle management, and making Salesforce the source of truth reverses the stated requirement.

Question 11

New Single answer

Topic: Salesforce Identity

Skill tested: Diagnoses synchronization scope and attribute-mapping issues in Identity Connect deployments.

An organization uses Identity Connect to provision employees from Active Directory into Salesforce. New users are created correctly, but department and manager values remain blank in Salesforce after directory updates. The administrator confirms that the attributes exist in Active Directory and that the relevant users are in scope. What should the administrator investigate first?

Correct Answer: B. Whether the Identity Connect synchronization configuration maps those directory attributes to the intended Salesforce user fields.
Explanation:

When provisioning succeeds but specific attributes do not populate, the relevant first check is the synchronization configuration's attribute mapping and supported field mapping. The directory values and user scope are already confirmed, so authentication flows do not explain the missing mapped values. An implicit OAuth flow is unrelated to Identity Connect synchronization, and Salesforce acting as a SAML identity provider does not map directory attributes into user records. Social login is likewise unrelated to the stated provisioning path.

Question 12

New Single answer

Topic: Community (Partner and Customer)

Skill tested: Selects a partner account, contact, and external-user model for B2B community access.

A manufacturer is launching a partner portal for independent resellers. Each reseller organization must have its own Salesforce account, and named reseller employees need access to opportunities and shared partner records according to their organization. The portal must support role-based sharing available to partner users. Which data and user model should the architect use?

Correct Answer: C. Create a separate Salesforce account for each reseller, associate each employee with a contact under that account, and enable the appropriate partner user type.
Explanation:

A partner organization is represented by an account, and each external person is represented by a contact associated with that account. Enabling the appropriate partner relationship and user type supports partner-user capabilities and the relevant partner sharing model. Internal users would consume internal licenses and do not represent external partner access. A shared login destroys individual identity and auditability, while customer users without the required account/contact relationship do not meet the partner-account model.

Question 13

New Multiple answers

Topic: Community (Partner and Customer)

Skill tested: Combines partner self-registration with federated authentication and controlled user association.

A company wants partner employees to register themselves on an Experience Cloud site and then sign in using their corporate identity provider. Existing partner accounts and contacts are already maintained in Salesforce. Registrations must not create duplicate contacts, and an external user's access must remain tied to the correct partner account. Which two design decisions best satisfy these requirements? Select TWO.

Correct Answer: C. Configure the corporate identity provider for the site's supported SSO pattern and ensure the authenticated identity maps to the intended Salesforce user.; D. Use a registration process that validates and associates the registrant with an approved existing account and contact before creating an external user.
Explanation:

Partner self-registration must associate a person with the correct existing account and contact before provisioning an external user; otherwise, duplicate or incorrectly related records can result. The corporate identity provider can provide SSO, but Salesforce must reliably map the authenticated identity to the intended user. Unrestricted account creation breaks account governance, shared credentials remove individual accountability, and display names are not unique identity keys. The two selected decisions address both record association and federated authentication.