Comm-Dev-101 Salesforce Certified B2C Commerce Developer Free Practice Exam Questions (2026 Updated)
Prepare effectively for your Salesforce Comm-Dev-101 Salesforce Certified B2C Commerce Developer certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.
A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page cache is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?
The developer has been given the following business requirement:
The shipping method, " Free Standard Ground Shipping " has an exclusion for products with ' category equals or is child of electronics-televisions. '
The marketing department has scheduled a sale offering a " Free Standard Ground Shipping " method for brand XyzTv televisions for the next 3 months.
What method accomplishes this while following best practices?
A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
Which action should the developer take to resolve the problem?
A NewsletterSubscription custom object exists that has a key attribute named email of type String and the following script code.
varCustomObject=
dw.object.CustomObjectMgr.createCustomObject(
' NewsletterSubscription ' ,
newsletterForm.email.value
);
However, the NewsletterSubscription custom object is not persisted. What is a possible reason?
Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.
Which code snippet completes this requirement?
Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?
A developer needs to perform the same additional checks before completing multiple routes in a custom controller, in order to decide whether to render a template or redirect the user to a different page.
According to SFRA best practices, what is the correct approach to improve code reusability in this scenario?
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.
Why does the merchandiser not see the Search Refinement?
A developer has these requirements for out-of-stock products:
• Save the SKUs of the out-of-stock products that the customer is interested in.
• Save the customer email regardless if the customer is a guest or registered.
• Email the customer when the product is back-in-stock.
Which step should the developer perform as part of the solution to achieve the requirements?
A merchant has asked their development team to add a new site.
Which task is essential for correct site configuration prior to launch?
Given a job step configured in the job that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status doesn ' t represent an error condition. Which code snippet completes this requirement?
A developer is working on a new feature that requires the use of a custom script. What is the first step the developer should take?
A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.
How might this issue be resolved to ensure a better customer journey?
Which item is appropriate content for custom logs implemented at checkout?
To implement site custom functionality, a developer creates a new cartridge.
Which step should the developer take to ensure their cartridge changes take effect?
A developer is working on a feature that requires the use of a third-party API. What is the best practice for handling API responses in Salesforce B2C Commerce?
A developer is importing edits for two different sites into the same sandbox and is provided with four different files.
Which two XML files should the developer import using the site-specific Merchant Tools import modules?
A developer implements the necessary code for a new Page Designer component.
What is the purpose of the JSON metadata definition file the developer creates?
There are three logging categories: category1, category1.eu, and category1.us. In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.
The code segment below executes.
varlogger=Logger.getLogger( " loggerFile " , " category1.eu " );
logger.warn( " This is a log message " );
What is the result?
A developer wants to configure the following products so that same search results are returned regardless of the search term used. The search term can be bag, purse, pocketbook, and tote. How should the developer configure this?