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

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

Searching for workable clues to ace the Salesforce Comm-Dev-101 Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s Comm-Dev-101 PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 25

A client has three different sites with three locales. Two of the sites share a library and one site has a private library.

What does the shared library allow in this context?

A.

Sharing content assets between sites

B.

Sharing content slots between sites

C.

Sharing content slots among locales

Full Access
Question # 26

How should a developer achieve the task of not accepting certain asset components in a new Page Designer layout component?

A.

Addlayout_type_exclusionin the other asset components JSON configuration.

B.

Addcomponent_type_inclusionin the layout JSON configuration.

C.

Addcomponent_type_exclusionsin the layout JSON configuration.

Full Access
Question # 27

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;

Full Access
Question # 28

A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page cache is cleaned.

Given the above requirement, where should the developer create that partition in Business Manager?

A.

Administration > Sites > Manage Sites > Site > Cache

B.

Operations > Site > Manage Sites > Cache

C.

Site > Site Preferences > Cache

Full Access
Question # 29

Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object?

A.

varCustomObject=dw.object.CustomObjectMgr.createCustomObject( ' NewsletterSubscription ' ,newsletterForm.email.value);

B.

varCustomObject=dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value, ' NewsletterSubscription ' );

C.

varCustomObject=dw.object.CustomObjectMgr.createCustomObject( ' NewsletterSubscription ' , ' email ' ,newsletterForm.email.value);

Full Access
Question # 30

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?

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.

Full Access
Question # 31

To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form.

< form ... action= " submit " >

< input name= " ${dw.web.CSRFProtection.getTokenName()} "

value= " ${dw.web.CSRFProtection.generateToken()} " >

...

< the rest of the Form Fields >

....

< /form >

To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF validation using one or both of these methods as applicable:

validateRequest

validateAjaxRequest

Where in the code does the developer need to add this CSRF validation check?

A.

In the middleware chain of the controller post route

B.

In the controller function that displays the form

C.

In the model function that persists the form data

Full Access
Question # 32

Given a B2C Commerce client with these specifics:

Sells in two different countries: US and IN

Uses only the English language

A developer has a requirement to add a new field to the IN registration form that must not appear in the US one.

Which path should be created to accomplish this requirement?

A.

cartridge/forms/en_IN/profile.xml

B.

cartridge/forms/profile_en_IN.xml

C.

cartridge/forms/profile_in.xml

Full Access
Go to page: