ExamGecko
Ask Question

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

List of questions

Question 101

Report
Export
Collapse

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?

client_id
client_id
resource_id
resource_id
methods
methods
ecom-inventory
ecom-inventory
Suggested answer: B
asked 23/09/2024
Stephen DeWhite
37 questions

Question 102

Report
Export
Collapse

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?

In Custom Log Settings, activate the logging category at DEBUG level
In Custom Log Settings, activate the logging category at DEBUG level
In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files
In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files
In Site Preferences, check the box for Enable custom logging in Request Log
In Site Preferences, check the box for Enable custom logging in Request Log
In Global Preferences, check the box for Enable custom logging in Request Log
In Global Preferences, check the box for Enable custom logging in Request Log
Suggested answer: B

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

asked 23/09/2024
Thutcha sudjitjjoon
35 questions

Question 103

Report
Export
Collapse

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?

Use a flow and set up execution of both job steps at the specified time
Use a flow and set up execution of both job steps at the specified time
Create a new job specific to Europe to run at the specified time
Create a new job specific to Europe to run at the specified time
Add a new job step to the existing North America job to capture and send a report for all these Europe orders
Add a new job step to the existing North America job to capture and send a report for all these Europe orders
Modify the existing Job and add site-specific job run-times to the Scheduling tab
Modify the existing Job and add site-specific job run-times to the Scheduling tab
Suggested answer: D
asked 23/09/2024
mahdis khaledi
46 questions

Question 104

Report
Export
Collapse

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

Salesforce Certified B2C Commerce Developer image Question 104 59914 09232024001900000000

Allows external applications to update coupons
Allows external applications to update coupons
Allows external applications to create, update, and delete coupons
Allows external applications to create, update, and delete coupons
Allows external applications to create coupons
Allows external applications to create coupons
Allow external applications to create, update, and delete both coupons and coupon codes
Allow external applications to create, update, and delete both coupons and coupon codes
Suggested answer: A
asked 23/09/2024
Danish Vohra
38 questions

Question 105

Report
Export
Collapse

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:

Salesforce Certified B2C Commerce Developer image Question 105 59915 09232024001900000000

What is the right place to add the fr_CA translation for the country field label?

/cartridge/templates/resources/address_fr_CA.properties
/cartridge/templates/resources/address_fr_CA.properties
/cartridge/templates/resources/forms_fr.properties
/cartridge/templates/resources/forms_fr.properties
/cartridge/forms/resources/address_fr.properties
/cartridge/forms/resources/address_fr.properties
/cartridge/templates/resources/fr/forms.properties
/cartridge/templates/resources/fr/forms.properties
Suggested answer: A
asked 23/09/2024
han wu
40 questions

Question 106

Report
Export
Collapse

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

log.warn("This is a warn message");
log.warn("This is a warn message");
log.error("This is an error message");
log.error("This is an error message");
log.info("This is an info message");
log.info("This is an info message");
log.debug("This is a debug message");
log.debug("This is a debug message");
Suggested answer: A, C
asked 23/09/2024
Prashant Bari
46 questions

Question 107

Report
Export
Collapse

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

The category does not contain available products
The category does not contain available products
The category is not sorted
The category is not sorted
The category is offline
The category is offline
The Storefront catalog is offline
The Storefront catalog is offline
Suggested answer: A, C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FLegacyDevDoc%2FCategoriesdonotshowinstorefront.html

asked 23/09/2024
Aimé Tameti
42 questions

Question 108

Report
Export
Collapse

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?

Replace the existing viewData variable with the dataLayer object in the Cart-Show controller route
Replace the existing viewData variable with the dataLayer object in the Cart-Show controller route
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable. Ensure that the client cartridge is on the left of the LINK cartridge in cartridge path
Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable. Ensure that the client cartridge is on the left of the LINK cartridge in cartridge path
Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
Suggested answer: C
asked 23/09/2024
Aung Zin
41 questions

Question 109

Report
Export
Collapse

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

Username/Password
Username/Password
Code Version
Code Version
Site ID
Site ID
CSRF Token
CSRF Token
Hostname
Hostname
Suggested answer: B, C, D
asked 23/09/2024
Matt Smith
47 questions

Question 110

Report
Export
Collapse

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?

Set the logging global preference to true
Set the logging global preference to true
Set the log retention to a value higher than 0
Set the log retention to a value higher than 0
Request that the developer's account be given permission to the Log Center of the current realm
Request that the developer's account be given permission to the Log Center of the current realm
Set the root log level to debug
Set the root log level to debug
Suggested answer: B
asked 23/09/2024
Steve Marechal
37 questions
Total 209 questions
Go to page: of 21
Search

Related questions