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

Comm-Dev-101 Exam Dumps - Salesforce Developers Questions and Answers

Question # 44

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?

Options:

A.

dw.svc.LocalServiceRegistry.createService()

B.

dw.svc.LocalServiceInstance.createService()

C.

dw.svc.LocalServiceRegistry.getDefaultService()

Buy Now
Question # 45

Given a sandbox with an active slot configuration with the following specifications:

Content type set to product

With some product configured

With the following rendering template:slots/product/product_1x2.isml

Correctly enabled and scheduled

And given the code contained in the selected rendering template:

< isif condition= " ${!empty(slotcontent)} " >

< isloop iterator= " ${slotcontent.content} " alias= " product " >

< div class= " product " >

< isprint value= " ${product.getID()} " > < br / >

< isprint value= " ${product.getName()} " > < br / >

< /div >

< /isloop >

< /isif >

Is an additional action needed for this to work as intended?

Options:

A.

No - The content slot is rendered correctly.

B.

Yes - The isloop should be removed because no loops are allowed in a content slot rendering template.

C.

Yes - The content needs to be configured with a recommender to display products.

Buy Now
Question # 46

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

Buy Now
Question # 47

Given a job step configured in the job that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status doesn ' t represent an error condition. Which code snippet completes this requirement?

Options:

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;

Buy Now
Question # 48

A developer implements an Open Commerce API call to add products to a basket. Given the following resource configuration:

{

" resource_id " : " /baskets/** " ,

" methods " :[ " get " ],

" read_attributes " : " (**) " ,

" write_attributes " : " (**) "

}

Which modification allows the requests to successfully execute?

Options:

A.

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

B.

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

C.

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

Buy Now
Question # 49

A developer has a sandbox configured with a service and its profile and credential. Now there is a requirement to allow changes to the service URL manually from the sandbox.

Which B2C feature should the developer use to achieve the request?

Options:

A.

Use the service credential URL field.

B.

Use a Globalpreference dedicated for the service URL.

C.

Use the service status area, set the override URL checkbox, and then populate the URL field with the required one.

Buy Now
Exam Code: Comm-Dev-101
Exam Name: Salesforce Certified B2C Commerce Developer
Last Update: Sep 27, 2026
Questions: 154
Comm-Dev-101 pdf

Comm-Dev-101 PDF

$21.25  $84.99
Comm-Dev-101 Engine

Comm-Dev-101 Testing Engine

$23.75  $94.99
Comm-Dev-101 PDF + Engine

Comm-Dev-101 PDF + Testing Engine

$33.75  $134.99