Home / Salesforce Certified Identity and Access Management Architect / Mock exam
Salesforce Certified Identity and Access Management Architect Exam-style mock test

Salesforce Identity and Access Management Architect Practice Exams|Practice test

Full explanations Exam format Pass line 63%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Identity Fundamentals, SSO, and SAML
A B2B SaaS company, LedgerLoop, lets corporate buyers sign in to its Salesforce-hosted customer portal. During a design review, an architect must explain the difference between authentication and authorization to stakeholders. Which statement correctly describes authorization in this context?
・It verifies the buyer's identity by validating the credentials presented at the corporate identity provider login page
Incorrect. Verifying credentials to confirm who the user is describes authentication, not authorization.
✓It decides which portal records and features the buyer may access after sign-in
Correct. Authorization governs what an already-authenticated user is permitted to do, such as which records and features they can access.
・It issues the session cookie that keeps the buyer logged in to the portal across multiple browser requests
Incorrect. Issuing and maintaining a session is a session-management concern, separate from deciding access rights.
・It encrypts the SAML assertion while it travels from the identity provider to the Salesforce service provider endpoint
Incorrect. Encrypting the assertion is a transport/security control, not the authorization decision itself.
Explanation
Authentication answers 'who are you,' while authorization answers 'what are you allowed to do' once identity is confirmed.
Example2 · OAuth, OpenID Connect, and Connected Apps
NimbusDesk, a B2B SaaS help-desk vendor, is building a nightly batch job that pushes resolved-ticket metrics from its own server into a customer's Salesforce org. There is no interactive user at runtime, and the integration user's credentials must never be stored or sent as a password. Which OAuth 2.0 flow should the architect choose for the Connected App?
✓JWT Bearer Token flow that authenticates with a server-side digital certificate assertion
Correct. The JWT Bearer flow lets the server present a signed assertion backed by a certificate, so no password is sent and no interactive login is needed for the unattended batch job.
・Web Server flow with an authorization code and a short-lived consumer secret value
Incorrect. The Web Server flow requires an interactive user to approve the authorization request and return a code, which does not fit an unattended nightly job.
・User-Agent flow that returns the access token directly in the redirect URI fragment
Incorrect. The User-Agent flow is for client-side apps that cannot keep a secret and still requires an interactive browser session to authorize.
・Username-Password flow passing the integration user credentials to the token endpoint
Incorrect. The Username-Password flow transmits the user's actual password to the token endpoint, directly violating the requirement to never send a password.
Explanation
Unattended server-to-server integrations with no password exposure are the canonical use case for the JWT Bearer Token flow, which uses a certificate-signed assertion.
Example3 · Identity Providers, Social Sign-On, and Delegated Authentication
A B2B SaaS company uses Salesforce as the system of record for its workforce and wants Salesforce to act as the SAML identity provider so employees can single sign-on into a third-party support portal. The architect has enabled Salesforce as an Identity Provider. What must be configured next so the support portal will trust assertions issued by Salesforce?
✓Register the support portal as a connected app and configure its ACS URL, entity ID, and subject attributes
Correct. The service provider must be registered as a connected app with its Assertion Consumer Service (ACS) URL and entity ID so Salesforce knows where to post the SAML assertion.
・Enable My Domain and deploy it, then purchase an additional identity license per user
Incorrect. My Domain is required to be an IdP but it is already implied, and no per-user identity license purchase is what establishes the trust with the portal.
・Create a SAML single sign-on setting pointing Salesforce to the support portal
Incorrect. A SAML single sign-on setting configures Salesforce as a service provider (inbound), not as an identity provider issuing assertions outbound.
・Set up a named credential that stores the support portal admin password for the users
Incorrect. A named credential stores credentials for Salesforce to call an external endpoint, not for issuing SAML assertions to a relying portal.
Explanation
When Salesforce is the SAML IdP, each service provider is modeled as a connected app whose ACS URL and entity ID tell Salesforce where and how to deliver the signed assertion.
Example4 · Provisioning, SCIM, and Identity Lifecycle
A healthcare services firm manages clinician identities in an IdP and wants new hires automatically created as Salesforce users the moment their IdP account is activated, with no nightly file loads. The architect needs the IdP to push user records in real time using an industry-standard protocol. Which Salesforce capability should the firm configure to receive these provisioning requests?
・A scheduled Data Loader job reading an exported HR CSV every night
Incorrect. A nightly Data Loader CSV job is batch, not real-time, and does not use an industry-standard provisioning protocol as required.
✓User Provisioning for Connected Apps using SCIM 2.0 endpoints
Correct. Salesforce exposes SCIM 2.0 REST endpoints, letting an IdP push create and update operations in real time as a standards-based provisioning target.
・Just-in-time provisioning embedded in inbound SAML assertion attributes at login
Incorrect. SAML JIT only provisions a user when they actually log in, so it cannot create the account at the moment of IdP activation before first login.
・A custom Apex REST service using its own proprietary payload format
Incorrect. A proprietary Apex REST payload abandons the industry-standard protocol requirement and increases long-term maintenance burden.
Explanation
SCIM 2.0 over Salesforce's provisioning REST endpoints is the standards-based way for an IdP to push real-time create and update operations to Salesforce.
Example5 · MFA, Session Security, and Governance
A healthcare services firm must require MFA for all internal clinicians who log in directly to Salesforce with username and password, but they do not want to disrupt the SSO-based login their revenue-cycle team already uses through the corporate IdP. Which approach lets the architect enforce MFA only for the direct Salesforce logins?
✓Enable the session setting requiring MFA for all direct UI logins; federated SSO stays governed by the IdP
Correct. The built-in session setting for direct UI logins applies MFA to password-based access, while SSO logins remain governed by the IdP's authentication, meeting both requirements.
・Build a custom login flow that calls an external SMS verification gateway for every single one of the direct logins
Incorrect. A custom login flow to an external SMS gateway is unnecessary and bypasses Salesforce's native MFA verification methods.
・Disable single sign-on for the revenue-cycle team and route everyone through direct logins
Incorrect. Disabling SSO disrupts the revenue-cycle team, which directly violates the stated requirement.
・Turn on the org-wide MFA setting and also remove the Authenticator app entirely
Incorrect. Removing the Authenticator app does not scope MFA to direct logins and forces unnecessary re-registration without addressing the SSO exemption.
Explanation
The direct-UI-login MFA session setting enforces MFA for password-based logins while leaving federated SSO authentication to the external IdP, satisfying both scoping requirements.
Example6 · Identity Fundamentals, SSO, and SAML
A healthcare services firm is reviewing how its Salesforce org controls clinician access. The identity architect is asked to clarify which security concern is addressed by authentication versus authorization. Which statement correctly describes authentication?
・It evaluates the clinician's profile and permission sets to decide which objects and fields the user may open
Incorrect. Evaluating profiles and permission sets to decide what a verified user may access is authorization, which happens after identity is confirmed, not authentication.
✓It confirms the person logging in is genuinely who they claim
Correct. Authentication is the process of verifying that a user is genuinely who they claim to be before granting a session.
・It encrypts stored patient data fields at rest so saved records cannot be read directly
Incorrect. Encrypting stored data is a data-protection control (such as Shield Platform Encryption) and is unrelated to proving user identity.
・It records every patient record the clinician opens so the activity can be reviewed in audits
Incorrect. Recording records a user views is audit/event monitoring, not the act of verifying the user's identity.
Explanation
Authentication answers 'who are you?' by verifying identity; authorization answers 'what can you do?' after identity is established.
Example7 · Identity Fundamentals, SSO, and SAML
NorthPeak Outfitters, a retail brand, lets store associates sign in to Salesforce through the corporate identity provider. After a successful login, an associate complains that she can see cases but cannot edit price books. The architect must explain which identity concept governs what the associate is allowed to do once she is signed in. Which statement correctly frames this?
✓Authorization governs what the signed-in associate is permitted to do.
Correct. Authorization decides what an already-authenticated user may do, and Salesforce enforces it with profiles and permission sets.
・Authentication determines which resources the associate may access after her credentials are validated against the directory.
Incorrect. Authentication only verifies identity; it does not decide which resources are permitted.
・Just-in-time provisioning determines access scope by copying directory group memberships into Salesforce roles during login.
Incorrect. JIT provisioning creates or updates the user record, but access scope is still governed by authorization controls, not provisioning itself.
・Session persistence determines access by extending the validated login token across every connected application.
Incorrect. Session persistence concerns how long a login remains valid, not what the user is permitted to do.
Explanation
Authentication proves who you are; authorization decides what you can do. The edit restriction is an authorization matter enforced by profiles and permission sets.
Example8 · Identity Fundamentals, SSO, and SAML
NorthPeak Outfitters uses its on-premises directory to authenticate employees into Salesforce. During an SSO design review, a stakeholder asks which system is considered the service provider in this arrangement. Which answer is correct?
✓Salesforce is the service provider because it consumes the assertion and grants access to its application for the authenticated user.
Correct. The service provider is the application that relies on and consumes the identity assertion, which is Salesforce here.
・The corporate directory is the service provider since it holds the authoritative credentials and validates the employee password.
Incorrect. The directory validating credentials is acting as the identity provider, not the service provider.
・Salesforce is the service provider only when it is configured to also issue assertions to downstream connected apps.
Incorrect. Salesforce is the service provider in this flow regardless of whether it also acts as an IdP elsewhere.
・The browser is the service provider because it relays the assertion between the directory and the application.
Incorrect. The browser is only the user agent relaying messages; it is not a party that consumes the assertion.
Explanation
In SSO the service provider is the application receiving and trusting the assertion (Salesforce), while the directory issuing it is the identity provider.
Example9 · Identity Fundamentals, SSO, and SAML
NorthPeak Outfitters is implementing browser-based SAML SSO into Salesforce. The security team requires that the SAML response be delivered to Salesforce through the user's browser using an auto-submitting form, so that the assertion never travels directly between the IdP and Salesforce servers. Which SAML binding should the architect specify for the response?
✓HTTP POST binding, which sends the SAML response in a form field submitted by the browser to the service provider.
Correct. The HTTP POST binding delivers the SAML response via an auto-submitting browser form to the service provider, matching the requirement.
・HTTP Redirect binding, which encodes the SAML response into query string parameters appended to the URL.
Incorrect. Redirect binding is limited by URL length and is generally used for requests, not large signed responses.
・SOAP back-channel binding, which transmits the assertion directly server-to-server without routing it through the user's browser at all.
Incorrect. SOAP is a back-channel server-to-server exchange, which violates the requirement that the browser carry the response.
・Artifact binding, which passes a short reference that the service provider must resolve by making a separate direct back-channel call to the identity provider.
Incorrect. Artifact binding requires the service provider to call the IdP directly, so the assertion does not flow through the browser.
Explanation
Delivering a SAML response through the browser via an auto-submitting form is the HTTP POST binding, the standard for Salesforce SP-side SSO.
Example10 · Identity Fundamentals, SSO, and SAML
At Meridian Capital, a wealth management firm, employees log in to a third-party portfolio analytics app by first authenticating at the corporate Salesforce org, which then asserts their identity to the analytics app. In this SAML flow, what role does Salesforce play?
・Service Provider, because it consumes the SAML assertion generated by the external analytics application for the advisors
Incorrect. A Service Provider consumes assertions; here Salesforce issues the assertion to the analytics app, so it is not the SP.
✓Identity Provider, since it authenticates the user and issues the assertion
Correct. Salesforce authenticates the employee and generates the SAML assertion sent to the analytics app, which is the Identity Provider role.
・Relying party, because it trusts and validates the token returned by the downstream analytics application
Incorrect. The relying party (another term for the SP) consumes the token; the analytics app is the relying party, not Salesforce.
・Policy decision point, because it evaluates attribute statements and then enforces fine-grained record access
Incorrect. A policy decision point describes authorization evaluation, not the SAML authentication role Salesforce plays as issuer of the assertion.
Explanation
The entity that authenticates the user and issues the SAML assertion is the Identity Provider. Salesforce asserts identity to the analytics app, which acts as the Service Provider.
Example11 · Identity Fundamentals, SSO, and SAML
During an access review at Meridian Capital, a security architect must explain the difference between authentication and authorization to a compliance auditor. Which statement correctly describes authorization?
・Authorization confirms the advisor is who they claim to be by validating a presented credential
Incorrect. Verifying who someone claims to be is authentication, not authorization.
✓Authorization determines which specific resources, records, and operations an already-authenticated advisor is permitted to access once their identity has been verified by the system
Correct. Authorization governs what resources, records, and operations a verified user is granted access to once their identity has been confirmed.
・Authorization establishes the initial trust relationship and key exchange between the identity provider and service provider
Incorrect. Establishing the trust relationship and key exchange is configuration, not the runtime authorization decision for a user.
・Authorization issues the session identifier that tracks the advisor across multiple page requests during a login
Incorrect. Issuing a session identifier relates to session management, not to deciding which resources a user may access.
Explanation
Authentication verifies identity; authorization decides what a verified identity is permitted to do. The option describing resource access control is authorization.
Example12 · Identity Fundamentals, SSO, and SAML
At Meridian Industrial Supply, a manufacturing distributor, the IT architect is explaining the identity flow to new admins. A dealer portal user signs in with corporate credentials, and then the portal decides which price lists the user may view. Which statement best describes the two concepts at work in this flow?
✓Authentication verifies who the user is, while authorization determines what access is permitted
Correct. Authentication establishes identity (who you are), and authorization governs access rights (what you can do) once identity is known.
・Authentication and authorization both confirm the user's identity before any resource request is ever evaluated by the system
Incorrect. Only authentication confirms identity; authorization is a separate step that evaluates permissions after identity is established.
・Authentication grants access to the price lists, while authorization establishes the user's corporate credentials at the identity provider during login
Incorrect. This reverses the roles: credential verification is authentication, and access to price lists is authorization.
・Authorization is the step that proves the user's identity, while authentication assigns the user's permissions
Incorrect. The two terms are swapped; authentication proves identity and authorization assigns permissions.
Explanation
Authentication answers 'who are you?' and authorization answers 'what may you do?' These are distinct, sequential concerns in any SSO design.
Example13 · Identity Fundamentals, SSO, and SAML
Meridian Industrial Supply wants employees to log in to their corporate Active Directory portal first and then click a tile that launches them directly into Salesforce without re-entering credentials. Which SSO initiation pattern should the architect implement for this requirement?
✓Identity Provider-initiated SSO, where the corporate Active Directory IdP generates the signed assertion and posts it directly to the Salesforce service provider
Correct. Because the journey starts at the corporate IdP portal and launches into Salesforce, this is IdP-initiated SSO with the IdP posting the SAML assertion.
・Service Provider-initiated SSO, because the user begins at the Salesforce login page and is redirected back to the corporate directory
Incorrect. SP-initiated SSO starts at the service provider (Salesforce); here the user starts at the corporate portal, so it is IdP-initiated.
・A delegated authentication gateway that intercepts every Salesforce password and validates it against the on-premises directory synchronously
Incorrect. Delegated authentication validates passwords entered at Salesforce against an endpoint and is not the portal-tile launch pattern described.
・Just-in-time provisioning alone, which only creates the user record and does not set the SSO initiation direction
Incorrect. JIT provisioning creates or updates users during SSO but does not by itself define the initiation direction requested.
Explanation
Starting at the corporate portal and launching into Salesforce is the hallmark of IdP-initiated SSO.
Example14 · Identity Fundamentals, SSO, and SAML
A telecom operator lets subscribers log in to its self-service Salesforce Experience Cloud portal using the carrier's corporate IdP. During design review, an architect is asked which concept the IdP is primarily responsible for when it issues the SAML assertion back to Salesforce. Which statement is correct?
✓The IdP asserts the user's identity (authentication), while Salesforce decides access
Correct. Authentication (proving identity) is the IdP's job; authorization (what the user can access) remains with Salesforce as the service provider.
・The IdP determines and grants the specific permission sets and object-level access the subscriber receives in the portal
Incorrect. Granting permission sets and object access is authorization, which Salesforce the service provider controls, not the asserting IdP.
・The IdP both proves the subscriber's identity and configures every sharing rule applied to the subscriber's records
Incorrect. Sharing rules are Salesforce authorization and record-access constructs; the IdP only asserts identity, it does not configure sharing.
・The IdP verifies the subscriber's password and then issues the Salesforce session cookie directly to the browser
Incorrect. The IdP returns a SAML assertion to Salesforce; Salesforce, not the IdP, establishes the Salesforce session after validating it.
Explanation
In federation the IdP handles authentication (identity), while the service provider (Salesforce) handles authorization and session creation.
Example15 · Identity Fundamentals, SSO, and SAML
The telecom operator's engineers already authenticate to a central corporate IdP and want click-through access into Salesforce without re-entering credentials. In this SAML SSO design, what role does Salesforce play?
✓Service provider that receives, consumes, and cryptographically validates the SAML assertion generated and signed by the corporate identity provider
Correct. When an external IdP authenticates users, Salesforce acts as the SAML service provider that receives, consumes, and validates the assertion.
・Identity provider that authenticates the engineers and sends assertions to the corporate directory
Incorrect. The corporate IdP authenticates users; Salesforce is not the IdP in this inbound SSO flow.
・Relying token issuer that mints OAuth access tokens for the corporate identity provider to validate
Incorrect. This describes OAuth token issuance, not the SAML service-provider role Salesforce plays here.
・Assertion authority that both signs the SAML response and stores the engineers' primary credentials
Incorrect. The corporate IdP signs the assertion and holds credentials; Salesforce only validates the incoming assertion.
Explanation
With an external corporate IdP, Salesforce consumes the SAML assertion as the service provider.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)