Salesforce certification · Exam Salesforce-Platform-Identity-and-Access-Management-Architect

Salesforce-Platform-Identity-and-Access-Management-Architect Mock Exam Page 2

Salesforce Platform Identity and Access Management Architect - Plat-Arch-203

Free Salesforce-Platform-Identity-and-Access-Management-Architect questions on Identity Management Concepts, each with the answer and an explanation.

20 questions · 40 minutes · free, no sign-up

Identity Management Concepts questions

11–17 of 17 free
Question 11 Choose 1
An Identity and Access Management (IAM) Architect is recommending Identity Connect to integrate Microsoft Active Directory (AD) with Salesforce for user provisioning, deprovisioning and single sign-on (SSO).
Which feature of Identity Connect is applicable for this scenario?
Show answerHide answer

Correct answer: D When Identity Connect is in place, if a user is deprovisioned in an on-premise AD, the user’s Salesforce session is revoked immediately.

Explanation

Explanation:

This question tests your understanding of Salesforce Identity Connect capabilities when integrating Microsoft Active Directory. It focuses on user lifecycle management and security controls that Identity Connect provides beyond basic provisioning and SSO between AD and Salesforce.

✔️ Correct Option:

D. When Identity Connect is in place, if a user is deprovisioned in an on-premise AD, the user’s Salesforce session is revoked immediately.
Identity Connect supports real-time deprovisioning. When a user is disabled or deleted in AD, Identity Connect immediately deactivates the Salesforce user and revokes active sessions via the Identity Connect Event Monitoring integration. This ensures terminated users lose Salesforce access instantly, which is critical for compliance.

❌ Incorrect options:

A. Identify Connect can be deployed as a managed package on Salesforce org, leveraging High Availability of Salesforce Platform out-of-the-box.
Identity Connect is not a managed package installed in the Salesforce org. It’s a separate on-premise Java application that you install and manage on your own servers. It does not automatically inherit Salesforce platform HA and must be clustered manually for high availability.

B. When configured, Identity Connect acts as an identity provider to both Active Directory and Salesforce, thus providing SSO as a default feature.
Identity Connect is not an identity provider. It acts as a provisioning bridge between AD and Salesforce. For SSO, you still need a separate SAML IdP like AD FS or Azure AD. Identity Connect itself doesn’t issue SAML assertions, so SSO is not a default feature of Identity Connect.

C. If the number of provisioned users exceeds Salesforce licence allowances, Identity Connect will start disabling the existing Salesforce users in First-in, First-out (FIFO) fashion.
Identity Connect does not automatically disable users based on license counts or use FIFO logic. Provisioning stops or fails if you hit license limits, and admins must resolve it. Salesforce will not auto-deactivate existing users, as that would cause data and access issues.

🔧 Reference:
→ Salesforce Help – Identity Connect – Confirms Identity Connect synchronizes user changes from AD to Salesforce and immediately deactivates users plus revokes sessions when they are removed from Active Directory.
Question 12 Choose 1
Northern Trail Outfitters wants to enable single sign-on (SSO) for its Salesforce platform by integrating it with an identity provider (IdP).
Which step should be performed to establish the trust between Salesforce and the identity provider (IdP)?
Show answerHide answer

Correct answer: C Configuring a trust relationship by exchanging metadata XML files between Salesforce and the IdP.

Explanation

Explanation:

This question tests knowledge of establishing trust between Salesforce (as Service Provider) and an external identity provider for SAML-based SSO. SAML trust is established through metadata exchange, where both parties share XML files containing entity IDs, certificate public keys, endpoints, and binding configurations. This allows each system to cryptographically verify assertions and redirect URIs without custom code or network tunnels.

✔️ Correct Option:

✔️ C. Configuring a trust relationship by exchanging metadata XML files between Salesforce and the IdP.
SAML 2.0 defines metadata XML containing issuer URIs, X.509 certificates, endpoints (ACS for SP, SSO for IdP), and supported bindings. Admins upload IdP metadata into Salesforce's SAML SSO settings and provide Salesforce metadata to the IdP. This establishes cryptographic trust and correct message routing. This is the standard, code-free method recommended by Salesforce.

❌ Incorrect options:

❌ A. Setting up a VPN (Virtual Private Network) tunnel between Salesforce and the identity provider for secure communication.
SAML communications happen over standard HTTPS (port 443) with TLS, not VPN tunnels. VPN is unnecessary, often impossible (Salesforce cannot join customer VPNs), and adds operational overhead. SAML security relies on XML signatures and HTTPS, not network-layer tunnels.

❌ B. Embedding the identity provider's authentication code directly into Salesforce source code.
Salesforce is a multi-tenant cloud platform; customers cannot embed external authentication code into core Salesforce source code. This violates platform architecture, security boundaries, and upgradeability. SAML integration requires configuration, not code injection.

❌ D. Creating a custom login page within the Salesforce platform for user authentication.
A custom login page changes the UI but does not establish trust with an external IdP. In SAML SSO, authentication occurs at the IdP, not on a Salesforce login page. This option defeats SSO by keeping authentication within Salesforce instead of delegating to the IdP.

🔧 Reference:
→ Salesforce Help: Configure SAML SSO with Metadata Files
Confirms that admins can upload IdP metadata XML to Salesforce or download Salesforce SP metadata for the IdP to establish a trust relationship.
Question 13 Choose 3
Universal Containers is creating a mobile application that will be secured by Salesforce Identity using the OAuth 2.0 user-agent flow (this flow uses the OAuth 2.0 implicit grant type). Which three OAuth concepts apply to this flow?
Choose 3 answers
Show answerHide answer

Correct answer: A, B, E ScopesClient IDRefresh Token

Explanation

Explanation:

This question explores the fundamental components of the OAuth 2.0 User-Agent Flow, which is typically utilized by mobile and desktop applications. It tests the architect's ability to identify which parameters are required to define permissions and establish long-term access in a browser-based redirection model.

✅ Option A: Scopes:
Scopes are essential in the User-Agent flow as they define the specific permissions the mobile application is requesting, such as api, web, or refresh_token. During the flow, these scopes are presented to the user on the authorization screen, allowing them to explicitly grant or deny the application access to specific parts of their Salesforce data.

✅ Option B: Client ID:
The Client ID (known as the Consumer Key in Salesforce) is a unique identifier for the Connected App. In the User-Agent flow, the mobile app must provide this ID in the initial authorization request so Salesforce can identify which application is requesting access and apply the correct security policies and redirect URIs configured for that specific app.

✅ Option E: Refresh Token:
While the standard OAuth 2.0 Implicit Grant does not typically support refresh tokens, the Salesforce User-Agent flow does allow an application to request a refresh_token scope. If granted, Salesforce returns a refresh token alongside the access token, enabling the mobile app to maintain long-term access without requiring the user to re-authenticate every time the short-lived access token expires.

❌ Option C: Authorization Code:
The Authorization Code is a concept exclusive to the OAuth 2.0 Web Server Flow, where a temporary code is exchanged for an access token on a secure backend server. In the User-Agent flow (Implicit Grant), no intermediate code is used; the access token is returned directly in the URL fragment after the user authenticates.

❌ Option D: Verification Code:
A "Verification Code" is generally used in the Device Flow (for devices with no browser) or during Multi-Factor Authentication (MFA) challenges. It is not a core architectural component of the standard OAuth 2.0 User-Agent flow used to establish the identity and permission handshake between a mobile client and Salesforce.

🔧 Reference:
→ Salesforce Help: OAuth 2.0 User-Agent Flow
This documentation confirms that Client ID, Scopes, and Refresh Tokens are integral parts of the User-Agent flow used to secure mobile and desktop apps.
Question 14 Choose 3
Northern Trail Outfitters (NTO) has an existing business-to-consumer (B2C) website that does NOT support single sign-on standards, such as Security Assertion Markup Language (SAML) or OAuth. NTO wants to use Salesforce Identity to register and authenticate new customers on the website.

Which three Salesforce features should an Identity architect use in order to provide social sign-in capabilities for the website?

Choose 3 answers
Show answerHide answer

Correct answer: A, B, D Connected AppsAuthentication ProvidersEmbedded Login

Explanation

Explanation:

This scenario is about enabling social sign-in for a B2C website that does not support SAML or OAuth natively. Salesforce Identity must provide external authentication, user registration, and seamless login integration.

You need features that support:

Social identity federation
External app trust
Embedded customer login experience

🟢 Correct Options:

A. Connected Apps
Connected Apps establish the trust framework between Salesforce and external applications. They are required to configure authentication flows, define access policies, and enable secure integration for external websites using Salesforce Identity services.

B. Authentication Providers
Authentication Providers enable social login and external identity federation (Google, Facebook, etc.). They allow users to authenticate using third-party identity systems and map external identities into Salesforce customer records. This is the core feature for social sign-in.

D. Embedded Login
Embedded Login allows Salesforce authentication and registration UI to be embedded directly into a B2C website. It is essential when the external system does not support SAML or OAuth, providing seamless login without requiring protocol implementation on the website.

🔴 Incorrect Options:

C. Delegated Authentication
Delegated Authentication forwards password validation to an external system. It is not designed for social login or identity federation and does not support modern customer authentication experiences.

E. Identity Connect
Identity Connect is used for syncing enterprise users between Active Directory and Salesforce. It is intended for internal workforce identity management, not B2C social sign-in or customer authentication.

🔧 Reference:
→ Salesforce Identity – Authentication Providers and Social Sign-On
This document explains how Salesforce uses Authentication Providers, Connected Apps, and Embedded Login to enable social sign-in and external customer authentication for B2C websites.
Question 15 Choose 1
Universal Containers (UC) is planning to add Wi-Fi enabled GPS tracking devices to its shipping containers so that the GPS coordinates data can be sent from the tracking device to its Salesforce production org via a custom API. The GPS devices have no direct user input or output capabilities.

Which OAuth flow should the identity architect recommend to meet the requirement?
Show answerHide answer

Correct answer: A OAuth 2.0 Asset Token Flow for Securing Connected Devices

Explanation

Explanation:

This question tests the right OAuth flow for a device-to-Salesforce integration where no user interface exists. Since the GPS trackers have no direct user input or output, a device-focused flow is needed rather than a user interactive or server login flow.

Option A
✔️ OAuth 2.0 Asset Token Flow for Securing Connected Devices
This is the best choice because Salesforce designed the Asset Token flow for connected devices such as IoT hardware. It supports device identity and secure data exchange without user interaction, which matches GPS trackers sending coordinates through a custom API to Salesforce production org.

Option B
❌ OAuth 2.0 Web Server Flow for Web App Integration
The Web Server flow is meant for browser-based apps where a user can sign in interactively. These GPS devices have no user interface, so this flow is not suitable for machine-to-machine device authentication.

Option C
❌ OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration
JWT Bearer flow is useful for server-to-server integrations, but here the source is a connected device with no user input or output. Salesforce recommends Asset Token flow specifically for connected devices, so it is the more accurate fit.

Option D
❌ OAuth 2.0 Username-Password Flow for Special Scenarios
This flow requires storing a username and password, which is not appropriate for unattended IoT devices. It is also considered a special-case approach, not the recommended model for secure device-based integrations.

🔧 Reference:
→ OAuth 2.0 Asset Token Flow for Securing Connected Devices
— Confirms Salesforce uses the Asset Token flow for connected devices and IoT integrations.
Question 16 Choose 1
When designing a multi-branded Customer Identity and Access Management solution on the Salesforce Platform, how should an identity architect ensure a specific brand experience in Salesforce is presented?
Show answerHide answer

Correct answer: A The Experience ID, which can be included in OAuth/Open ID flows and Security Assertion Markup Language (SAML) flows as a URL parameter.

Explanation

Explanation:

This question tests knowledge of multi-branded Customer Identity and Access Management (CIAM) on the Salesforce Platform. When multiple brands share a single Salesforce org, an identity architect must ensure each brand's users land on the correct branded experience. Salesforce provides a native mechanism to handle this through Experience Cloud and its associated parameters.

✅ A. The Experience ID, which can be included in OAuth/Open ID flows and Security Assertion Markup Language (SAML) flows as a URL parameter.
Salesforce supports the community URL parameter (Experience ID) that can be passed in both OAuth/OpenID and SAML authentication flows. This natively directs users to the correct branded Experience Cloud site without any custom development, making it the cleanest and most architecturally sound approach for multi-brand CIAM implementations.

❌ B. The Audience ID, which can be set in a shared cookie.
There is no standard Salesforce concept called Audience ID used for brand routing via shared cookies. Shared cookies introduce security and cross-domain concerns and are not a recommended or supported Salesforce-native mechanism for directing users to specific branded experiences during authentication flows.

❌ C. Add a custom parameter to the service provider's OAuth/SAML call and implement logic on its login page to apply branding based on the parameters value.
While technically possible, this approach requires custom development and logic on the login page, adding unnecessary complexity and maintenance overhead. Salesforce already provides the native Experience ID parameter for this exact purpose, making this option redundant and inefficient.

❌ D. Provide a brand picker that the end user can use to select its sub-brand when they arrive on Salesforce.
Asking end users to manually select their brand creates a poor user experience and introduces the risk of users selecting the wrong brand. Authentication flows should be seamless and transparent — brand routing must happen automatically based on system parameters, not user input.

🔧 Reference:
→ Experience Cloud SSO and OAuth Configuration – Salesforce Help
Confirms use of the community URL parameter in SAML and OAuth flows to route users to specific branded Experience Cloud sites within a single Salesforce org.
Question 17 Choose 2
A technology enterprise is planning to implement single sign-on login for users. When users log in to Salesforce, data should be populated in User object custom fields.

Which two steps should an identity architect recommend?
Choose 2 answers
Show answerHide answer

Correct answer: A, C Implement Auth.SamJitHandler Interface.Create and update methods.

Explanation

Explanation:

This question tests SAML Just-in-Time provisioning in Salesforce. When users SSO into Salesforce via SAML, you can auto-create or update users and map assertion attributes to standard or custom fields on the User object. To populate custom fields, you must use a custom Apex handler class.

✔️ Correct Option:

A. Implement Auth.SamlJitHandler Interface
For SAML SSO, Salesforce provides Auth.SamlJitHandler to customize JIT provisioning. Implementing this interface lets you control how assertion attributes from the IdP map to Salesforce User fields, including custom fields. This is required when standard JIT field mapping is insufficient for custom logic or fields.

C. Create and update methods
The Auth.SamlJitHandler interface requires you to implement createUser and updateUser methods. Inside these methods you write Apex to read incoming SAML attributes and populate both standard and custom User fields. Without these methods, Salesforce cannot know how to set custom field values during JIT.

❌ Incorrect options:

B. Implement SessionManagement Class
SessionManagement is used for transaction security policies and monitoring active sessions. It has no role in SAML JIT provisioning or populating User fields during SSO login, so it doesn’t meet the requirement.

D. Implement RegistrationHandler Interface
Auth.RegistrationHandler is used for Social Sign-On and OpenID Connect with Auth Providers, mainly for Communities. For SAML JIT with Salesforce as the service provider, you must use Auth.SamlJitHandler, not RegistrationHandler. Using the wrong interface won’t work for SAML SSO.

🔧 Reference:
→ Salesforce Developer Guide – Auth.SamlJitHandler Interface – Confirms this interface is used to customize SAML JIT provisioning and requires createUser and updateUser methods to map attributes to User fields.

That's the last free question in Identity Management Concepts

You've seen the free 30% (17 of 57 questions). Full access unlocks every question and full-length Salesforce-Platform-Identity-and-Access-Management-Architect mock exams (60 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the Salesforce-Platform-Identity-and-Access-Management-Architect exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Platform-Identity-and-Access-Management-Architect exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Salesforce-Platform-Identity-and-Access-Management-Architect mock exam
  • 60questions per mock
  • 120 mintime limit
  • 109questions in the bank
  • Newmock on every attempt