B2C-COMMERCE-DEVELOPER Exam Details

  • Exam Code
    :B2C-COMMERCE-DEVELOPER
  • Exam Name
    :Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101)
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :207 Q&As
  • Last Updated
    :Jul 08, 2026

Salesforce B2C-COMMERCE-DEVELOPER Online Questions & Answers

  • Question 81:

    A developer wants to create in Business Manager extension with thecartridge named plugin_vm_extension.

    Which two steps should the developer take for the extension option to show up in Business Manager?Choose 2 answers:

    A. Add plugin_bm_extension to the cartridge path under business manager cartridge site
    B. Add the appropiate roles and permission to the user to view the business manager extension.
    C. Add plugin_bm_extension to the cartridge path under Storefront cartridge site path.
    D. Activate a new code version for the Business Manager Site.

  • Question 82:

    A Digital Developer is working in a sandbox on a site named test-site using thedomain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.

    By default, which URL format is a proper Open Commerce API for Sandbox?

    A. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
    B. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
    C. https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
    D. https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...

  • Question 83:

    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?

    A. The ProductSearch resource of the Shop OCAPI.
    B. The existing category's endpoint to perform a REST call.
    C. The iframe of the existing category page.
    D. The Search-Show Controller URL to perform a web crawl.

  • Question 84:

    A developer is using logging in scripts to troubleshoot an issue. They are using thedw.system.Log class to write to specific log levels and categories. Which log level is always enabled by default?

    A. FATAL
    B. INFO
    C. ERROR

  • Question 85:

    A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.

    Which two methods can the Developer use to verify the cache settings for the product tiles? (Choose two.)

    A. Enable cache information in the storefront toolkit and view the cache information for theproduct tile.
    B. View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.
    C. View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.
    D. Enable the template debugger to verify the cache times for the producttile.isml template.

  • Question 86:

    Given the requirements:

    1.

    To show the washing instructions for a clothing product on a dedicated section the detail page

    2.

    Washing instructionscome from the product information manager(PIM)

    3.

    To have this attribute available to localize in the Storefront.

    Which action meets these requirements?

    A. Set the product system object type as localizable
    B. Add a resource file for every locale for whichthe attribute needs to be translated.
    C. Set the custom attribute as localizable
    D. Add a custom attribute for each locale

  • Question 87:

    A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.

    1.

    The current customer

    2.

    Whether or not the customer is authenticated

    3.

    The privacy attributes (such as tracking consent or cookie policy)

    Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?

    A. Use a non-replicable Custom Object to store the information temporarily.
    B. Use the Session class in the B2C Commerce api.
    C. Use an SFRAcontroller, because it runs server-side, the state is automatically maintained
    D. Use a client-side cookie to store the information for the session duration.

  • Question 88:

    The Home-Show route uses this middleware chain:

    server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req, res, next) {

    // base code here

    });

    The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:

    server.append('Show', function (req, res, next) {

    // custom code here

    });

    Assuming the code is correct on both functions, what is the expected result?

    A. A RunTime error is thrown, "Error: Params do not match route".
    B. The base code executes and then the custom code executes.
    C. The custom code executes and then the base code executes.
    D. The base code executes, but the custom code is ignored becausethe signature lines do not match.

  • Question 89:

    To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form:

    value = "${dw.web.CSRFProtection.generateToken()">

    ...

    ...

    To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF

    validation using one or both of these methods as applicable:

    validateRequest

    validateAjaxRequest

    Where in the code does the developer need to add this CSRF validation check?

    A. In the controller function that displays the form
    B. In the middleware chain of the controller post route
    C. In the controller function that handles the submitted form
    D. In the model function that persists the form data

  • Question 90:

    A client has three different sites with three locales. Two of the sites share a library and one site has a private library.

    What does the shared library allowin this context?

    A. Sharing content slots between sites
    B. Sharing content assets among locales
    C. A Sharing content assets between sites
    D. Sharing content slots among locales

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your B2C-COMMERCE-DEVELOPER exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.