Praxis Academy
Home › Experience Cloud Consultant › User Creation and Authentication

Experience Cloud Consultant practice questions: User Creation and Authentication

User Creation and Authentication is 13% of the Salesforce Certified Experience Cloud Consultant exam. It covers self-registration, delegated admin, SSO, social sign-on and login flows. Try these 10 free questions, then open each answer to see why every option is right or wrong.

01

A home appliance retailer is launching a Customer Service site with Customer Community licenses. Customers must be able to sign up on their own, and every new contact should be created under a single business account called 'Online Customers'. What should the consultant configure?

  1. Enable Person Accounts and select the Customer Community profile in Sharing Settings.
  2. In Administration > Login & Registration, allow external users to self-register, select the default profile, and set 'Online Customers' as the account.
  3. Build a record-triggered Flow on Contact that creates a User record when the contact is inserted.
  4. Grant the guest user profile the Manage Users permission so visitors can create their own users.
Show answer

Answer: B

A. Enable Person Accounts and select the Customer Community profile in Sharing Settings.Person Accounts would create a separate account for each customer, which contradicts the requirement for one shared business account.
B. In Administration > Login & Registration, allow external users to self-register, select the default profile, and set 'Online Customers' as the account. ✓Correct. The Login & Registration page controls self-registration, the profile assigned to new users, and the default account their contacts are created under.
C. Build a record-triggered Flow on Contact that creates a User record when the contact is inserted.Self-registration already creates the contact and user; a custom Flow adds complexity and does not expose a sign-up page.
D. Grant the guest user profile the Manage Users permission so visitors can create their own users.Guest users cannot be granted administrative permissions like Manage Users, and doing so would be a serious security risk.

Why: Self-registration is enabled per site in Administration > Login & Registration, where the admin picks the profile and, for business-account models, the default account that new contacts are associated with.

02

An industrial equipment manufacturer is onboarding a new reseller. When the admin clicks Enable Partner User on a reseller contact, Salesforce shows an error saying the account owner must be associated with a role. What should the admin do?

  1. Enable Super User Access for the reseller contact before enabling the partner user.
  2. Change the reseller account's record type to a partner record type.
  3. Increase the number of partner roles in Digital Experiences Settings.
  4. Assign a role to the internal user who owns the reseller account, then enable the partner user again.
Show answer

Answer: D

A. Enable Super User Access for the reseller contact before enabling the partner user.Super User Access controls data visibility between partner users; it does not satisfy the role requirement for the account owner.
B. Change the reseller account's record type to a partner record type.Record types do not affect partner enablement; the error is about the account owner's role.
C. Increase the number of partner roles in Digital Experiences Settings.The number of partner roles defines how many roles are created per partner account, not the role of the internal account owner.
D. Assign a role to the internal user who owns the reseller account, then enable the partner user again. ✓Correct. Partner roles are created beneath the account owner's role, so the account owner must have a role before partner users can be created.

Why: Partner (and Customer Community Plus) users get roles in the hierarchy below the account owner's role. If the account owner has no role, Salesforce cannot create the external roles and blocks user creation.

03

A franchise network has 300 franchisee accounts on its partner site. Each franchise owner wants to add, update and deactivate site users for their own staff without waiting for the corporate admin team. What should the consultant configure?

  1. Grant the Delegated External User Administrator permission on the franchise owners' partner profile and list the profiles they may assign in the Delegated External User Profiles related list.
  2. Assign the franchise owners the System Administrator profile with a partner license.
  3. Create a Screen Flow that lets franchise owners insert User records and expose it on the site home page.
  4. Add the franchise owners to a Public Group with the Manage Users permission.
Show answer

Answer: A

A. Grant the Delegated External User Administrator permission on the franchise owners' partner profile and list the profiles they may assign in the Delegated External User Profiles related list. ✓Correct. Delegated external user administration lets selected external users manage users in their own account, limited to the profiles the admin allows.
B. Assign the franchise owners the System Administrator profile with a partner license.The System Administrator profile cannot be used with external licenses and would grant far too much access.
C. Create a Screen Flow that lets franchise owners insert User records and expose it on the site home page.Building custom user management duplicates a standard feature and requires extra security work to restrict which users and profiles can be managed.
D. Add the franchise owners to a Public Group with the Manage Users permission.Public groups do not carry permissions; Manage Users is not something a group can grant.

Why: Delegated external user administration is enabled with the Delegated External User Administrator profile permission. The admin then controls which external profiles those users can assign, and they can manage only users tied to their own account.

04

A university's alumni site uses self-registration. Some alumni receive an error during sign-up because their email address is already used as a username in another Salesforce org. The university wants alumni to keep using their email to log in. What should the consultant recommend?

  1. Customize the self-registration handler to build a unique username, such as the email plus a site-specific suffix, and let users log in with their email through login discovery.
  2. Ask Salesforce Support to make usernames unique only within the university's org.
  3. Switch the alumni to Partner Community licenses, which do not require unique usernames.
  4. Disable self-registration and require alumni to email the admin team for an account.
Show answer

Answer: A

A. Customize the self-registration handler to build a unique username, such as the email plus a site-specific suffix, and let users log in with their email through login discovery. ✓Correct. Usernames must be unique across all Salesforce orgs, so a generated username combined with email-based login avoids conflicts without changing the user experience.
B. Ask Salesforce Support to make usernames unique only within the university's org.Username uniqueness across all orgs is a platform rule and cannot be changed by Support.
C. Switch the alumni to Partner Community licenses, which do not require unique usernames.All Salesforce users, regardless of license, need globally unique usernames.
D. Disable self-registration and require alumni to email the admin team for an account.This removes self-service and creates manual work instead of solving the username conflict.

Why: Salesforce usernames must be unique across every org. Sites often generate a username behind the scenes (for example, appending a suffix) while letting users identify themselves with their email or phone number.

05

A travel agency added a Facebook Auth. Provider to its customer site. First-time travelers who sign in with Facebook should automatically get a Customer Community user under the 'Web Travelers' account. How should the registration handler's createUser method be implemented?

  1. Create a contact under the 'Web Travelers' account and return a new User with that ContactId and the customer site profile.
  2. Return a new User with the Standard User profile and no contact so the traveler can be linked later.
  3. Return null so Salesforce automatically creates a person account and user.
  4. Update the existing guest user record with the traveler's Facebook details.
Show answer

Answer: A

A. Create a contact under the 'Web Travelers' account and return a new User with that ContactId and the customer site profile. ✓Correct. External users must be linked to a contact, so the handler creates the contact first and returns a user with ContactId and an external profile.
B. Return a new User with the Standard User profile and no contact so the traveler can be linked later.Without a ContactId and external profile, the handler would create an internal user, which is not valid for a customer site.
C. Return null so Salesforce automatically creates a person account and user.Returning null does not trigger automatic user creation; the login fails because no user is provided.
D. Update the existing guest user record with the traveler's Facebook details.The guest user is shared by all anonymous visitors and must never be turned into a named user.

Why: An Auth.RegistrationHandler has createUser (first login) and updateUser (later logins). For Experience Cloud, createUser typically creates or finds a contact and returns a user with ContactId and an external profile.

06

A property insurer updated its partner agreement. Every partner user must review and accept the new terms the next time they log in to the partner site before reaching the home page. What should the consultant recommend?

  1. Build a Screen Flow of type Login Flow that displays the terms and records acceptance, then connect it to the partner profile in Setup > Login Flows.
  2. Add a Rich Content Editor with the terms to the site home page.
  3. Create a validation rule on User that blocks login until a checkbox is selected.
  4. Change the partner profile's session timeout to force users to re-read the terms.
Show answer

Answer: A

A. Build a Screen Flow of type Login Flow that displays the terms and records acceptance, then connect it to the partner profile in Setup > Login Flows. ✓Correct. Login flows run after authentication and before the user reaches the site, and they are connected to specific profiles.
B. Add a Rich Content Editor with the terms to the site home page.Content on the home page can be ignored; it does not force acceptance before access.
C. Create a validation rule on User that blocks login until a checkbox is selected.Validation rules fire on record save, not at login, so they cannot gate access to the site.
D. Change the partner profile's session timeout to force users to re-read the terms.Session timeout settings control how long sessions last and do not display or capture terms acceptance.

Why: Login flows let you add screens and logic to the login process, such as terms acceptance or data collection. You create them in Flow Builder with the Login Flow type and connect them to the profiles that should see them.

07

A cosmetics brand's marketing team wants to redesign the customer site's login page with seasonal banners and promotional text, and update it themselves without developers. What should the consultant configure?

  1. A Visualforce login page with the banners stored as static resources.
  2. A Login Flow that shows a promotional screen before the login page.
  3. The Default Page login type with a custom logo uploaded in Setup.
  4. Set the Login Page Type to Experience Builder Page and design the login page in Experience Builder.
Show answer

Answer: D

A. A Visualforce login page with the banners stored as static resources.Visualforce pages require code changes for every update, which the marketing team cannot do on its own.
B. A Login Flow that shows a promotional screen before the login page.Login flows run after authentication, so they cannot change the login page itself.
C. The Default Page login type with a custom logo uploaded in Setup.The default page offers limited branding and does not support banners and rich layouts.
D. Set the Login Page Type to Experience Builder Page and design the login page in Experience Builder. ✓Correct. An Experience Builder login page can be edited with drag-and-drop components by non-developers.

Why: In Login & Registration you can choose the login page type. An Experience Builder Page gives the most declarative control over branding and layout, while Visualforce requires code.

08

An online language school sells directly to individual students. Each student who self-registers on the site should get their own account record rather than being grouped under one shared account. Person Accounts are already enabled. How should self-registration be configured?

  1. Leave the Account field blank in the self-registration settings so registrants are created as person accounts.
  2. Select a placeholder business account and run a nightly batch to split contacts into separate accounts.
  3. Enable Partner Super User Access so each student gets a private account.
  4. Use the Partner Community license so each registrant gets a separate partner account.
Show answer

Answer: A

A. Leave the Account field blank in the self-registration settings so registrants are created as person accounts. ✓Correct. When person accounts are enabled and no default account is selected, self-registered users are created as person accounts.
B. Select a placeholder business account and run a nightly batch to split contacts into separate accounts.This adds unnecessary processing when the platform can create person accounts directly.
C. Enable Partner Super User Access so each student gets a private account.Super User Access affects data visibility for partner users and does not create accounts.
D. Use the Partner Community license so each registrant gets a separate partner account.Partner licenses are for business partners and do not fit individual students.

Why: For B2C sites with person accounts enabled, leaving the default account empty in self-registration settings makes each new registrant a person account.

09

A healthcare network's patient site must let patients log in with credentials from a regional health information exchange. The exchange supports OpenID Connect but not SAML. What should the consultant configure?

  1. An Auth. Provider of type OpenID Connect with the exchange's endpoints, then enable it on the site's login page.
  2. A SAML Single Sign-On setting with the exchange's OpenID Connect discovery URL.
  3. A Named Credential pointing to the exchange's token endpoint.
  4. A Login Discovery handler that checks the exchange's user directory before showing a password field.
Show answer

Answer: A

A. An Auth. Provider of type OpenID Connect with the exchange's endpoints, then enable it on the site's login page. ✓Correct. Auth. Providers support OpenID Connect identity providers, and the provider can be shown as a login option on the site.
B. A SAML Single Sign-On setting with the exchange's OpenID Connect discovery URL.SAML settings require a SAML identity provider; OpenID Connect is configured through an Auth. Provider.
C. A Named Credential pointing to the exchange's token endpoint.Named Credentials authenticate outbound callouts, not user logins to the site.
D. A Login Discovery handler that checks the exchange's user directory before showing a password field.Login discovery can route users, but the exchange login itself still needs an OpenID Connect Auth. Provider.

Why: Auth. Providers can connect to any OpenID Connect-compliant identity provider. Once configured with a registration handler, the provider can be offered on the site login page.

10

A global engineering firm wants external users of its supplier site to sign in with credentials they already have elsewhere instead of maintaining a separate site password. Which two features support this requirement? (Choose 2)

  1. SAML Single Sign-On with the supplier's identity provider.
  2. Login Flows connected to the supplier profile.
  3. Sharing sets for the supplier profile.
  4. Auth. Providers for social or OpenID Connect sign-on.
  5. Delegated External User Administration for supplier managers.
Show answer

Answer: A, D

A. SAML Single Sign-On with the supplier's identity provider. ✓Correct. SAML SSO lets users authenticate with an external identity provider that Salesforce trusts.
B. Login Flows connected to the supplier profile.Login flows add steps after authentication; they do not let users sign in with outside credentials.
C. Sharing sets for the supplier profile.Sharing sets grant record access to high-volume users and do not affect authentication.
D. Auth. Providers for social or OpenID Connect sign-on. ✓Correct. Auth. Providers let users log in with accounts such as Google, Microsoft, LinkedIn or any OpenID Connect provider.
E. Delegated External User Administration for supplier managers.Delegated administration lets external users manage other users; it does not change how users authenticate.

Why: Experience Cloud sites support external authentication through SAML SSO and through Auth. Providers for social and OpenID Connect sign-on, and both can appear on the site login page.

Find out if you're ready to pass

Take the free Experience Cloud Consultant diagnostic: 20 questions, no account needed. Then unlock all 300 questions, full practice exams and the study guide.

Start the free diagnosticSee plans

Other sections of this exam