Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

B2C-Commerce-Developer Salesforce Certified B2C Commerce Developer (SP25) Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Salesforce B2C-Commerce-Developer Salesforce Certified B2C Commerce Developer (SP25) 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 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 3
Total 203 questions

A merchant has a content slot on a page that currently displays products based on the top Sellers for the

current week.

They wish to change this functionality and, instead, have the slot render a specific content asset so that the

content experience is more personalized to the visitors.

Which two actions are necessary to make this change?

Choose 2 answers

A.

Delete the existing content slot and create a new one.

B.

Change the rendering template in the slot configuration

C.

Change the default setting in the slot configuration

D.

Change the content type for the slot configuration

A developer has a sandbox with code to log a message during execution, and the following code:

After the code executes, the developer does not see any log file with the message in the WebDAV folder.

What could the developer do to correct this issue?

A.

Set the root log level to debug AND check the box for info under Log Files.

B.

Set the logging global preference to true AND set the root log level to debug.

C.

Set the logging global preference to true AND check the box for Info under Log Files

A developer is configuring Payment Methods on astorefront. Which of the following considerations should be kept in rmnd while configuring payment methods,

A.

You can't delete a default payment method. You can only disable it.

B.

You can add only up to 5 payment methods

C.

You can't drag and drop thecolumn headers to change the sort order.

Which is an appropriate use of the ISML tag that follows B2C Commerce and SFRA best practices?

A.

Display a section of the page to logged users only

B.

Implement involved business logs through conditional statements.

C.

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

Aclient has custom object definition and requirement that occasional data changes in staging also need to

exist in production,

Which task should the developer perform to meet these requirements when setting up the custom object?

A.

Create two copies of thecustom object in staging and set Sharing = True.

B.

Create the custom object definition in staging as Shared

C.

Create the custom object definition in production as Replicable

D.

Create the custom object definition in staging as Replicable

A Digital Developer wants to selectivelyretrieve products and process them from an iPhone.

Which action should the Developer take, given that JavaScript controllers CANNOT be used?

A.

Use import/export in Business Manager.

B.

Create a webservice to retrieve products.

C.

Use OCAPI and invoke it in native language.

D.

Use WebDAV Client to retrieve products.

There is a business requirement thata custom controller in app_custom_my_cartridge invokes the calculateTax(basket) function of the dw, order calculateTex hook that is defined in app_storefront_base. How can the developer implement this call?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

A client has two B2C Commerce sites in the same instance: one forthe U.S. market, the other for the European market. They offer free gift wrapping on a selection of products. For each order, five products can be wrapped in the U.S., but only three products can be wrapped in the European region.

How should a developer allow the merchant to independently adjust this number?

A.

Create a new custom preference by extending the Site Preference object type.

B.

Select the corresponding option in the system preference for Orders.

C.

Add a new Campaign using the Online Marketing section of the Business Manager.

D.

Configure a new localizable content slot with a market-specific value.

Universal Containers wants to add a model field to eachproduct. Products will have locale-specific model values.

How should the Digital Developer implement the requirement?

A.

Utilize resource bundles for translatable values.

B.

Set the model field as a localizable attribute.

C.

Store translated model valuesin different fields; one field for each locale.

D.

Add model to a new custom object with localizable attributes.

Given the requirements:

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

• Washing instructionscome from the product information manager(PIM)

• 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

A merchant has complained to the developers that some products are not appearing in the storefront and has asked them to diagnose and solve the issue.

Which two factors might be causing a product to be hidden?

Choose 2 answers

A.

Product has been set to searchable.

B.

Product lacks a price.

C.

Product does not have any images.

D.

ProductAvailable to sell is <1.

E.

Product is not online.

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

A.

Change the controller route with new functionality.

B.

Extend the route with new functionality.

C.

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

D.

Override the route with new functionality.

A job executes a pipeline that makes calls to an external system.

Which two actions prevent performance issues in this situation? (Choose two.)

A.

Use synchronous import or export jobs

B.

Configure a timeout for the script pipelet.

C.

Disable multi-threading.

D.

Use asynchronous import or export jobs.

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.

Given a file in a plug-in cartridge with the following code:

‘use strict’:

Var base = module.superModule;

Function applyCustomCache (req,res,next){

res.CachePeriod = 6; //eslint-disable-line no-param-reassign

res.cachePeriodUnit = ‘hours’) //eslint-disable-line no-param-reassign

next();

}

Module.exports = base;

Module.exports.applyCustomCache = applyCustomCache;

What does this code extend?

A.

A controller

B.

A middleware script

C.

A decorator

D.

A model

The developercreated a new Storefront category in storefront-catalog-m-en, but when viewing the

Storefront site, the category is not visible.

What are two possible reasons?

A.

The Storefront catalog is offline

B.

The category does not contain available products

C.

The category is not sorted

D.

The category is offline.

Once the Cache Information tool of the storefront toolkit isenabled, how can a Digital Developer view caching information for a particular component of the page?

A.

Hover over the caching icons now present on the storefront.

B.

Open the Request Logs to view the caching information.

C.

Start a pipeline debugging session and view the caching information provided.

D.

Right-click on the component in UX Studio and view the caching properties of the file.

The developer has been given the following business requirement:

The shipping method, "Free Standard Ground Shipping" has an exclusion for products with 'category equals oris 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.

Createa new shipping method and label it "Free Standard Ground Shipping". Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.

B.

Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<" "Free Standard Ground Shipping."

C.

Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.

D.

Extend the code in cartridge/models/shipping/shippingMethod.jsusing module.superModule and add an exception for the specified brand.

A merchant has a requirement to sell a combination of four existing products with a unique product ID.

This collection will be known as ‘Our Top Combo’, and isbase don the merchant’s trading information that

shows this combination to be in high demand.

What does the developer need to do next to fulfill this requirement?

A.

Create a unique produce to called ‘Our Top Combo’ and add the four products into the Product Bundlestab.

B.

Create a Content Slot with Content Type = Product and add the four component products into that slot.

C.

Create a Product Set called ‘Our Top Combo’ and add the products into the set.

D.

Create a recommendation rule associating the fourproducts as a recommendation group.

A client has a requirement to render different content on the homepage based on if the customer is logged in or guest 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.

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

C.

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

D.

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

Page: 1 / 3
Total 203 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved