Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: get65

Salesforce Updated Comm-Dev-101 Exam Questions and Answers by navy

Page: 4 / 11

Salesforce Comm-Dev-101 Exam Overview :

Exam Name: Salesforce Certified B2C Commerce Developer
Exam Code: Comm-Dev-101 Dumps
Vendor: Salesforce Certification: Developers
Questions: 154 Q&A's Shared By: navy
Question 16

A developer has a sandbox with code to log a message during execution, and the following code:

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

Logger.info(message);

After the code executes, the developer does not see any log file with the message in the WebDAV folder.

What could the developer do to correct this issue?

Options:

A.

Set the root log level to debug AND check the box for Info under Log Files.

B.

Set the logging global preference to true AND set the root log level to debug.

C.

Set the logging global preference to true AND check the box for Info under Log Files.

Discussion
Norah
Cramkey is highly recommended.
Zayan Oct 22, 2026
Definitely. If you're looking for a reliable and effective study resource, look no further than Cramkey Dumps. They're simply wonderful!
Fatima
Hey I passed my exam. The world needs to know about it. I have never seen real exam questions on any other exam preparation resource like I saw on Cramkey Dumps.
Niamh Oct 1, 2026
That's true. Cramkey Dumps are simply the best when it comes to preparing for the certification exam. They have all the key information you need and the questions are very similar to what you'll see on the actual exam.
Honey
I highly recommend it. They made a big difference for me and I'm sure they'll help you too. Just make sure to use them wisely and not solely rely on them. They should be used as a supplement to your regular studies.
Antoni Oct 16, 2026
Good point. Thanks for the advice. I'll definitely keep that in mind.
Amy
I passed my exam and found your dumps 100% relevant to the actual exam.
Lacey Oct 18, 2026
Yeah, definitely. I experienced the same.
Question 17

A merchant has asked their development team to add a new site.

Which task is essential for correct site configuration prior to launch?

Options:

A.

Assign a default currency.

B.

Assign a default payment method.

C.

Assign a default payment processor.

Discussion
Question 18

Below is a form definition snippet from the newsletter.xml file:

< ?xmlversion= " 1.0 " ? >

< formxmlns= " http://www.demandware.com/xml/form/2008-04-19 " >

< fieldformid= " email " label= " Email: " type= " string "

mandatory= " true " max-length= " 50 " / >

< /form >

Which line of code creates a JSON object to contain the form data?

Options:

A.

server.forms.getForm( ' newsletter ' )

B.

server.form.getForm( ' newsletter ' )

C.

server.forms.getForm( ' dwfrm_newsletter ' )

Discussion
Question 19

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}

Options:

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

Discussion
Page: 4 / 11

Comm-Dev-101
PDF

$38.5  $109.99

Comm-Dev-101 Testing Engine

$45.5  $129.99

Comm-Dev-101 PDF + Testing Engine

$59.5  $169.99