Month End Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: newyear

Salesforce Comm-Dev-101 - Salesforce Certified B2C Commerce Developer

Page: 5 / 5
Total 154 questions

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.

this.status= ' NO_FILES_FOUND ' ;returnthis;

B.

varStatus=require( ' dw/system/Status ' );returnnewStatus(Status.OK, ' NO_FILES_FOUND ' );

C.

varstatus={success: ' OK ' ,message: ' NO_FILES_FOUND ' };returnstatus;

A client has a requirement to allow users on the Storefront to filter by a newly created attribute.

After creating the search refinement, what else is necessary to achieve this?

A.

Ensure the attribute has data and is indexed.

B.

Set the attribute as Searchable.

C.

Change the productsearchrefinebar.isml template.

Which method should a developer use to create a service instance that will call a remote web service?

A.

dw.svc.LocalServiceRegistry.createService()

B.

dw.svc.LocalServiceInstance

C.

dw.svc.LocalServiceRegistry.getDefaultService()

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 logged for " product " and all its subcategories. For the subcategory " product.import " DEBUG and INFO are also logged.

B.

WARN and ERROR are logged for " product " and all its subcategories. For the subcategory " product.import " DEBUG and INFO are not logged.

C.

WARN and ERROR are logged for " product " and all its subcategories.

Which item is appropriate content for custom logs implemented at checkout?

A.

Payment gateway service response code

B.

Customer ' s password at post-checkout sign up

C.

Transaction ' s credit card information

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?

A.

Search settings and Promotions

B.

Search settings and System type extensions

C.

Promotions and System type extensions