Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

B2C-Commerce-Developer Salesforce Certified B2C Commerce Developer (SP23) Questions and Answers

Questions 4

A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.

How might this issue be resolved to ensure a better customer journey?

Options:

A.

In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.

B.

In Business Manager, enter a higher boost factor for availability in Searchable Attributes.

C.

In Business Manager, set an availability low ranking threshold in Search Preferences.

D.

Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.

Buy Now
Questions 5

A merchant asks a developer to create a Cache Partition for the home page, so that when the home page

is edited, only the home page is cleaned.

Given the above requirement, where should the developer create that partition in Business Manager?

Options:

A.

Administration > Sites > Manage Sites > Site > Cache

B.

Operations > Site > Manage Sites > Cache

C.

Operations > Cache > Site

D.

Site > Site Preferences > Cache

Buy Now
Questions 6

A retailer notices that the Account Addresses page is showing the wrong shopper’s address.

Which tool should the developer start with to identify the issue?

Options:

A.

Pipeline profiler

B.

Code Profiler

C.

Storefront Toolkit

D.

Reports and Dashboards Module

Buy Now
Questions 7

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.

What is the result'

Options:

A.

Logs will not be written.

B.

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

C.

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

D.

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

Buy Now
Questions 8

A developer is asked to periodically create a CSB file in a WebDAV folder to hold the orders information of the last 30 days.

What are the appropriate actions to implement such a requirement?

Options:

A.

Develop and configure a steptype and corresponding CommonJ5 job step script.

B.

Implement and configure a recurring task using the cron command in Business Manager.

C.

Configure a new custom OCAPI endpoint and use the Customers resource type.

Buy Now
Questions 9

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

What does this achieve?

Options:

A.

Allows Page Designer pages and components to be searchable

B.

Prevents Page Designer pages from being searchable

C.

Allows filtering Page Designer pages by folder

Buy Now
Questions 10

A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store

locator list, the client wants the single-brand stores to have a particular background color to highlight them.

Which Business Manager action should be completed to allow the developer to apply different styling to

the single-brand stores?

Options:

A.

Add a Boolean custom attribute to the Store system object

B.

Configure the existing Store custom object type definition

C.

Create a new SingleBrandStore custom object configuration.

D.

Adjust the relevant Site Preference in the Stores group

Buy Now
Questions 11

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)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 12

A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:

Which modification allows the requests to successfully execute?

Options:

A.

Change the "resource_id" value to: "/baskets/*/items".

B.

Change the "write_attributes" value to: "(+items)".

C.

Change the "read_attributes" value to: "(items)".

D.

Change the "methods" value to: ["get", "post"].

Buy Now
Questions 13

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?

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 14

Universal Containers calls the following combination of products “The Basics” and sells the combination as a unique product ID:

  • One Model 103 container
  • Five Model 611 container
  • Tree Model 201 container

The Developer created these three products in the catalog.

What is the next step in Business Manager to create “The Basics” as a combination?

Options:

A.

In the Product Bundles module, create a bundle named “The Basics”.

B.

In the Products module, create a product named “The Basics” and add the products to the Product Bundles tab.

C.

In the Products module, create a product named “The Basics” and add the products to the Product Sets tab.

D.

In the Product Sets module, create a product set named “The Basics”.

Buy Now
Questions 15

A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.

Which step must a developer take in Business Manager to achieve this?

Options:

A.

In Payment Methods, enable American Express as a credit card type.

B.

Add American Express into the Order settings in Site Preferences.

C.

In Payment Processor, create American Express as a payment type.

D.

Add American Express as a Payment Preference in Site Preferences.

Buy Now
Questions 16

The Home-Show route uses this middleware chain:

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:

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

Options:

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 because the signature lines do not match.

Buy Now
Questions 17

Multiple shoppers 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?

Options:

A.

Pipeline Profiler

B.

Request Logs

C.

URL Request Analyzer

Buy Now
Questions 18

A Digital Developer needs to store information temporarily and decides to create a custom object.

Which code creates a custom object?

Options:

A.

CustomObject.createCustomObject(CustomObjectType,primaryKey);

B.

CustomObject.createCustomObject(primaryKey,CustomObjectType);

C.

CustomObjectMgr.createCustomObject(primaryKey);

D.

CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)

Buy Now
Questions 19

A new product has been added to the Storefront catalog that 15 assigned to a site

Which configuration does a developer need to ensure to have a new product visible in the Storefror

Options:

A.

The search index is built AND the product is online and searchable.

B.

The product has a master product AND the search index is built.

C.

The product has a price AND the product rs online and searchable.

Buy Now
Questions 20

A Digital Developer suspects a logical error in a script.

Which action will help locate the error?

Options:

A.

Submit a support ticket to B2C Commerce.

B.

Check request logs for evidence of the logical error.

C.

Put breakpoints in the code, debug, and examine variable values.

D.

Print all values in the script node called before the current script.

Buy Now
Questions 21

Business Manager has the configuration:

Active log category is “root”

Log level of INFO

The code below execites:

Var log = Logger.getLogger(“products”,”export”);

Log.info (“This is important information”);

Using this information, what is the beginning of the filename in which the log will be written?

Options:

A.

custom-export

B.

custom-products

C.

products

D.

info-export

Buy Now
Questions 22

A developer is asked to create a controller endpoint that will be used in a client-side AJAX request. Its purposes 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?

Options:

A.

res.json()

B.

res.render()

C.

res.print()

Buy Now
Questions 23

A Digital Developer is working in a sandbox on a site named test-site using the domain 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?

Options:

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...

Buy Now
Questions 24

The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.

What is the correct folder to store the associated .properties files?

Options:

A.

cartridge/templates/fr

B.

A cartridge/templates/resources

C.

cartridge/resources

D.

cartridge/templates/resources/fr

Buy Now
Questions 25

A developer plans to use the /search_suggestion (Shop API) in a Storefront application and the following property must be set to do so

suggestion.product.image:view_type

What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?

Options:

A.

If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.

B.

If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default

C.

If the view_type is not set or if the view_type is unknown, the image size of 'large' is used by default

Buy Now
Questions 26

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. Which two tasks does the developer need to perform to correct this issue?

Choose 2 answers

Options:

A.

Request that the developer's account be given permission to the Log Center of the current realm.

B.

Set the root log level to debug.

C.

Check the box for Info under Log Files.

D.

Set the logging global preference to true.

Buy Now
Questions 27

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?

Options:

A.

HTML Form

B.

SOAP Form

C.

POST Form

D.

HTTP Form

Buy Now
Questions 28

In Log Center, a developer notes a number of Cross Site Request Forgery (CSRF) log entries. The developer knows that this happens when a CSRF token is either not found or is invalid, and is working to remedy the situation as soon as possible.

Which two courses of action might solve the problem?

Choose 2 answers

Options:

A.

Add the token in the ISML template.

B.

Extend the CSRF token validity to avoid timeouts.

C.

Delete the existing CSRF whitelists in Business Manager.

D.

Add csrfProtection.generateToken as a middleware step in the controller.

Buy Now
Questions 29

A merchant has a content slot on a page that currently displays products based on the top sellers for the current week. The merchant wants to change this functionality. They want to 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?

Options:

A.

Change the content type AND the rendering template in the slot configuration.

B.

Change the default setting AND the rendering template in the slot configuration.

C.

Change the rendering template in the slot configuration AND delete the existing content slot to create a new one.

Buy Now
Questions 30

Which technical reports datapoint measures the performance of a controller’s script execution if network factors and Web Adaptor processing is ignored?

Options:

A.

Processing time

B.

Cache hit ratio

C.

Call count

D.

Response time

Buy Now
Questions 31

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?

Options:

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

Buy Now
Exam Name: Salesforce Certified B2C Commerce Developer (SP23)
Last Update: May 6, 2024
Questions: 204
B2C-Commerce-Developer pdf

B2C-Commerce-Developer PDF

$28  $80
B2C-Commerce-Developer Engine

B2C-Commerce-Developer Testing Engine

$33.25  $95
B2C-Commerce-Developer PDF + Engine

B2C-Commerce-Developer PDF + Testing Engine

$45.5  $130