ExamGecko
Ask Question

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

List of questions

Question 31

Report
Export
Collapse

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?

Use import/export in Business Manager.
Use import/export in Business Manager.
Create a webservice to retrieve products.
Create a webservice to retrieve products.
Use OCAPI and invoke it in native language.
Use OCAPI and invoke it in native language.
Use WebDAV Client to retrieve products.
Use WebDAV Client to retrieve products.
Suggested answer: D
asked 23/09/2024
Pradap Singh
32 questions

Question 32

Report
Export
Collapse

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?

Request scope variable
Request scope variable
Page scope variable
Page scope variable
Session scope variable
Session scope variable
Content slot variable
Content slot variable
Suggested answer: C
asked 23/09/2024
Kevin Margan
45 questions

Question 33

Report
Export
Collapse

A Digital Developer suspects a logical error in a script.

Which action will help locate the error?

Submit a support ticket to B2C Commerce.
Submit a support ticket to B2C Commerce.
Check request logs for evidence of the logical error.
Check request logs for evidence of the logical error.
Put breakpoints in the code, debug, and examine variable values.
Put breakpoints in the code, debug, and examine variable values.
Print all values in the script node called before the current script.
Print all values in the script node called before the current script.
Suggested answer: B
asked 23/09/2024
Jatuchot Siriwongsilp
41 questions

Question 34

Report
Export
Collapse

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?

Hover over the caching icons now present on the storefront.
Hover over the caching icons now present on the storefront.
Open the Request Logs to view the caching information.
Open the Request Logs to view the caching information.
Start a pipeline debugging session and view the caching information provided.
Start a pipeline debugging session and view the caching information provided.
Right-click on the component in UX Studio and view the caching properties of the file.
Right-click on the component in UX Studio and view the caching properties of the file.
Suggested answer: B
asked 23/09/2024
null null
40 questions

Question 35

Report
Export
Collapse

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?

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

Explanation:

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

asked 23/09/2024
Jesus De Leon Luis
47 questions

Question 36

Report
Export
Collapse

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.

Salesforce Certified B2C Commerce Developer image Question 36 59846 09232024001900000000

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

Suggested answer: C
asked 23/09/2024
Andrew Vogel
40 questions

Question 37

Report
Export
Collapse

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?

dw.ocapi.shop.order.validateOrder
dw.ocapi.shop.order.validateOrder
dw.ocapi.shop.basket.calculate
dw.ocapi.shop.basket.calculate
dw.ocapi.shop.basket.afterPostShipment
dw.ocapi.shop.basket.afterPostShipment
dw.ocapi.shop.order.afterPOST
dw.ocapi.shop.order.afterPOST
Suggested answer: B

Explanation:

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

asked 23/09/2024
Ann Nacua
45 questions

Question 38

Report
Export
Collapse

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?

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

Explanation:

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

asked 23/09/2024
Corey Rivers
37 questions

Question 39

Report
Export
Collapse

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?

importPackage () method
importPackage () method
$.ajax () jQuery method
$.ajax () jQuery method
local include
local include
require () method
require () method
Suggested answer: D
asked 23/09/2024
Patrick Neason
32 questions

Question 40

Report
Export
Collapse

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

Modify the code that makes the request to the external service to be wrapped in a try / catch block.
Modify the code that makes the request to the external service to be wrapped in a try / catch block.
Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
Increase the web service time out.
Increase the web service time out.
Update the external service to have a faster response time.
Update the external service to have a faster response time.
Suggested answer: A, D
asked 23/09/2024
david buisan garcia
30 questions
Total 209 questions
Go to page: of 21
Search

Related questions