ExamGecko
Home Home / Salesforce / Certified B2B Commerce Administrator

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

Question list
Search
Search

Which two components in a B2B store template should a developer use to customize a storefront page? 01m 52s

A.
My Lists
A.
My Lists
Answers
B.
Product List
B.
Product List
Answers
C.
Order List
C.
Order List
Answers
D.
Address List
D.
Address List
Answers
Suggested answer: B, D

Explanation:

To customize a storefront page, the developer can use the following components in a B2B store template:

Product List. This component displays a list of products that match the search criteria or category selection of the buyer. The developer can customize the layout, filters, sorting, pagination, and actions of this component using the Product List configuration module in CC Admin.

Address List. This component displays a list of addresses that are associated with the buyer's account. The developer can customize the appearance, behavior, and validation of this component using the Address List configuration module in CC Admin.Reference:

Customize Your Storefront with Aura Components

Product List Configuration Module

Address List Configuration Module

Adeveloper has made a component with a lightning combobox in the following markup. To handle changes on the combobox, what should replace <CHANGE_EVENT>?

A.
{eventhandleChange}
A.
{eventhandleChange}
Answers
B.
Javascript:void(0);handleChange();
B.
Javascript:void(0);handleChange();
Answers
C.
{handleChange()}
C.
{handleChange()}
Answers
D.
{handleChange}
D.
{handleChange}
Answers
Suggested answer: D

Explanation:

To handle changes on the combobox, the developer should use {handleChange} as the value for the onchange attribute. This syntax binds the handleChange function defined in the JavaScript file of the component to the change event fired by the combobox. The developer can then access the selected value from the event object passed to the function and perform any logic or action based on it.Reference:

lightning-combobox - documentation

Handle Events in Lightning Web Components

An administrator has just provided a developer with a completely new org and a username. Assuming the username is [email protected], what is the correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components?

A.
Run the command: 'sfdx force:login -r 'https://login.salesforce.com'' and supply the credentials in the browser when it opens.
A.
Run the command: 'sfdx force:login -r 'https://login.salesforce.com'' and supply the credentials in the browser when it opens.
Answers
B.
Run the command 'sfdx force:auth:web:login -a 'https:/login.salesforce.com and then supply the credentials in the browser when it opens.
B.
Run the command 'sfdx force:auth:web:login -a 'https:/login.salesforce.com and then supply the credentials in the browser when it opens.
Answers
C.
Run the command: 'sfdx force:auth:web:login -r 'https://login.salesforce.com and then supply the credentials in the browser when it opens
C.
Run the command: 'sfdx force:auth:web:login -r 'https://login.salesforce.com and then supply the credentials in the browser when it opens
Answers
D.
Run the command 'sfdx force:auth:web:login -r 'https:/login.salesforce.com' -username='[email protected]'
D.
Run the command 'sfdx force:auth:web:login -r 'https:/login.salesforce.com' -username='[email protected]'
Answers
Suggested answer: C

Explanation:

The correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components is to run the command: 'sfdx force:auth:web:login -r ''https://login.salesforce.com'' and then supply the credentials in the browser when it opens. This command will open a browser window and prompt the user to log in to the org using their username and password. The -r flag specifies the login URL for the org, which is https://login.salesforce.com for production or developer orgs.The command will also create an alias for the org, which can be used to reference it in other CLI commands1.Reference:1: Authorize an Org - Trailhead2

A developer is on a tight timeline and needs to implement a Lightning web component which can read, create and modify single records. What is the recommended path forward?

A.
Use base components
A.
Use base components
Answers
B.
Write custom functions against a wire adapter
B.
Write custom functions against a wire adapter
Answers
C.
Create an Apex Controller
C.
Create an Apex Controller
Answers
D.
Use Lightning Data Service
D.
Use Lightning Data Service
Answers
Suggested answer: A

Explanation:

The recommended path forward for a developer who needs to implement a Lightning web component that can read, create, and modify single records is to use base components. Base components are prebuilt Lightning web components that provide common functionality and user interface elements, such as forms, buttons, inputs, outputs, and more. Some of the base components, such as lightning-record-edit-form, lightning-record-form, and lightning-record-view-form, use Lightning Data Service to access and manipulate Salesforce data without requiring any Apex code.These components can handle CRUD operations on single records, as well as validation, layout, and error handling3.Using base components can save time and effort for the developer, as well as ensure consistency and performance across the application4.Reference:3: Work with Salesforce Records - Trailhead5,4: Use Base Lightning Components - Trailhead6

A product is assigned to the entitlement policy but is missing from the Price Book related to the Buyer Group.

The entitlement policy has View products and View prices in catalog checked.

How will the product behave on the B2B Portal?

A.
The product will not appear on the Portal but can be searched since it is part of the entitlement policy.
A.
The product will not appear on the Portal but can be searched since it is part of the entitlement policy.
Answers
B.
The product will appear on the Portal with Price Unavailable status and can also be added to the cart.
B.
The product will appear on the Portal with Price Unavailable status and can also be added to the cart.
Answers
C.
The product will not appear on the Portal and therefore cannot be added to the cart.
C.
The product will not appear on the Portal and therefore cannot be added to the cart.
Answers
D.
The product will appear on the Portal with Price Unavailable status but cannot be added to the cart.
D.
The product will appear on the Portal with Price Unavailable status but cannot be added to the cart.
Answers
Suggested answer: C

Explanation:

The product will not appear on the Portal and therefore cannot be added to the cart. This is because the product is not assigned to the price book that is related to the buyer group. The entitlement policy only determines which products the buyer group can see, but the price book determines which products the buyer group can buy. If a product is not in the price book, it will not be displayed on the Portal, regardless of the entitlement policy settings.Reference:

Organize How Customers Access Your Commerce Store

Set Up Pricing for Commerce Stores

A developer exports data from an org on a standard entity which has a custom attribute. When they launch Data Loader, select the entity, click the Select All Fields button and click Finish, the custom field they added called MyCustomField__c has no values and no column header in the CSV file. What is the root cause?

A.
The user needs to install a specific Zulu JDK that is recommended by Salesforce.
A.
The user needs to install a specific Zulu JDK that is recommended by Salesforce.
Answers
B.
A mapping file was not used when the data was loaded in
B.
A mapping file was not used when the data was loaded in
Answers
C.
The user does not have access to the field
C.
The user does not have access to the field
Answers
D.
The user has rights to the field but there are no values in it
D.
The user has rights to the field but there are no values in it
Answers
Suggested answer: C

Explanation:

The most likely root cause of the issue is that the user does not have access to the custom field MyCustomField__c. This means that the user's profile or permission set does not have the field-level security (FLS) enabled for this field, or the field is not visible on the page layout for the user's record type. Therefore, when the user exports data from the org using Data Loader, the custom field is not included in the CSV file, and neither its values nor its column header are shown. To resolve this issue, the user or an administrator should check and modify the FLS and page layout settings for the custom field, and then try to export the data again.Reference:

Field-Level Security

Data Loader Guide

Total 256 questions
Go to page: of 26