Free Salesforce B2B-Commerce-Developer Exam Actual Questions

The questions for B2B-Commerce-Developer were last updated On Nov 3, 2024

Question No. 1

How is a price group dynamically set?

Show Answer Hide Answer
Correct Answer: D

A price group can be dynamically set by extending the cc_hk_pricing hook. This hook allows modifying the price group based on various factors, such as the user, cart, product, or storefront. For example, the hook can apply a different price group for a specific product category or for a specific user segment.


Question No. 3

Which component can be used in other Salesforce Experience templates outside of B2B Commerce?

Show Answer Hide Answer
Correct Answer: B

In Salesforce Experience Cloud, components like CMS Collection and Results Layout are designed to be reusable across different Experience templates, not just limited to B2B Commerce. CMS Collection allows for the display of CMS content in a flexible and dynamic layout, while Results Layout can be used to present search or query results in a customizable format. Salesforce documentation on Experience Cloud components emphasizes the reusability and adaptability of these components across various templates and contexts.


Question No. 4

A new payment type for the Checkout flow has been implemented. Which three

descriptors follow best practice for possible configuration metadata are needed to enable

a flow? (3 answers)

Show Answer Hide Answer
Correct Answer: A, D, E

To enable a new payment type for the Checkout flow, three possible configuration metadata descriptors are needed:

*.pay: This descriptor defines the payment type name, label, description, icon, and handler class. For example,CO.pmts.CreditCard.paydefines the payment type for credit card payments.

*.Edit: This descriptor defines the Visualforce page that is used to edit or update an existing payment of this type. For example,CO.pmts.CreditCard.Editdefines the page that allows editing a credit card payment.

*.New: This descriptor defines the Visualforce page that is used to create a new payment of this type. For example,CO.pmts.CreditCard.Newdefines the page that allows creating a new credit card payment. Salesforce Reference:B2B Commerce and D2C Commerce Developer Guide,Payment Configuration Settings


Question No. 5

A developer is working on a storefront that needs to use a sophisticated pricing engine hosted as a service outside the org. Assuming security and trusts have been established, which two actions must the developer take?

Show Answer Hide Answer
Correct Answer: A, C