ExamGecko
Home Home / Salesforce / Certified B2B Commerce Developer

Salesforce Certified B2B Commerce Developer Practice Test - Questions Answers, Page 18

Question list
Search
Search

Which three components should a developer use on the product page to replace the out-of-the-box Product Detail Card component?

A.
Product Detail Breadcrumbs component
A.
Product Detail Breadcrumbs component
Answers
B.
Product Fields Short component
B.
Product Fields Short component
Answers
C.
Product Field Long component
C.
Product Field Long component
Answers
D.
Product Detail Purchase Options component
D.
Product Detail Purchase Options component
Answers
E.
Product Detail Image Gallery component
E.
Product Detail Image Gallery component
Answers
Suggested answer: B

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

A.
getPicklistMetadata
A.
getPicklistMetadata
Answers
B.
getPicklist
B.
getPicklist
Answers
C.
getPicklistValues
C.
getPicklistValues
Answers
D.
getPicklistMetadataValues
D.
getPicklistMetadataValues
Answers
Suggested answer: C

A developer is working on an existing checkout implementation built against the Lightning Web Runtime (LWR) and wants to implement a custom child checkout component to modify out-of-the-box functionality.

Which interface must the developer implement for the child component?

A.
CheckoutSavable
A.
CheckoutSavable
Answers
B.
Checkoutoutinterface
B.
Checkoutoutinterface
Answers
C.
CustomCheckout
C.
CustomCheckout
Answers
D.
CheckoutStep Answer: D
D.
CheckoutStep Answer: D
Answers
Suggested answer: D

Explanation:

Create a Custom Checkout Component for a B2B or B2C Store (LWR)

CheckoutStep Interface

UseCheckoutComponent Interface

A developer needs to implement a business rule around shipping: Anything over a certain amount must be sent through freight at a fixed cost and cannot be sent through standard shipping channels. Which two considerations should the developer consider?

A.
A class will need to implement the sfdc_commerce.CartShippingCharges interface
A.
A class will need to implement the sfdc_commerce.CartShippingCharges interface
Answers
B.
The implementing class cannot call out to another service
B.
The implementing class cannot call out to another service
Answers
C.
A class will need to implement the sfdc_checkout.CartShippingCharges interface
C.
A class will need to implement the sfdc_checkout.CartShippingCharges interface
Answers
D.
The implementing class may need to contain logical branching
D.
The implementing class may need to contain logical branching
Answers
Suggested answer: A, D

In a B2B Commerce store, which three tasks must a developer complete to implement the use of a third-party service for either tax, shipping, or pricing calculation?

A.
Register an Apex class as the integration in the store administration
A.
Register an Apex class as the integration in the store administration
Answers
B.
Create a flow to call the external service directly
B.
Create a flow to call the external service directly
Answers
C.
Create an Apex class implementing the appropriate interface.
C.
Create an Apex class implementing the appropriate interface.
Answers
D.
Create a named credential for authentication with an external service
D.
Create a named credential for authentication with an external service
Answers
E.
Create an Apex class with an invocable method
E.
Create an Apex class with an invocable method
Answers
Suggested answer: A, C, D

Northern Trail Outfitters (NTO) exports Order Summary data from its org. A developer launches Data Loader, selects Order Summary, clicks the Select All Fields button, and clicks Finish. Custom fields are defined in the Cart and Order Summary objects and successfully mapped from Cart to Order Summary during checkout. However, all three custom fields in the Order Summary are empty in the export file.

What is the most likely cause?

A.
There was a misspelling in one of the custom fields.
A.
There was a misspelling in one of the custom fields.
Answers
B.
The Cart to Order action does not support the mapping of custom fields.
B.
The Cart to Order action does not support the mapping of custom fields.
Answers
C.
The developer does not have access to the fields.
C.
The developer does not have access to the fields.
Answers
D.
The developer can export Order Summary records only by using Data Export Service
D.
The developer can export Order Summary records only by using Data Export Service
Answers
Suggested answer: C

Which orders can a user view on Order List Component (Aura) for B2B stores?

A.
Orders placed in the current storefront and related to the current effective account
A.
Orders placed in the current storefront and related to the current effective account
Answers
B.
Orders placed in any storefront and related to the current effective account
B.
Orders placed in any storefront and related to the current effective account
Answers
C.
Orders placed in the current storefront and related to the current user's account
C.
Orders placed in the current storefront and related to the current user's account
Answers
D.
Orders placed in any storefront and related to the current user's account
D.
Orders placed in any storefront and related to the current user's account
Answers
Suggested answer: A

In what way can a developer's code subscribe to platform events?

A.
Flows and Apex Triggers
A.
Flows and Apex Triggers
Answers
B.
Flows
B.
Flows
Answers
C.
Apex Triggers
C.
Apex Triggers
Answers
D.
Process Builder, Apex Triggers and Flows
D.
Process Builder, Apex Triggers and Flows
Answers
Suggested answer: A

Explanation:

In Salesforce, developers can subscribe to platform events using both Flows and Apex Triggers. This allows for the execution of automated processes in response to the events. Apex Triggers can be written to respond to event messages in the same way they respond to DML events. Similarly, Flows can be configured to trigger upon the receipt of a platform event. This functionality is documented in Salesforce's developer guides and best practices, which emphasize the versatility and power of combining declarative and programmatic approaches to respond to platform events.

What tool can a developer use to investigate errors during development? 07m 42s

A.
Streaming API Subscription Channel for Commerce Diagnostics Event Logging
A.
Streaming API Subscription Channel for Commerce Diagnostics Event Logging
Answers
B.
Commerce Diagnostics Event Logging JavaScript Console
B.
Commerce Diagnostics Event Logging JavaScript Console
Answers
C.
Lightning Web Component for Commerce Diagnostics Event Logging
C.
Lightning Web Component for Commerce Diagnostics Event Logging
Answers
D.
Custom Log Levels
D.
Custom Log Levels
Answers
Suggested answer: A

Explanation:

For investigating errors during development, Salesforce recommends using the Streaming API Subscription Channel for Commerce Diagnostics Event Logging. This tool allows developers to subscribe to a real-time feed of system events, including errors, which can be crucial for diagnosing and resolving issues during development. The Streaming API provides a robust mechanism for monitoring and debugging by delivering secure, scalable, and customizable event notifications within Salesforce or through external systems. This is outlined in Salesforce documentation related to the Streaming API and its application in commerce diagnostics and event logging.

What does a developer need to do to modify the out-of-the-box checkout flow template?

A.
Clone, modify, activate and refer in Experience Builder
A.
Clone, modify, activate and refer in Experience Builder
Answers
B.
Modify directly and save to activate
B.
Modify directly and save to activate
Answers
C.
Create each flow from scratch
C.
Create each flow from scratch
Answers
D.
Clone, modify and rename to Checkout Flow
D.
Clone, modify and rename to Checkout Flow
Answers
Suggested answer: A

Explanation:

To modify the out-of-the-box checkout flow template in Salesforce B2B Commerce, a developer should clone the existing template, make the necessary modifications, activate the modified template, and then reference it in the Experience Builder. This approach ensures that the original template remains intact and provides a fallback option. Salesforce documentation on customizing the checkout flow in B2B Commerce emphasizes the importance of using the Experience Builder for such customizations, providing a visual interface to manage and reference different checkout flow templates.

Total 221 questions
Go to page: of 23