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

Salesforce B2C-Commerce-Developer - Salesforce Certified B2C Commerce Developer (SP25)

Page: 5 / 6
Total 203 questions

A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by

thedw.avc.ServiceCaliback class.

Which callback method is required only when invoking a SOAP service?

A.

initServiceClient

B.

createRequeat

C.

mockCall

D.

parseResponse

A developer is given a task to implement a new Page Designer layout component that doesn’t accept

certain asset components.

How should the developer achieve the above task?

A.

Add component_type_inclusion in the layout json configuration

B.

Addcomponent_type_Exclusions in the layout json configuration

C.

Add layout_type_inclusion in the target components json configurations.

D.

Add layout_type_exclusion in the other asset components json configuration.

A developer has a requirement to display a banner in two different category pages.

Which snippet of code should the developeradd to a template to allow the merchant to configure each independently?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

A Digital Developernoticed 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?

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.

Given the requirements:

To integrate with an external web service using HTTP requests

To create a service for this purpose with the Service framework using the LocalServiceRegistry

class.

To test the service before the external service provider makes the API available

Which solution allows the developer to satisfy the requirements?

A.

Create a service and implement the mockfull callback and a sitepreference to enable or disable themock response.

B.

Create a service and implement the mockFill callback and set the service mode tomock.

C.

Create a service and a Sitepreference that induce the service to respond witch a mock responseusing a conditional.

D.

Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one

Universal Containers sells physical gift cards for the holidays.

What needs to occur to guarantee the cards will always be available?

A.

Create an inventory record with an unlimited Allocation value.

B.

Create an inventory record with an extremely high Allocation value (i.e., 1 billion certificates).

C.

Create a perpetual inventory record.

D.

Create an inventory record with Backorder Handling enabled.

A developer is asked to implementa simple call to an authentication - protected REST web service.

Which configuration is valid?

A.

Add the authentication password to the service credentials.

B.

Configure the authentication username using a site preference.

C.

Insert the service'sendpoint in a .properties file.

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

A.

WARN and ERROR are lugged for product" and all its subcategories. For thesubcategory '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.

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?

A.

cartridge/templates/fr

B.

A cartridge/templates/resources

C.

cartridge/resources

D.

cartridge/templates/resources/fr