ExamGecko
Home Home / Salesforce / Certified B2C Commerce Developer

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

Question list
Search
Search

List of questions

Search

Related questions











A Digital Developer wants to selectively retrieve products and process them from an iPhone.

Which action should the Developer take, given that JavaScript controllers CANNOT be used?

A.
Use import/export in Business Manager.
A.
Use import/export in Business Manager.
Answers
B.
Create a webservice to retrieve products.
B.
Create a webservice to retrieve products.
Answers
C.
Use OCAPI and invoke it in native language.
C.
Use OCAPI and invoke it in native language.
Answers
D.
Use WebDAV Client to retrieve products.
D.
Use WebDAV Client to retrieve products.
Answers
Suggested answer: D

A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience.

Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?

A.
Request scope variable
A.
Request scope variable
Answers
B.
Page scope variable
B.
Page scope variable
Answers
C.
Session scope variable
C.
Session scope variable
Answers
D.
Content slot variable
D.
Content slot variable
Answers
Suggested answer: C

A Digital Developer suspects a logical error in a script.

Which action will help locate the error?

A.
Submit a support ticket to B2C Commerce.
A.
Submit a support ticket to B2C Commerce.
Answers
B.
Check request logs for evidence of the logical error.
B.
Check request logs for evidence of the logical error.
Answers
C.
Put breakpoints in the code, debug, and examine variable values.
C.
Put breakpoints in the code, debug, and examine variable values.
Answers
D.
Print all values in the script node called before the current script.
D.
Print all values in the script node called before the current script.
Answers
Suggested answer: B

Once the Cache Information tool of the storefront toolkit is enabled, how can a Digital Developer view caching information for a particular component of the page?

A.
Hover over the caching icons now present on the storefront.
A.
Hover over the caching icons now present on the storefront.
Answers
B.
Open the Request Logs to view the caching information.
B.
Open the Request Logs to view the caching information.
Answers
C.
Start a pipeline debugging session and view the caching information provided.
C.
Start a pipeline debugging session and view the caching information provided.
Answers
D.
Right-click on the component in UX Studio and view the caching properties of the file.
D.
Right-click on the component in UX Studio and view the caching properties of the file.
Answers
Suggested answer: B

A Digital Developer is working in a sandbox on a site named test-site using the domain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.

By default, which URL format is a proper Open Commerce API for Sandbox?

A.
https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
A.
https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
Answers
B.
https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
B.
https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
Answers
C.
https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
C.
https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
Answers
D.
https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
D.
https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
Answers
Suggested answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FAPIExplorer.html

A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing Cart.js controller that handles processing of the other cart forms. In addition, a form field node is in the form XML and the necessary form input is present in the ISML template.

The code below is the submit button for the ISML markup.

What additional steps must occur before the Digital Developer can begin writing the processing code for this request?

A.
A.
Answers
B.
B.
Answers
C.
C.
Answers
D.
D.
Answers
Suggested answer: C

Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).

To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?

A.
dw.ocapi.shop.order.validateOrder
A.
dw.ocapi.shop.order.validateOrder
Answers
B.
dw.ocapi.shop.basket.calculate
B.
dw.ocapi.shop.basket.calculate
Answers
C.
dw.ocapi.shop.basket.afterPostShipment
C.
dw.ocapi.shop.basket.afterPostShipment
Answers
D.
dw.ocapi.shop.order.afterPOST
D.
dw.ocapi.shop.order.afterPOST
Answers
Suggested answer: B

Explanation:

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

A digital instance has one site, with one master product catalog separate from the site catalog. Some, but NOT all, products in the master catalog are assigned to categories of the site catalog.

Using Business Manager, how can a Digital Developer create a catalog export file that contains only the products assigned to the site catalog?

A.
Use the Catalog Export module to export the site catalog.
A.
Use the Catalog Export module to export the site catalog.
Answers
B.
Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
B.
Use the Catalog Export module to export the master catalog, with a category-assignment search to export specific products.
Answers
C.
Use the Site Import & Export module to export both the site catalog and the master catalog in a single archive.
C.
Use the Site Import & Export module to export both the site catalog and the master catalog in a single archive.
Answers
D.
Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.
D.
Use the Site Import & Export module to export the master catalog, filtered by site catalog categories to export specific products.
Answers
Suggested answer: B

Explanation:

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

A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.

Which statement should the Developer use to lazy load scripts?

A.
importPackage () method
A.
importPackage () method
Answers
B.
$.ajax () jQuery method
B.
$.ajax () jQuery method
Answers
C.
local include
C.
local include
Answers
D.
require () method
D.
require () method
Answers
Suggested answer: D

A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability. Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)

A.
Modify the code that makes the request to the external service to be wrapped in a try / catch block.
A.
Modify the code that makes the request to the external service to be wrapped in a try / catch block.
Answers
B.
Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
B.
Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
Answers
C.
Increase the web service time out.
C.
Increase the web service time out.
Answers
D.
Update the external service to have a faster response time.
D.
Update the external service to have a faster response time.
Answers
Suggested answer: A, D
Total 209 questions
Go to page: of 21