Exam Details

  • Exam Code
    :B2C-COMMERCE-DEVELOPER
  • Exam Name
    :Salesforce Certified B2C Commerce Developer
  • Certification
    :Salesforce Developer
  • Vendor
    :Salesforce
  • Total Questions
    :148 Q&As
  • Last Updated
    :May 05, 2024

Salesforce Salesforce Developer B2C-COMMERCE-DEVELOPER Questions & Answers

  • Question 21:

    A developer is given the requirement to add a step to the existing business logic of the registration process. How should the developer modify the route that handles the customer registration?

    A. Copy the code from the original route to a new controller route, and change it.

    B. Override the route with new functionality.

    C. Extend the route with new functionality.

    D. Change the controller route with new functionality.

  • Question 22:

    A developer receives a product image that needs to be uploaded to the catalog. What should the developer use to upload this image?

    A. Products and Catalogs module of Business Manager

    B. Sites/Impex WebDAV Directory

    C. Content Image Import module of Business Manager

    D. Site Development Import and Export module of Business Manager

  • Question 23:

    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. Change the data type of the attributes

    B. Set the attributes to site-specific replicable

    C. Create an Attribute Group with the desired attributes in it

    D. Sort the attributes in the custom object type

  • Question 24:

    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

    var logger = Logger.getLogger("loggerFile", "category1.eu" ); logger.warn("This is a log message");

    What is the result?

    A. Logs will be written to the log file with a prefix loggerFile.

    B. Logs will not be written.

    C. Logs will be written to the log file with a prefix customwarn.

    D. Logs will be written to the log file with a prefix custom-loggerFile.

  • Question 25:

    What are two appropriate uses of the ISML tag that follow B2C Commerce and SFRA best practices? (Choose two.)

    A. Display a section of the page to logged users only.

    B. Show a different

    tag depending on a pdict Boolean variable.

    C. Redirect users to the registration page if they are not logged in.

    D. Implement involved business logic through conditional statements.

  • Question 26:

    When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager. Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager?

    A. Add the creation date to the attributes of the Custom Object.

    B. Mark the existing creation date attribute as visible.

    C. Add the creation date to the attribute group for the Custom Object.

    D. Assign the current date/time to a new custom attribute, creationDate, via code.

  • Question 27:

    A developer is asked to write a job that is responsible for updating the customer order based upon a trigger from the Order Management System (OMS). While all the information for the order remains the same, the Order number provided by

    the OMS needs to replace the existing Order Number.

    The developer chooses to use the B2C OCAPI hooks to update the order to achieve the above requirement.

    According to best practices which OCAPI call should the developer use along with which OCAPI hook?

    A. PATCH /orders/{order_no} with dw.ocapi.shop.order.beforePATCH

    B. DELETE /orders/{old_order_no} with dw.ocapi.shop.order.afterDELETE

    C. PATCH /orders/{order_no} with dw.ocapi.shop.order.afterPATCH

    D. POST /orders/{order_no} with dw.ocapi.shop.order.afterPOST

  • Question 28:

    A developer has a specification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded. Which service type should the developer register?

    A. HTTP Form

    B. POST Form

    C. SOAP Form

    D. HTML Form

  • Question 29:

    In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?

    A. npm run compile:js, npm run compile:html, npm run clean

    B. npm run compile:js, npm run compile:scss, npm run compile:fonts

    C. npm run compile:js, npm run compile:scss, npm run compile:html

    D. npm run compile:scss, npm run compile:html, npm run clean

  • Question 30:

    A developer needs to show only car accessories when shoppers use the search term car accessories and exclude technology accessories and household accessories.

    Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?

    A. Create a Common Phrase Dictionary entry: car accessories. Use search mode Exact Match.

    B. Create a Synonym Dictionary entry: car accessories, household, technology. Use search mode First Word.

    C. Create a Common Phrase Dictionary entry: car accessories, NOT household, NOT technology. Use search mode Exact Match.

    D. Create a Synonym Dictionary entry: car accessories, !household, !technology. Use search mode Exact Match.

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.