ExamGecko
Home Home / Salesforce / Certified B2B Commerce Administrator

Salesforce Certified B2B Commerce Administrator Practice Test - Questions Answers, Page 2

Question list
Search
Search

A developer has the task to create custom Lightning web components (LWCs). 04m 30s

Which two steps must a developer take when creating custom LWCs?

A.
ClonealWC.
A.
ClonealWC.
Answers
B.
Create an Apex class.
B.
Create an Apex class.
Answers
C.
Deploy a custom component.
C.
Deploy a custom component.
Answers
D.
Authorize an org for an SFDX project.
D.
Authorize an org for an SFDX project.
Answers
Suggested answer: C, D

Explanation:

To create custom Lightning web components, a developer needs to follow these steps:

Authorize an org for an SFDX project.This allows the developer to use Salesforce CLI commands to create, test, and deploy code to the org2.

Create a Lightning web component using Visual Studio Code or Salesforce CLI.A Lightning web component consists of a folder with three files: an HTML template file, a JavaScript file, and a metadata file3.

Deploy a custom component to the org using Visual Studio Code or Salesforce CLI.This makes the component available for use in the org4.

Optionally, test the component using Jest framework or browser tools4.Reference:Create Lightning Web Components,Build Lightning Web Components,Create a Hello World Lightning Web Component

Which code statement should a developer use to import the ID of the current Lightning 04m 235 Experience Site?

A.
import id from '@salesforce/network/ld'
A.
import id from '@salesforce/network/ld'
Answers
B.
import id from '@salesforce/site/Id'
B.
import id from '@salesforce/site/Id'
Answers
C.
import id from '@salesforce/experience/Id'
C.
import id from '@salesforce/experience/Id'
Answers
D.
import id from '@salesforce/community/Id'
D.
import id from '@salesforce/community/Id'
Answers
Suggested answer: C

Explanation:

The correct answer is C. import id from '@salesforce/experience/Id' because this is the syntax for importing information about the current Experience Builder site from the @salesforce/experience scoped module.The id property returns the ID of the current site1. The other options are incorrect because they use different scoped modules or properties that do not exist or do not return the site ID.Reference:Current Community

Which technique can be used with Lightning web components to expose them outside of an 04m 155

org in another web container?

A.
Slot elements
A.
Slot elements
Answers
B.
Heroku
B.
Heroku
Answers
C.
Lightning Out
C.
Lightning Out
Answers
D.
Lightning Canvas
D.
Lightning Canvas
Answers
Suggested answer: C

Explanation:

Lightning Out because this is a technique that allows developers to use Lightning web components outside of Salesforce servers, such as in a Node.js app running on Heroku or a department server inside the firewall2.Lightning Out uses a standalone Aura dependency app to host the Lightning web components and expose them to an external web container2. The other options are incorrect because they are not techniques for exposing Lightning web components outside of an org.Slot elements are a way to create reusable components with dynamic content3.Heroku is a cloud platform that supports various languages and frameworks, but it does not directly expose Lightning web components4.Lightning Canvas is a framework that enables developers to integrate third-party applications into Salesforce5, but it does not support Lightning web components6.Reference:Use Components Outside Salesforce,Slot Elements,Heroku,Lightning Canvas Developer's Guide,Lightning Web Components in Visualforce, Aura, and Lightning Out

What needs to be done after cloning and saving the out-of-box checkout flow template before it can be used?

A.
Change the permission on the existing checkout flow.
A.
Change the permission on the existing checkout flow.
Answers
B.
Rename the existing Checkout Flow in place
B.
Rename the existing Checkout Flow in place
Answers
C.
Activate the flow.
C.
Activate the flow.
Answers
D.
Add a version letter.
D.
Add a version letter.
Answers
Suggested answer: C

Explanation:

According to theCheckout Flowpage, checkout flow is a feature that allows you to customize the steps and actions that occur when a user places an order on your B2B Commerce site. Checkout flow is a type of flow that can be created or modified using Flow Builder in Salesforce Setup. To create a checkout flow from scratch or from an existing template, you need to do the following steps:

Navigate to Flow Builder in Salesforce Setup.

Click New Flow or Open a Template.

Select Checkout Flow as the flow type.

Add or edit elements for each step of your checkout process.

Save your flow with a unique name and description.

Activate your flowso that it can be used on your B2B Commerce site. Therefore, option C is correct.

Option A is false because changing the permission on the existing checkout flow is not a step that needs to be done after cloning and saving the out-of-box checkout flow template before it can be used. The permission on the existing checkout flow template is already set to system context with sharing-enforces record level access by default and does not need to be changed.

Option B is false because renaming the existing checkout flow in place is not a step that needs to be done after cloning and saving the out-of-box checkout flow template before it can be used. Renaming the existing checkout flow template would overwrite the original template and prevent you from using it again. You should clone the existing checkout flow template and save it with a new name instead.

Option D is false because adding a version letter is not a step that needs to be done after cloning and saving the out-of-box checkout flow template before it can be used. Adding a version letter is an optional step that can help you keep track of the changes you make to your checkout flow over time, but it is not required for using your checkout flow on your B2B Commerce site.Reference:Checkout Flow, Checkout Flow Overview

Why is the System context with Sharing-Enforces Record Level Accessimportant to B2B Commerce?

A.
It is required to check out.
A.
It is required to check out.
Answers
B.
It is required for guest browsing.
B.
It is required for guest browsing.
Answers
C.
It is required to synchronize content.
C.
It is required to synchronize content.
Answers
D.
It is required to view products in the storefront.
D.
It is required to view products in the storefront.
Answers
Suggested answer: A

Explanation:

According to theCheckout Flowpage, checkout flow is a feature that allows you to customize the steps and actions that occur when a user places an order on your B2B Commerce site. Checkout flow is a type of flow that runs in the system context with sharing-enforces record level access. System context with sharing-enforces record level access means that the flow runs with the permissions of the Salesforce system user but respects the sharing rules of your org. This ensures that the flow can access all the necessary data and functionality for checkout but also respects the security and visibility settings of your org. One of the reasons why system context with sharing-enforces record level access is important to B2B Commerce is that it is required to check out. Checking out is the final step of the checkout process where the user confirms their order details, payment method, shipping address, and shipping method. To check out, the flow needs to run in system context with sharing-enforces record level access so that it can create an order record, update the cart status, send an order confirmation email, and perform any other actions that are configured for checkout. Therefore, option A is correct. Options B, C, and D are false because system context with sharing-enforces record level access is not required for guest browsing, synchronizing content, or viewing products in the storefront. Guest browsing is a feature that allows anonymous users to browse your site without logging in or creating an account. Synchronizing content is a feature that allows you to sync content assets between Salesforce CMS and B2B Commerce. Viewing products in the storefront is a feature that allows users to see the products that are available for purchase on your site.Reference:Checkout Flow, Checkout Flow Overview

What configuration steps are required to send Order confirmation emails to Buyers?

A.
Create a Trigger on Order creation, Implement the SendOrderConfirmation Interface from Apex code.
A.
Create a Trigger on Order creation, Implement the SendOrderConfirmation Interface from Apex code.
Answers
B.
Locate the Existing 'Send Order Confirmation Email' sub-flow, Add it to the last step.
B.
Locate the Existing 'Send Order Confirmation Email' sub-flow, Add it to the last step.
Answers
C.
Create an Emailtemplate, Set up Organization-Wide Addresses, Create an Email Alert, Add an Auto-launched flow.
C.
Create an Emailtemplate, Set up Organization-Wide Addresses, Create an Email Alert, Add an Auto-launched flow.
Answers
D.
Check the box called 'Send order confirmation Email to buyer' in the Commerce Apps store Administration.
D.
Check the box called 'Send order confirmation Email to buyer' in the Commerce Apps store Administration.
Answers
Suggested answer: C

Explanation:

According to the [Order Confirmation Email] page, order confirmation email is a feature that allows you to send an email notification to buyers when they place an order on your B2B Commerce site. Order confirmation email can be configured using Process Builder and Email Alerts in Salesforce Setup. To configure order confirmation email, you need to do the following steps:

Create an email template that contains the information and format that you want to use for your order confirmation email. You can use merge fields to include dynamic data from your order records, such as order number, order date, order total, etc.

Set up organization-wide addresses that specify the email address and display name that you want to use as the sender of your order confirmation email. You can use different organization-wide addresses for different stores or reorder portals.

Create an email alert that defines the email template, organization-wide address, recipient type, and recipient field that you want to use for your order confirmation email. You can use different email alerts for different stores or reorder portals.

Add an auto-launched flow that triggers when an order is created or updated and has a status of Submitted. The flow should include a Send Email element that references the email alert that you created for your order confirmation email. Therefore, option C is correct. Options A, B, and D are false because they are not configuration steps that are required to send order confirmation emails to buyers. Creating a trigger on order creation, implementing the SendOrderConfirmation interface from Apex code, locating the existing 'Send Order Confirmation Email' sub-flow, adding it to the last step, and checking the box called 'Send order confirmation Email to buyer' in the Commerce Apps store Administration are alternative or outdated methods that are not recommended or supported for sending order confirmation emails to buyers.Reference:[Order Confirmation Email], Order Confirmation Email Overview

How can an Administrator categorize a Variant Product?

A.
Assign the Variant Product directly to the Category
A.
Assign the Variant Product directly to the Category
Answers
B.
Assign the Variant's Basic Product directly to the Category
B.
Assign the Variant's Basic Product directly to the Category
Answers
C.
Assign the Variant's Parent Product directly to the Category
C.
Assign the Variant's Parent Product directly to the Category
Answers
D.
Assign the Variant's Expanded Product tothe Category.
D.
Assign the Variant's Expanded Product tothe Category.
Answers
Suggested answer: C

Explanation:

According to theProduct Categoriespage, product categories are collections of products that are grouped together based on common characteristics, such as type, function, style, etc. Product categories can be used to organize your products and make them easier to find and browse on your B2B Commerce site. To categorize a variant product, you need to assign the variant's parent product directly to the category. A variant product is a product that has different versions or options, such as size, color, style, etc. A variant product has a parent product and a basic product. A parent product is a product that contains all the variation attributes and variation groups for a variant product. A basic product is a product that contains the common attributes and specifications for a variant product. Therefore, option C is correct. Options A, B, and D are false because assigning the variant product, the variant's basic product, or the variant's expanded product to the category will not categorize the variant product correctly. An expanded product is a product that contains all the attributes, specifications, images, and prices for a specific variation of a variant product.Reference:Product Categories, Product Categories Overview

Which three field types can an administrator set as filterable fields for Search?

A.
Currency
A.
Currency
Answers
B.
Text
B.
Text
Answers
C.
Checkbox
C.
Checkbox
Answers
D.
Picklist
D.
Picklist
Answers
E.
Picklist(Multi-Select)
E.
Picklist(Multi-Select)
Answers
Suggested answer: B, D, E

Explanation:

According to theSearchable Fieldspage, searchable fields are fields on the Product object that can be used as filters or facets for search results on your B2B Commerce site. Searchable fields can help users narrow down their search results and find the products that match their criteria. Three of the field types that an administrator can set as searchable fields for search are text, picklist, and picklist (multi-select). Text field type allows users to enter any alphanumeric characters as search terms. Picklist field type allows users to select one value from a predefined list of values as a search term. Picklist (multi-select) field type allows users to select multiple values from a predefined list of values as search terms. Therefore, options B, D, and E are correct. Options A and C are false because currency and checkbox are not field types that an administrator can set as searchable fields for search. Currency field type allows users to enter numeric values with decimal places and currency symbols as search terms. Checkbox field type allows users to select true or false values as search terms.Reference:Searchable Fields, Searchable Fields Overview

Which three field types canan administrator set as filterable fields for search? Choose 3 answers.

A.
Picklist(Multi-Select)
A.
Picklist(Multi-Select)
Answers
B.
Picklist
B.
Picklist
Answers
C.
Date
C.
Date
Answers
D.
Geolocation
D.
Geolocation
Answers
E.
Checkbox
E.
Checkbox
Answers
Suggested answer: A, B, E

Explanation:

According to theSearchable Fieldspage, searchable fields are fields on the Product object that can be used as filters or facets for search results on your B2B Commerce site. Searchable fields can help users narrow down their search results and find the products that match their criteria. Three of the field types that an administrator can set as searchable fields for search are picklist (multi-select), picklist, and checkbox. Picklist (multi-select) field type allows users to select multiple values from a predefined list of values as search terms. Picklist field type allows users to select one value from a predefined list of values as a search term. Checkbox field type allows users to select true or false values as search terms. Therefore, options A, B, and E are correct. Options C and D are false because date and geolocation are not field types that an administrator can set as searchable fields for search. Date field type allows users to enter date values in a specific format as search terms. Geolocation field type allows users to enter latitude and longitude values as search terms.Reference:Searchable Fields, Searchable Fields Overview

A Salesforce B2B Commerce Community User authenticates to thestorefront but does not see not entitled Products.

What are three potential causes a user may NOT see entitled Products?

Choose 3 answers

A.
Account Group of user's Account does not have any Price lists associated to it.
A.
Account Group of user's Account does not have any Price lists associated to it.
Answers
B.
The Account Group is only associated to one pricelist.
B.
The Account Group is only associated to one pricelist.
Answers
C.
Entitled pricelists are associated to a different community.
C.
Entitled pricelists are associated to a different community.
Answers
D.
Salesforce B2B Commerce custom flied 'Currency' on User Object is not populated.
D.
Salesforce B2B Commerce custom flied 'Currency' on User Object is not populated.
Answers
E.
Products in the pricelists are marked 'in Creation' Status.
E.
Products in the pricelists are marked 'in Creation' Status.
Answers
Suggested answer: A, C, E

Explanation:

There are a few reasons why a Salesforce B2B Commerce Community User may not see entitled Products after authenticating to the storefront:

Account Group of user's Account does not have any Price lists associated to it.In order for a user to see entitled Products, their Account Group must have at least one Price List associated to it.

Entitled pricelists are associated to a different community.If the user's Account Group is associated to a different community than the Price Lists that they are entitled to, they will not be able to see those Products.

Products in the pricelists are marked 'in Creation' Status.Products that are in Creation status are not yet available for purchase, and therefore will not be visible to users.

Total 256 questions
Go to page: of 26