ExamGecko
Home Home / Salesforce / Certified B2C Commerce Developer

Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 10

Question list
Search
Search

List of questions

Search

Related questions











When exporting a site catalog from an external system, which file format or formats should a developer use so it can be imported into a B2C Commerce site?

A.
XML only
A.
XML only
Answers
B.
CSV only
B.
CSV only
Answers
C.
XML and JSON
C.
XML and JSON
Answers
D.
JSON only
D.
JSON only
Answers
Suggested answer: A

Explanation:

Reference: https://trailhead.salesforce.com/content/learn/modules/b2c-import-export/b2c-configure-import-export

Refer to the screen shot below:

Given a site called RefArch that has the settings shown, what must be done for RefArch to use the same customer list as RefArchGlobal?

A.
Select RefArchGlobal in the dropdown for Customer List
A.
Select RefArchGlobal in the dropdown for Customer List
Answers
B.
Import the RefArchGlobal customer list into the RefArch site
B.
Import the RefArchGlobal customer list into the RefArch site
Answers
C.
Enable "Customer List Sharing" in Site Preferences
C.
Enable "Customer List Sharing" in Site Preferences
Answers
D.
Enable "Customer List Sharing" in Global Preferences
D.
Enable "Customer List Sharing" in Global Preferences
Answers
Suggested answer: A

A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the tax is not being calculated correctly on the Storefront.

What is the likely problem?

A.
Tax Region is configured wrong
A.
Tax Region is configured wrong
Answers
B.
Tax Country is missing
B.
Tax Country is missing
Answers
C.
Tax Jurisdiction is missing
C.
Tax Jurisdiction is missing
Answers
D.
Tax Locale is configured wrong
D.
Tax Locale is configured wrong
Answers
Suggested answer: D

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/profile_en_IN.xml
A.
cartridge/forms/profile_en_IN.xml
Answers
B.
cartridge/forms/profile_in.xml
B.
cartridge/forms/profile_in.xml
Answers
C.
cartridge/forms/in/profile.xml
C.
cartridge/forms/in/profile.xml
Answers
D.
cartridge/forms/en_IN/profile.xml
D.
cartridge/forms/en_IN/profile.xml
Answers
Suggested answer: D

A Newsletter controller contains the following route:

Assuming the Custom Object metadata exists, why does this route fail to persist the data submitted in the form beyond the template render lifecycle?

A.
Custom Objects can only be created by Job scripts
A.
Custom Objects can only be created by Job scripts
Answers
B.
The Custom Object creation is not wrapped in a Transaction
B.
The Custom Object creation is not wrapped in a Transaction
Answers
C.
The CustomObjectMgr variable should be declared outside of the route
C.
The CustomObjectMgr variable should be declared outside of the route
Answers
D.
The Subscribe route is missing the server.middleware.http middleware
D.
The Subscribe route is missing the server.middleware.http middleware
Answers
Suggested answer: B

A developer working on a multi-country site is asked to store country-specific data that drives the creation of a country selector. Examples of the data stored are: Pricebook to be used

Image URL for country flag

The data used in staging also applies in production, but only for this site.

Which approach should the developer take to implement these requirements?

A.
Extend the Locale System Object to contain the custom data for each country
A.
Extend the Locale System Object to contain the custom data for each country
Answers
B.
Create a replicable, site-specific Custom Object with the custom data for each country
B.
Create a replicable, site-specific Custom Object with the custom data for each country
Answers
C.
Create a replicable, organization scope Custom Object with the custom data for each country
C.
Create a replicable, organization scope Custom Object with the custom data for each country
Answers
D.
Create site-specific content assets to store the data for each country
D.
Create site-specific content assets to store the data for each country
Answers
Suggested answer: A

A Storefront is designed so that multiple pages share a common header and footer layout.

Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?

A.
<isreplace>...</isreplace>
A.
<isreplace>...</isreplace>
Answers
B.
<isinclude>...</isinclude>
B.
<isinclude>...</isinclude>
Answers
C.
<iscontent>...</iscontent>
C.
<iscontent>...</iscontent>
Answers
D.
<isdecorate>...</isdecorate>
D.
<isdecorate>...</isdecorate>
Answers
Suggested answer: A

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

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

A.
server.form.getForm('dwfrm_newsletter')
A.
server.form.getForm('dwfrm_newsletter')
Answers
B.
server.forms.getForm('newsletter')
B.
server.forms.getForm('newsletter')
Answers
C.
server.form.getForm('newsletter')
C.
server.form.getForm('newsletter')
Answers
D.
server.forms.getForm('dwfrm_newsletter')
D.
server.forms.getForm('dwfrm_newsletter')
Answers
Suggested answer: C

Which method is efficient and scalable because it uses the product search index rather than searching the database?

A.
ProductAvailabilityModel.isOrderable()
A.
ProductAvailabilityModel.isOrderable()
Answers
B.
ProductVariationModel.getVariants()
B.
ProductVariationModel.getVariants()
Answers
C.
ProductIndexModel.getOrderableProductsOnly()
C.
ProductIndexModel.getOrderableProductsOnly()
Answers
D.
ProductSearchModel().getProductSearchHits()
D.
ProductSearchModel().getProductSearchHits()
Answers
Suggested answer: D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_catalog_ProductSearchModel.html

A merchant has a requirement to render personalized content on a category page via a Content Slot that targets VIP high-spending customers during a specific promotional period.

Which two items should the developer create to achieve the specified requirements? (Choose two.)

A.
Rendering Template
A.
Rendering Template
Answers
B.
VIP Customer Group
B.
VIP Customer Group
Answers
C.
Slot Configuration
C.
Slot Configuration
Answers
D.
Page Template
D.
Page Template
Answers
Suggested answer: A, C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Fcontent%2Fb2c_managing_and_creating_content_slot_configurations.html

Total 209 questions
Go to page: of 21