Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Free Practice Test
Question 1
A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts.
What does the Developer need to change in Business Manager to fulfill this requirement?
What does the Developer need to change in Business Manager to fulfill this requirement?
Correct Answer: D
Question 2
A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the controller when it is written.
What must be done in order to use the debugger with the new controller when it is written?
What must be done in order to use the debugger with the new controller when it is written?
Correct Answer: A
Question 3
Universal Containers wants to give customers the ability to refine product search results by a product custom attribute, weightCapacity.
Which series of steps should a Digital Developer take to show this refinement on the storefront?
Which series of steps should a Digital Developer take to show this refinement on the storefront?
Correct Answer: A
Question 4
A client has two B2C Commerce sites in the same instance: one for the U.S market, the other for the European market. The products they make are sold with different safety certificates based-on the world location.
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more.
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer's location?
For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more.
How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer's location?
Correct Answer: A
Question 5
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which resource_id value enables the appropriate resource?
An example request URL is:

Which resource_id value enables the appropriate resource?
Correct Answer: C
Question 6
A Digital Developer has identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

What should the Developer do to improve the code?
Correct Answer: C
Question 7
Given the above OCAPI definitions, which permission or permissions apply?


Correct Answer: A
Question 8
A developer is asked to improve the maintainability of a page by reducing its code repetition.
What are two techniques the developer should implement to achieve this?
Choose 2 answers.
What are two techniques the developer should implement to achieve this?
Choose 2 answers.
Correct Answer: A,D
Question 9
A developer has a B2C site and a merchant requirement to add a new locale to it.
What are the steps to enable the locale in the Storefront?
What are the steps to enable the locale in the Storefront?
Correct Answer: C
Question 10
Consider the following information:
* A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?
* A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?
Correct Answer: B
Question 11
Universal Containers sells physical gift cards for the holidays.
What needs to occur to guarantee the cards will always be available?
What needs to occur to guarantee the cards will always be available?
Correct Answer: C
Question 12
Which two methods are efficient and scalable? (Choose two.)
Correct Answer: A,D
Question 13
A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.
Which B2C Commerce tool should the developer use to collect the necessary information?
Which B2C Commerce tool should the developer use to collect the necessary information?
Correct Answer: D
Question 14
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
Correct Answer: C