Salesforce Certified B2C Commerce Cloud Developer - Comm-Dev-101 Exam Practice Test
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: B
A developer is asked to create a new service instance that will call a remote web service.
Which method should the developer use to create the service instance?
A)

B)

C)

Which method should the developer use to create the service instance?
A)

B)

C)

Correct Answer: B
When inspecting the weekly service status report for a critical internally hosted web service used in the application, a developer notices that there are too many instances of unavailability.
Which two solutions can reduce the unavailability of the service?
Choose 2 answers.
Which two solutions can reduce the unavailability of the service?
Choose 2 answers.
Correct Answer: A,C
A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.
Which three parameters are required when using npm scripts?
Choose 3 answers
Which three parameters are required when using npm scripts?
Choose 3 answers
Correct Answer: A
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media dat a. There is a new requirement to add a datalayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
Correct Answer: A
Which line of code creates a content slot that can be included on homepage.isml to display on the home page?
Correct Answer: C
Given a sandbox with an active slot configuration with the following specifications:
* Content type set to product
* With some product configured
* With the following rendering template: slots/product/product_1x2 isml
* Correctly enabled and scheduled
And given the code contained in the selected rendering template:

Is an additional action needed for this to work as intended?
* Content type set to product
* With some product configured
* With the following rendering template: slots/product/product_1x2 isml
* Correctly enabled and scheduled
And given the code contained in the selected rendering template:

Is an additional action needed for this to work as intended?
Correct Answer: C
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: C
In Log Center, a developer notes j number of Cross Site Request Forgery (CSRF) log entries.
After adding the token in the 15ML template, which action might solve this problem'
After adding the token in the 15ML template, which action might solve this problem'
Correct Answer: A
A Digital Developer has detected storefront pages being rendered with an error message. After inspecting the log files, the Developer discovered that an enforced quota is being exceeded.
What action should the Developer take to stop the quota violation?
What action should the Developer take to stop the quota violation?
Correct Answer: B
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

How should the Developer change the request?
Correct Answer: D
A Digital Developer needs to add logging to the following code:

Which statement logs the HTTP status code to a debug-level custom log file?

Which statement logs the HTTP status code to a debug-level custom log file?
Correct Answer: A