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 11:

    A developer must configure permissions for an Open Commerce API resource on a sandbox instance that currently does not have any permissions configured. Which two configuration properties are required to enable access to the resource? (Choose two.)

    A. resource_id

    B. read_attributes

    C. version_range

    D. client_id

  • Question 12:

    A developer works on a multisite realm. A new site requires a different layout for the account landing page, but the business logic and data model remain the same.

    1.

    The existing code is in landing.isml and AccountControl.js in the app_custom_mystore cartridge.

    2.

    The app_custom_mystore cartridge contains any custom code for all other business functions.

    3.

    The cartridge path for the existing site is int_cybersource:int_paypal:app_custom_mystore:app_storefront_base.

    The developer creates a new cartridge named app_custom_newproject that contains only the landing.isml template for the new site. Following best practices, which modification should be made to the new cartridge path?

    A. Set the cartridge path so that app_custom_newproject is before app_custom_mystore.

    B. Set the cartridge path so that app_custom_newproject is between app_custom_mystore and app_storefront_base.

    C. Set the cartridge path so that app_custom_mystore is before int_cybersource.

    D. Set the cartridge path so that app_custom_newproject is in the farthest right position.

  • Question 13:

    A developer is tasked with implementing the necessary code for a new Page Designer component.

    What are the two purposes of the JSON metadata definition file that the developer creates? (Choose two.)

    A. Defines the responsive layout of the rendered template.

    B. Defines regions within the component type.

    C. Defines the attributes that a merchant enters when using the component type.

    D. Defines the business and rendering logic of the component required by the merchant.

  • Question 14:

    A developer created a basic SFRA form to capture the customer's first name, last name, and email address and render it on the next page. The developer is able to see all form elements and is able to enter information and submit. However, the developer notices that the submitted information is not getting rendered on the Storefront.

    Which two mistakes might cause this issue? (Choose two.)

    A. The actionUrl does not have any form action set.

    B. The form object is not passed to the rendering template.

    C. The form definition is incorrect.

    D. The form does not pass all validations.

  • Question 15:

    A client has two B2C Commerce sites in the same instance: one for the U.S. market, the other for the European market. The product they make are sold with different safety certificates based on the world location.

    For example, they sell a smartphone with certificate A in the U.S. and certificate B in Europe, a hairdryer with certificate C in the U.S. and certificate D in Europe, and more.

    How should a developer allow the merchant to display the appropriate certification logo in the product details page, depending on the customer's location?

    A. Add a Localizable custom preference to the SitePreference system object type.

    B. Add a Site-specific custom attribute to the Product system object type.

    C. Add a Localizable custom attribute to the Certificate system object type.

    D. Add an Image custom preference to the SitePreference system object type.

  • Question 16:

    Multiple customers report slow performance on the Product Details Page.

    Which tool can a developer use to view average response times for the Product-Detail controller route?

    A. URL Request Analyzer

    B. Request Logs

    C. Pipeline Debugger

    D. Pipeline Profiler

  • Question 17:

    A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purpose is to display updated information to the user when the request is completed, without otherwise modifying the appearance of the current page.

    According to SFRA practices, which method best supports this objective?

    A. res.json()

    B. res.render()

    C. res.print()

    D. res.log()

  • Question 18:

    A merchant uploads an image using the Content Image Upload module of Business Manager.

    Which three modules can the merchant or developer use to display the image on the Storefront? (Choose three.)

    A. Content assets

    B. Storefront catalogs

    C. ISML templates

    D. Content slots

    E. Payment types

  • Question 19:

    Given the requirements:

    1.

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

    2.

    Washing instructions come from the product information manager (PIM)

    3.

    To have this attribute available to localize in the Storefront Which action meets these requirements?

    A. Create a custom attribute on the product system object and set it as localizable.

    B. Set the product system object type as localizable.

    C. Add a resource file for every locale for which the attribute needs to be translated.

    D. Add a custom attribute for each locale.

  • Question 20:

    Refer to this example snippet of an ISML template:

    Welcome back, ${pdict.username}.

    The "pdict.username" variable does not print correctly when used in a similar template.

    Assuming that the variable is correct in the Controller's "viewData", how should a developer temporarily modify their code to use a debugger and troubleshoot the issue in the template?

    A. Add an tag to have the debugger stop at the desired line.

    B. Add an tag and JavaScript with a breakpoint set.

    C. Add a local tag to inspect the topLevel function in the call stack.

    D. Add an tag to allow the inspection of global variables.

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.