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

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

Questions 4

A developer has custom debug statements in a script, but the messages are not showing up in the

Storefront Toolkit Request Log.

Which step needs to be completed to get the messages to appear in the Request Log?

Options:

A.

In Global preferences, check the box for Enable custom logging in Request Log.

B.

In Site Preferences, check the box for Enable custom Logging in Request Log

C.

In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files.

D.

In custom Log Settings, activate the loggin category at DEBUG level.

Buy Now
Questions 5

A developer has a requirement to add a new field to the IN registration from that must not appear in the US one.

Which path should be created to accomplish this requirement?

Options:

A.

cartridge/forms/en_IN/profile.xml

B.

cartridge/forms/profrfe_en_IN.xml

C.

cartridge/forms/profde.in. xml

Buy Now
Questions 6

A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

Options:

A.

Change the URI to /dw/shop/v18_3/products/creative-zen-v.

B.

Change the HTTP method to PUT.

C.

Change the HTTP method to GET.

D.

Include an authentication token in the request.

Buy Now
Questions 7

Consider the following information:

• A merchant has this three-tier category structure setup in the Storefront catalog:

New Arrivals > Women > Clothing

• The category named Clothing has all the clothing items for Women and is merchandised.

• A Search Refinement named Newness is correctly configured for the Clothing category.

When a merchandiser views the Clothing category, the Search Refinement appears and Works as

expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via

the Storefront search.

What is the Reason?

Options:

A.

There are conflicting Search Refinement definitions for Clothing and one of its parent

categories

B.

The Search Refinement definition is not set up for the Women category

C.

The Search Refinement definition is not set up for the New Arrivals Category.

D.

The Search Refinement definitions is not set up for the Root Category

Buy Now
Questions 8

A custom cartridge that seemed to be performing well in a sandbox has been installed in production. The production instance is showing increased page load times that seem to be related to the new custom code. What can a developer do to quickly track down the potential problem?

Options:

A.

Use the Code Profiler in production instance. Set the mode to Development Mode and then wait a few minutes to collect data from onsite traffic. Click the refresh button to see the new data.

B.

Use the Code Profiler in production instance. Set the mode to Development Mode and click the refresh button to see the new mode displayed.

C.

Use the Code Profiler in a sandbox instance. Set the mode Extended Development Mode and then load the suspected pages and run the suspected process several times. Click the refresh button to see the new data.

Buy Now
Questions 9

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 10

A developer has configured the following log levels for categories & sub categories as

WARN logging is enabled for 'product’ and DEBUG for "product.import"

What will be the log level used for various categories and sub-categories?

Options:

A.

WARN and ERROR are lugged for product" and all its subcategories. For the subcategory 'product.import' DEBUG and INFO are also logoed

B.

WARN and ERROR are logged fix product' and all its subcategories. For the subcategory’’ product.import* DEBUG and INFO are not logged.

C.

WARN and FRROR ate lugged for product" and all its subcategories.

Buy Now
Questions 11

A Digital Developer added a file named MyBusinessController.js in the cartridge named app_project. The project design calls for this new file to override MyBusinessController.js in client_project. The client_project cartridge contains other necessary functionality. Additional functionality is also included in the storefront_core and storefront_controllers cartridges.

Which cartridge path meets the project requirements?

Options:

A.

client_project:app_project:storefront_controllers:storefront_core

B.

app_project:storefront_controllers:storefront_core

C.

app_project:client_project:storefront_controllers:storefront_core

D.

storefront_core:storefront_controllers:client_project:app_project

Buy Now
Questions 12

A client has three different sites with three locales. Two of the sites share a library and one site has a private library.

What does the shared library allow in this context?

Options:

A.

Sharing content slots between sites

B.

Sharing content assets among locales

C.

A Sharing content assets between sites

D.

Sharing content slots among locales

Buy Now
Questions 13

A Digital Developer has been given a requirement to add fault tolerance to an existing web service integration that uses Service Framework. Administrators at Universal Containers need to be able to configure the timeout and rate limiting.

Which approach should the Developer use to implement the requirement?

Options:

A.

Implement a ServiceUnavailableException exception handler to execute fallback code.

B.

Implement a condition that checks to see if the response was empty and execute fallback code if true.

C.

Create a site preference to store timeout settings and implement an IOException handler to execute fallback code.

D.

Use the setTimeout method to execute fallback code if the request has NOT completed.

Buy Now
Questions 14

A merchant requires that an existing section of the Site become editable from the Business Manager, so

that they can modify it independently of the developer.

Which of these is an important factor for a developer to consider when choosing the appropriate solution

between a content slot and a Page Designer component?

Options:

A.

Only Page Designer Components can be localized for different languages.

B.

Only content slot configurations can be tied to campaigns.

C.

Only page Designer components can ve tied to campaigns.

D.

Only content slot configurations can ve localized for different languages.

Buy Now
Questions 15

Which object type can a developer import using the Merchant Tools > Import $ Export module in Business Manager?

Options:

A.

Images and other static assets

B.

Content slots

C.

Products

Buy Now
Questions 16

Which method is efficient and scalable because it uses the product search index rather than searching the database?

Options:

A.

ProducrlndexModel.getOrderableProductsOnly()

B.

ProduccAvailabiliryModel.isOrderable()

C.

ProductSearcbHodel().gerProductSearchHita()

D.

ProductVanari.cnMcciel.aerVariams ()

Buy Now
Questions 17

A developer wants to add a link to the My Account Page.

What is the correct code to accomplish this?

Buy Now
Questions 18

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
Questions 19

A developer is importing edits for two different sites into the same sandbox, and is provided with four different files.

Which two XML files should the developer import using the site-specific Merchant Tools import modules,

instead of the Administration section import modules?

Choose 2 answers.

Options:

A.

System type extensions (solo en Sites)

B.

Site Jobs (sites)

C.

Search Settings En (search y en Sites)

D.

Promotions ( en sites y en online marketing)

Buy Now
Questions 20

A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new

country, Italy, and the taxi s not being calculated correctly on the Storefront

What is the likely problem?

Options:

A.

Tax Region is configured wrong.

B.

Tax Country is missing

C.

Tax Jurisdiction is missing

D.

Tax Locale is configured wrong

Buy Now
Questions 21

A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection’s target version directory.

Which action potentially solves this problem?

Options:

A.

Set the active code version to use the latest compatibility mode.

B.

Remove invalid characters from the code version’s name.

C.

Remove invalid characters from cartridge file and folder names.

D.

Set the server connection’s target version directory to the active code version.

Buy Now
Questions 22

A developer is tasked with the development of anew Page Designer Page Type, as requested by the merchant.

How should they define the rendering logic of the page?

Options:

A.

Implement a JavaScript file with a render () function.

B.

Implement a metadata JSON file with a ''render'' property.

C.

Implement a Controller file with a ''render'' route.

Buy Now
Questions 23

Which of these situations is an appropriate use of the B2C Commerce OCAPIs?

Options:

A.

Updating inventory information from a warehouse management software.

B.

Extending System Object Type definitions with new attributes.

C.

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

Buy Now
Questions 24

Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object and persist it to the database?

Options:

A.

Var customobject = dw.object.CustomObjectMgr.createNewsletterSubscription(‘email’,

newsLetterForm.email.value);

B.

Var customobject =

dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value,

‘NewsletterSubscription’);

C.

Var customobject = dw.object.CustomObjectMgr. createCustomObject

(‘NewsletterSubscription’, newsLetterForm.email.value);

D.

Var customobject = dw.object.CustomObjectMgr. createCustomObject

(‘NewsletterSubscription’,’email’, newsLetterForm.email.value);

Buy Now
Questions 25

When inspecting the weekly service status report for a critical internally hosted web service used in the

application, a developer notices that there are too many instances of unavailability.

Which two solutions can reduce the unavailability of the service?

Choose 2 answers.

Options:

A.

Update the service to have a faster response time.

B.

Modify the code that makes the request to the external service to be wrapped in a try/catch

block.

C.

Increase the web service time out

D.

Change the code that sets the throwOnError attribute of the service to be true.

Buy Now
Questions 26

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?

Options:

A.

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

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.

Buy Now
Questions 27

The developer is asked to enhance the functionality of an existing controller route by adding information to the response's viewData.

How should the developer approach this task while following SFRA best practices?

Options:

A.

Replace the callback function of the existing route using superModule.

B.

Use the "extend" method of the server module for the existing route.

C.

Copy the existing route in a new cartridge and modify where necessary.

D.

Use the "append" method of the server module for the existing route.

Buy Now
Questions 28

A developer working on a simple web service integration is asked to add appropriate logging to allow future

troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

Options:

A.

Logger.info(‘Unexpected service response’)

B.

Logger.debug(‘Unexpected service response’)

C.

Logger.error(‘Unexpected service response’)

D.

Logger.warn(‘Unexpected service response’)

Buy Now
Questions 29

A developer wants to configure multiple products that should only be sold as a group. It should not be possible for buyers to buy these products individually. How should the developer configure the products?

Options:

A.

Bundle

B.

Set

C.

Variation Group

Buy Now
Questions 30

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.

Storefront Toolkit

B.

Reports and Dashboards module

C.

Pipeline Profiler

Buy Now
Questions 31

A developer wants to use an external application to manage their stores information (such as opening

hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are

saved.

What is the appropriate technique the developer should perform to allow the merchant to create a new

store in this scenario?

Options:

A.

A POST request to the Stores Data OCAPI.

B.

A PUT request to the Stores Data OCAPI.

C.

A PATCH request to the Stores Data OCAPI.

D.

An UPDATE request to the Stores Data OCAPI.

Siempre que sea un objeto standard será put en vez de post

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

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90