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

Exact2Pass Menu

Salesforce Certified B2C Commerce Developer

Last Update 1 hour ago Total Questions : 154

The Salesforce Certified B2C Commerce Developer content is now fully updated, with all current exam questions added 1 hour ago. Deciding to include Comm-Dev-101 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our Comm-Dev-101 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these Comm-Dev-101 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Salesforce Certified B2C Commerce Developer practice test comfortably within the allotted time.

Question # 1

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

A.

Order failure information

B.

Customer ' s password at post-checkout sign up

C.

Transaction ' s credit card information

Question # 2

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.

Question # 3

Business Manager has the configuration:

• Active Log category is " root "

• Log level of INFO

The code below executes.

varlog=Logger.getLogger( " products " , " export " );

log.info( " This is important information " );

Using this information, what is the beginning of the filename in which the log will be written?

A.

products

B.

custom-products

C.

custom-export

Question # 4

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

A.

cartridge/templates/resources

B.

cartridge/resources

C.

cartridge/templates/resources/fr

Question # 5

In the SFRA Page controller, the following route exists:

server.get( ' Include ' ,server.middleware.include,cache.applyDefaultCache,

function(req,res,next) {

...assume original code here...

next();

}

);

The result of navigating to the address below is an error page.

https://yourinstance/on/demandware.store/Sites-RefArch-Site/en_US/Page-Include?cid=about-us

What is the correct way to use this controller route in an ISML template?

A.

< a href= " ${URLUtils.url( ' Page-Include ' , ' cid ' , ' about-us ' )} " > ${Resource.msg( ' aboutus ' , ' content ' ,null)} < /a >

B.

< isinclude url= " ${URLUtils.url( ' Page-Include ' , ' cid ' , ' about-us ' )} " >

C.

< iscontent url= " ${URLUtils.url( ' Page-Include ' , ' cid ' , ' about-us ' )} " >

Question # 6

What code should the developer write to log an unexpected service response?

A.

Logger.warn( ' Unexpected service response. ' )

B.

Logger.debug( ' Unexpected service response. ' )

C.

Logger.error( ' Unexpected service response. ' )

Question # 7

The developer needs to add custom category debug logging into the " contact " script, to ensure that a third-party service call responds as expected.

Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

01varLogger=require( ' dw/system/Logger ' );

02varservice=dw.svc.LocalServiceRegistry.createService( ' contact.http.submit ' ,options);

03varserviceResponse=service.call(requestJSON);

04

05if(serviceResponse.ok) {

06// Insert logging code here

07}

A.

Logger.getLogger( ' contact ' ).debug( ' Contact service responded with OK. ' )

B.

Logger.debug( ' Contact service responded with OK. ' )

C.

Logger.customLogger( ' contact ' ).debug( ' Contact service responded with OK. ' )

Question # 8

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?

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});

Question # 9

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?

A.

Bundle

B.

Set

C.

Variation Group

Question # 10

A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.

How might this issue be resolved to ensure a better customer journey?

A.

Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.

B.

In Business Manager, set an availability low ranking threshold in Search Preferences.

C.

In Business Manager, enter a higher boost factor for availability in Searchable Attributes.

Go to page: