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
    :Apr 18, 2024

Salesforce Salesforce Developer B2C-COMMERCE-DEVELOPER Questions & Answers

  • Question 1:

    Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox. Which two additional steps should the developer take to troubleshoot this problem? (Choose two.)

    A. Check that the search index was recently rebuilt.

    B. Check the Business Manager site cartridge path.

    C. Check that the correct code version is selected.

    D. Check the Storefront site cartridge path.

  • Question 2:

    What is accomplished by the code below?

    A. Performs a local include from the Account-Header endpoint.

    B. Performs a remote include from the Account-Header endpoint.

    C. Creates a link to the Account-Header endpoint that allows mobile navigation.

    D. Performs a call to the Account-Header endpoint to allow mobile navigation.

  • Question 3:

    A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearch function in the searchHelpers.js file.

    apiContentSearchModel.setFilteredByFolder(false);

    What does this achieve?

    A. Enables searching to find Page Designer content assets that are not in folders.

    B. Prevents Page Designer pages and components from being searchable.

    C. Extends the ContentSearchModel to allow the folder filter.

    D. Filters Page Designer search results into separate page and component folders.

  • Question 4:

    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?

    A. var Status = require (`dw/system/Status'); return new Status (Status.OK, `NO_FILES_FOUND');

    B. this.status = `NO_FILES_FOUND'; return this;

    C. return `NO_FILES_FOUND';

    D. var status = {success: `OK', message: `NO_FILES_FOUND'}; return status;

  • Question 5:

    A developer is asked to create a new service instance that will call a remote web service. Which method should the developer use to create the service instance?

    A. dw.svc.webref.getDefaultService()

    B. dw.svc.LocalServiceRegistry.getDefaultService()

    C. dw.svc.LocalServiceRegistry.createService()

    D. dw.svc.LocalServiceInstance.createService()

  • Question 6:

    Given the code snippet above, what should be added after this code so it can be used for page component display?

    A. module.exports = render;

    B. module.exports = server.exports();

    C. module.exports.render = render;

    D. base.render = render;

  • Question 7:

    A client has a requirement to render different content on the homepage based on if the customer is logged in or quest user. What should a developer implement to achieve this requirement?

    A. Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user.

    B. Add specific custom messages in Page Designer for a customer that is a registered, versus unregistered, user.

    C. Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered.

    D. Set the Content Asset configuration for a customer that is a registered, versus unregistered, user.

  • Question 8:

    A developer has a B2C site and a merchant requirement to add a new locale to it. What are the steps to enable the locale in the Storefront?

    A. Update the language under the Organization Profile section.

    B. Create, configure, and activate the locale under Global Preferences section.

    C. Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.

    D. Create and configure the locale under Global Preferences section and activate it in Site Preferences.

  • Question 9:

    A merchant wants customers to be able to order gift vouchers via their site. Since they can issue an unlimited number of these digital vouchers, this item should be available to sell at all times. How can a developer use Business Manager to ensure that the gift vouchers are always available?

    A. Manually set the inventory to a high number.

    B. Check the Available to Sell (ATS) flag for the product set.

    C. Check the perpetual flag in the product inventory record.

    D. Set StockLevel = maxAllocation for the product.

  • Question 10:

    Which two of these situations are appropriate cases for using the B2C Commerce OCAPIs? (Choose two.)

    A. Extending System Object Type definitions with new attributes.

    B. Displaying a list of B2C Commerce products in a mobile app.

    C. Showing the customer's information in their B2C Commerce "My Account" page.

    D. Updating Inventory information from a management software.

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.