ExamGecko
Ask Question

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

List of questions

Question 21

Report
Export
Collapse

Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties.

To which file should the developer add German string values?

checkout_de.properties in resources folder
checkout_de.properties in resources folder
checkout.properties in the de locale folder
checkout.properties in the de locale folder
checkout.properties in the default locale folder
checkout.properties in the default locale folder
de_checkout.properties in resources folder
de_checkout.properties in resources folder
Suggested answer: D
asked 23/09/2024
Renaldo Williams
43 questions

Question 22

Report
Export
Collapse

A Digital Developer has a new requirement to disable the "Discover" credit card type for all checkouts.

What does the Developer need to change in Business Manager to fulfill this requirement?

Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
Checkout exclusion rules in the Merchant Tools > Site Preferences > Checkout Preferences module.
Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
Credit card exclusion rules in the Merchant Tools > Site Preferences > Payment Preferences module.
Credit cards in the Merchant Tools > Ordering > Payment Methods module.
Credit cards in the Merchant Tools > Ordering > Payment Methods module.
Credit card exclusion rules in the CreditCardType.json configuration file.
Credit card exclusion rules in the CreditCardType.json configuration file.
Suggested answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp

asked 23/09/2024
zulmaidi mr
38 questions

Question 23

Report
Export
Collapse

A Digital Developer needs to store information temporarily and decides to create a custom object.

Which code creates a custom object?

CustomObject.createCustomObject(CustomObjectType,primaryKey);
CustomObject.createCustomObject(CustomObjectType,primaryKey);
CustomObject.createCustomObject(primaryKey,CustomObjectType);
CustomObject.createCustomObject(primaryKey,CustomObjectType);
CustomObjectMgr.createCustomObject(primaryKey);
CustomObjectMgr.createCustomObject(primaryKey);
CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
Suggested answer: A
asked 23/09/2024
G.C. Helweg
38 questions

Question 24

Report
Export
Collapse

The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.

Salesforce Certified B2C Commerce Developer image Question 24 59834 09232024001900000000

Which statement correctly adds a log entry?

Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
Suggested answer: A
asked 23/09/2024
Joseph McCray
43 questions

Question 25

Report
Export
Collapse

Universal Containers wants to give customers the ability to refine product search results by a product custom attribute, weightCapacity.

Which series of steps should a Digital Developer take to show this refinement on the storefront?

Define a sorting rule for weightCapacity, then rebuild the product search index.
Define a sorting rule for weightCapacity, then rebuild the product search index.
Define a search refinement for weightCapacity, then rebuild the product search index.
Define a search refinement for weightCapacity, then rebuild the product search index.
Define search-suggestion buckets for weightCapacity, then rebuild the product search index.
Define search-suggestion buckets for weightCapacity, then rebuild the product search index.
Define a search refinement for weightCapacity, then clear the page cache segment for Search-Show.
Define a search refinement for weightCapacity, then clear the page cache segment for Search-Show.
Suggested answer: B

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FSearchandNavigation%2FConfiguringCataloglevelSearchRefinementDefinitions.html

asked 23/09/2024
tony Gentry
42 questions

Question 26

Report
Export
Collapse

A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API. An example request URL is:

Salesforce Certified B2C Commerce Developer image Question 26 59836 09232024001900000000

Which resource_id value enables the appropriate resource?

/inventory_lists/*
/inventory_lists/*
/inventory_lists/**
/inventory_lists/**
/inventory_list_search
/inventory_list_search
/products/*
/products/*
Suggested answer: D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FOCAPI%2F15.6%2Fusage%2FOCAPISettings.html

asked 23/09/2024
Troy Borders
31 questions

Question 27

Report
Export
Collapse

Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)

Use one style sheet for each ISML decorator template.
Use one style sheet for each ISML decorator template.
Place CSS outside of templates.
Place CSS outside of templates.
Compress CSS.
Compress CSS.
Use inline Javascript.
Use inline Javascript.
Combine several images into a single image.
Combine several images into a single image.
Suggested answer: A, C, D
asked 23/09/2024
Paola Aguirre
39 questions

Question 28

Report
Export
Collapse

A Digital Developer needs to add logging to the following code:

Salesforce Certified B2C Commerce Developer image Question 28 59838 09232024001900000000

Which statement logs the HTTP status code to a debug-level custom log file?

logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
Suggested answer: B
asked 23/09/2024
kinshuk choubisa
30 questions

Question 29

Report
Export
Collapse

Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

Content slots
Content slots
Images and other static assets
Images and other static assets
Products
Products
Folders
Folders
Content assets
Content assets
Suggested answer: A, C, D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FImportExport%2FImportExportObjectCheatsheet.html

asked 23/09/2024
Perry Schoenmaker
37 questions

Question 30

Report
Export
Collapse

Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.

The following processing code is found in the Cart.js controller file:

Salesforce Certified B2C Commerce Developer image Question 30 59840 09232024001900000000

What should the Developer verify to identify the issue?

The CSRF cartridge is included in the site's cartridge path.
The CSRF cartridge is included in the site's cartridge path.
The form group has the secure attribute set to true.
The form group has the secure attribute set to true.
The CSRF token is present in the form and is being submitted in the request.
The CSRF token is present in the form and is being submitted in the request.
The CSRF settings in Business Manager are properly configured.
The CSRF settings in Business Manager are properly configured.
Suggested answer: C
asked 23/09/2024
Ana Rosa Abascal Ortega
39 questions
Total 209 questions
Go to page: of 21
Search

Related questions