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 # 4

A developer has these requirements for out-of-stock products:

• Save the SKUs of the out-of-stock products that the customer is interested in.

• Save the customer email regardless if the customer is a guest or registered.

• Email the customer when the product is back-in-stock.

Which step should the developer perform as part of the solution to achieve the requirements?

Options:

A.

Create a new set-of-string type custom attribute to the system object type Profile to save all the SKUs and use the existing email field for the email.

B.

Create a new set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.

C.

Create a new custom object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.

Buy Now
Question # 5

A developer is working on a new feature that requires the use of a custom script. What is the first step the developer should take?

Options:

A.

Create the custom script in Business Manager.

B.

Define the custom script in the code.

C.

Write the logic to handle the custom script.

Buy Now
Question # 6

An instance has custom logging enabled. The log reaches the file size limit.

What happens in this situation?

Options:

A.

The current log file is archived and a new log file is created.

B.

The log file is deleted and a new log file is created.

C.

Logging is suspended for the day.

Buy Now
Question # 7

Given the following snippet:

server.append( ' Show ' ,function(req,res,next) {

According to SFRA, which option can a Developer use to complete the code above and provide data to the response using a controller?

Options:

A.

res.setViewData({data:myDataObject});res.render( ' /content/myPage ' );next();});

B.

res.viewData={data:myDataObject};res.render( ' /content/myPage ' );next();});

C.

res.render( ' /content/myPage ' );next();}).append({data:myDataObject});

Buy Now
Question # 8

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

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

Options:

A.

createRequest

B.

mockCall

C.

initServiceClient

Buy Now
Question # 9

A client has a requirement to render different content on the homepage based on if the customer is logged in or a guest user.

What should a developer implement to achieve this requirement?

Options:

A.

Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered.

B.

Set the Content Asset configuration for a customer that is a registered, versus unregistered, user.

C.

Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user.

Buy Now
Question # 10

A client that sells sport shoes wants to allow its customers to filter products based on the intended activity (such as tennis, jogging, basketball, etc.), but this particular information is not present in the current catalog.

Which two actions does a developer need to perform in a B2C Commerce instance to allow this to happen?

Options:

A.

Create a new Product custom attribute AND add a new Search Refinement Definition for the desired categories.

B.

Create a new ProductRefinement custom attribute AND add a new Search Refinement Definition for the desired categories.

C.

Create a new Product custom attribute AND add a new viewtype in the storefront catalog settings.

Buy Now
Question # 11

What should a developer implement to enhance the functionality of an existing controller route?

Options:

A.

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

B.

Replace the callback function of the existing route using superModule.

C.

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

Buy Now
Question # 12

A developer needs to update the package.json file so that it points to the hook file for a cartridge, using the hooks keyword.

Which snippet works correctly when added to the file?

Options:

A.

{ " hooks " : " ./cartridge/scripts/hooks.json " }

B.

{ hooks: ./cartridge/scripts/hooks.json }

C.

{ " hooks " : " ./scripts/hooks.json " }

Buy Now
Question # 13

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

Options:

A.

dw.svc.LocalServiceRegistry.createService()

B.

dw.svc.LocalServiceInstance

C.

dw.svc.LocalServiceRegistry.getDefaultService()

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