Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 11
List of questions
Question 101

A developer needs to check for product inventory in all inventory lists using the Open Commerce API.
An example request URL is:
http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/product_inventory_records/00883408601
Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?
Question 102

A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Lo.
Which step needs to be completed to get the messages to appear in the Request Log?
Explanation:
Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Fstorefront_toolkit%2Fb2c_using_the_request_log.html
Question 103

There is an existing job that captures and sends a report of all the SFCC orders captured in a day for North America at 12:00 AM EST. The developer is asked to also send another report for all the orders placed for Europe at 12:00 AM
UTC.
How should a developer achieve both of these requirements?
Question 104

Given the above OCAPI definitions, which permission or permissions apply?
Question 105

Given a customer environment configured with only the en_CA locale and the following new requirements:
To add a new locale for fr_CA
To localize the address form with the new locale
To make the localization usable even for new possible French locales, such as fr_FR
And given the portion of form XML definition contained in the form file cartridge/forms/default/address.xml:
What is the right place to add the fr_CA translation for the country field label?
Question 106

Business Manager has the configuration:
Active Log category is "root" Log level of WARN The code below is executing:
var log = Logger.getLogger("products");
Using this information, which two logs will be written? (Choose two.)
Question 107

The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the Storefront site, the category is not visible.
What are two possible reasons? (Choose two.)
Explanation:
Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FLegacyDevDoc%2FCategoriesdonotshowinstorefront.html
Question 108

A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data. There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?
Question 109

A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.
Which three parameters are required when using npm scripts? (Choose three.)
Question 110

A developer has a sandbox with code to log a message during execution, and the following code:
var Logger = require('dw/system/Logger'); Logger.info(message);
After the code executes, the developer does not see any log file with the message in the WebDAV folder.
Which task does the developer need to perform to correct this issue?
Question