Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Salesforce B2B-Commerce-Developer Practice Exam with Questions & Answers | Set: 3

Questions 21

Which wire adapter should a developer use to retrieve metadata about a specific picklist?

Options:
A.

getPicklistMetadataValues

B.

getPicklistMetadata

C.

getPicklistValues

D.

getPicklist

Salesforce B2B-Commerce-Developer Premium Access
Questions 22

A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to deploy some small CSS changes without waiting for the entire project deployment. What are two ways this can be accomplished?

Options:
A.

Right-click the folder for the component and choose Deploy Source to Org

B.

Right-click the CSS file that was edited and select Deploy Single File

C.

Right-click the CSS file and choose Deploy Source to Org

D.

Click the Tools menu and select Deploy styles

E.

Deploy the entire project. Only the change will be copied

Questions 23

A Developer created a custom field that a project wants to expose on a given page.

How does the Developer ensure that the field is available to display on a given page?

Options:
A.

Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.

B.

Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class

C.

Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class

D.

Create a new Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class

Questions 24

A developer needs to bulk export all of the Product data from an org and does not have access to Data Loader or Workbench. However, the Command Line Interface (CLI) is available. Which command allows the developer to accomplish this task?

Options:
A.

sfdx force:data:treeiexport -q -x export-demo -d /tmp/sfdx-out -p

B.

sfdx force:data:tree:export -Product2 -all

C.

sfdx force:data:tree:export -o Product?

D.

sfdxforce:data:tree:export -h

Questions 25

A developer attempts to export data from an org by launching Data Loader, selecting a standard entity, clicking the "Select All Fields" button and clicking the Finish button. The developer finds that the CustomField_c field they added to the entity has no values under the header in the CSV file output. What is the root cause?

Options:
A.

The developer does not have the correct JDK that is recommended by Salesforce and this is known to cause issues with exporting custom attributes

B.

The developer does not have access to the object's metadata

C.

The field is not populated

D.

The user does not have rights to the custom field

Questions 26

Based on error emails flowing in, a developer suspects that recent edits made to a checkout flow have created a defect. The developer has data points available to use as inputs in reproducing the scenario.

What should the developer do next?

Options:
A.

Open the flow, select Debug, provide the session ID for replay, and select Run.

B.

Open the flow, select Attach to Live Session, provide the session ID, and select Attach.

C.

Open the flow, select Debug, provide the Input values, and select Run.

D.

Open the flow, select Debug with Inputs, provide the Input values, and select Run.

Questions 27

In checkout, what event should the developer's code listen for in order to help troubleshoot and respond to actions?

Options:
A.

CommerceBubbleEvents

B.

CommerceErrorEvents

C.

CommerceActionEvents

D.

CommerceDiagnosticEvents

Questions 28

Where is the API-based record creation generally handled in Salesforce B2B

Commerce?

Options:
A.

In the methods available in extension hooks

B.

The service-layer responsible for the entity

C.

Data creation is not allowed

D.

Logic classes that implement the businesslogic for create operations

Questions 29

Which template will correctly display the details message only when areDetailsVisible becomes true given the following code in a Lightning Web Component?

B2B-Commerce-Developer Question 29

A)

B2B-Commerce-Developer Question 29

B)

B2B-Commerce-Developer Question 29

C)

B2B-Commerce-Developer Question 29

D)

B2B-Commerce-Developer Question 29

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D