B2C-Commerce-Developer Exam Questions

Total 223 Questions


Last Updated On : 17-Feb-2025



Preparing with B2C-Commerce-Developer practice test is essential to ensure success on the exam. This Salesforce test allows you to familiarize yourself with the B2C-Commerce-Developer exam questions format and identify your strengths and weaknesses. By practicing thoroughly, you can maximize your chances of passing the Salesforce certification exam on your first attempt.

A developer wants to use an external application to manage their stores information (such as opening
hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are saved. What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?


A.

A POST request to the Stores Data OCAPI.B. A PUT request to the Stores Data OCAPI.


B.

A PATCH request to the Stores Data OCAPI.


C.

An UPDATE request to the Stores Data OCAPI.


D.

Siempre que sea un objeto standard será put en vez de post





B.
  

A PATCH request to the Stores Data OCAPI.



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?


A.

Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.


B.

Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.


C.

Credit cards in the Merchant Tools > Ordering > Payment Methods module.


D.

Credit card exclusion rules in the CreditCardType.json configuration file.





C.
  

Credit cards in the Merchant Tools > Ordering > Payment Methods module.



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?


A.

Rewrite the code that is causing the overage.


B.

Change the Business Manager configuration for the quota settings.


C.

Take no action, the overage will be resolved when concurrent visitors are reduced.


D.

Ask support to remove the quota limit.





B.
  

Change the Business Manager configuration for the quota settings.



Given the file structure below, which ISML method call renders the customLandingPage template? 


A.

ISML.renderTamplate(‘cartridge/templates/default/content/custom/customLandingPage’);


B.

ISML(‘content/custom/customLandingPage’);


C.

ISML.render(‘content/custom/customLandingPage’);


D.

ISML.renderTemplate(‘content/custom/customLandingPage’);





D.
  

ISML.renderTemplate(‘content/custom/customLandingPage’);



A Digital Developer has a site export file on their computer that needs to be imported into their sandbox. How should the developer update their sandbox with the data in this file?


A.

Connect and import the file using the remote option within the Site Import & Export Business Manager module.


B.

Upload and import the file using the local option within the Site Import & Export Business Manager
module.


C.

Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX
Studio.


D.

Upload the file to the Static WebDAV directory and import using the Import & Export Business
Manager module.





B.
  

Upload and import the file using the local option within the Site Import & Export Business Manager
module.



A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience. Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?


A.

Request scope variable


B.

Page scope variable


C.

Session scope variable


D.

Content slot variable





C.
  

Session scope variable



Server.get(‘Show’, consentTracking.consent, cache.applyDefaultCache, function (req,res,next){
Var Site = require(‘dw/system/Syte”);
Var pageMetaHelpter = require(‘*/cartridge/scripts/helpers/pageMetaHelper’);
pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current);
res.render(‘/home/homePage’);
Missing code here
}, pageMetadata.computedPageMetadata);The controller endpoint code snippet above does not work.
Which line of code should the developer use to replace line 6 and correct the problem?


A.

next();


B.

return res;C. res.next();


C.

req.next();





A.
  

next();



A developer needs to update the package.json file so that it points to the hock file for a cartridge, using
the hooks keyword. Which snippets work correctly when added to the file?:


A.

{ “hooks”: “./cartridge/scripts/hooks.json” }


B.

{ “hooks”: “./scripts/hooks.json” }


C.

{ hooks: “./cartridge/scripts/hooks.json” }


D.

{ hooks: ./scripts/hooks.json }





A.
  

{ “hooks”: “./cartridge/scripts/hooks.json” }



What happens if the log file size limit is reached in custom logging?


A.

Logging is suspended for the day.


B.

Logging is suspended for two hours.


C.

The log file is deleted and recreated from scratch.


D.

The log file rolls over and the last used log is overwritten.





C.
  

The log file is deleted and recreated from scratch.



A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting. According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?


A.

Logger.info(‘Unexpected service response’)


B.

Logger.debug(‘Unexpected service response’)


C.

Logger.error(‘Unexpected service response’)


D.

Logger.warn(‘Unexpected service response’)





D.
  

Logger.warn(‘Unexpected service response’)




Page 1 out of 23 Pages

About Salesforce B2C Commerce Developer Exam

Salesforce Certified B2C Commerce Developer credential is designed for developers with experience in Salesforce B2C Commerce Digital. This certification validates your skills in developing eCommerce solutions using Salesforce B2C Commerce.

Key Facts:

Exam Code: CCD-101
Exam Questions: 60
Type of Questions: MCQs
Exam Time: 105 minutes
Exam Price: $200
Passing Score: 65%

The exam covers a wide range of topics, including

1. Setting up the development environment
2. Interacting with external applications
3. Site content management
4. Using Business Manager for site configuration tasks
5. Extending site business logic with scripts
6. Working with the Digital data model
7. Optimizing site performance
8. Troubleshooting common issues

Salesforce B2C Commerce Developer practice exam questions build confidence, enhance problem-solving skills, and ensure that you are well-prepared to tackle real-world Salesforce scenarios. Earning the Salesforce Certified B2C Commerce Developer credential can enhance your resume and provide a competitive edge in the job market.