ExamGecko
Ask Question

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

List of questions

Question 141

Report
Export
Collapse

A developer has a B2C site and a merchant requirement to add a new locale to it.

What are the steps to enable the locale in the Storefront?

Update the language under the Organization Profile section.
Update the language under the Organization Profile section.
Create, configure, and activate the locale under Global Preferences section.
Create, configure, and activate the locale under Global Preferences section.
Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.
Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.
Create and configure the locale under Global Preferences section and activate it in Site Preferences.
Create and configure the locale under Global Preferences section and activate it in Site Preferences.
Suggested answer: B

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Flocalization%2Fb2c_locales.html

asked 23/09/2024
Blake Heffelfinger
37 questions

Question 142

Report
Export
Collapse

Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code "NO_FILES_FOUND" in the script. The status does not represent an error condition.

Which code snippet completes this requirement?

var Status = require ('dw/system/Status');return new Status (Status.OK, 'NO_FILES_FOUND');
var Status = require ('dw/system/Status');return new Status (Status.OK, 'NO_FILES_FOUND');
this.status = 'NO_FILES_FOUND'; return this;
this.status = 'NO_FILES_FOUND'; return this;
return 'NO_FILES_FOUND';
return 'NO_FILES_FOUND';
var status = {success: 'OK', message: 'NO_FILES_FOUND'}; return status;
var status = {success: 'OK', message: 'NO_FILES_FOUND'}; return status;
Suggested answer: A
asked 23/09/2024
Sana Mehak
40 questions

Question 143

Report
Export
Collapse

A developer is asked to create a new service instance that will call a remote web service.

Which method should the developer use to create the service instance?

dw.svc.webref.getDefaultService()
dw.svc.webref.getDefaultService()
dw.svc.LocalServiceRegistry.getDefaultService()
dw.svc.LocalServiceRegistry.getDefaultService()
dw.svc.LocalServiceRegistry.createService()
dw.svc.LocalServiceRegistry.createService()
dw.svc.LocalServiceInstance.createService()
dw.svc.LocalServiceInstance.createService()
Suggested answer: C
asked 23/09/2024
Oren Dahan
45 questions

Question 144

Report
Export
Collapse

Salesforce Certified B2C Commerce Developer image Question 144 59954 09232024001900000000

Given the code snippet above, what should be added after this code so it can be used for page component display?

module.exports = render;
module.exports = render;
module.exports = server.exports();
module.exports = server.exports();
module.exports.render = render;
module.exports.render = render;
base.render = render;
base.render = render;
Suggested answer: D
asked 23/09/2024
Soma Ismael Bola
39 questions

Question 145

Report
Export
Collapse

Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox. Which two additional steps should the developer take to troubleshoot this problem? (Choose two.)

Check that the search index was recently rebuilt.
Check that the search index was recently rebuilt.
Check the Business Manager site cartridge path.
Check the Business Manager site cartridge path.
Check that the correct code version is selected.
Check that the correct code version is selected.
Check the Storefront site cartridge path.
Check the Storefront site cartridge path.
Suggested answer: A, D
asked 23/09/2024
Corey Workman
35 questions

Question 146

Report
Export
Collapse

What is accomplished by the code below?

<isinclude url="${URLUtils.url('Account-Header', 'mobile', true)}" />

Performs a local include from the Account-Header endpoint.
Performs a local include from the Account-Header endpoint.
Performs a remote include from the Account-Header endpoint.
Performs a remote include from the Account-Header endpoint.
Creates a link to the Account-Header endpoint that allows mobile navigation.
Creates a link to the Account-Header endpoint that allows mobile navigation.
Performs a call to the Account-Header endpoint to allow mobile navigation.
Performs a call to the Account-Header endpoint to allow mobile navigation.
Suggested answer: A
asked 23/09/2024
Aleph Ventures
33 questions

Question 147

Report
Export
Collapse

A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearch function in the searchHelpers.js file.

apiContentSearchModel.setFilteredByFolder(false);

What does this achieve?

Enables searching to find Page Designer content assets that are not in folders.
Enables searching to find Page Designer content assets that are not in folders.
Prevents Page Designer pages and components from being searchable.
Prevents Page Designer pages and components from being searchable.
Extends the ContentSearchModel to allow the folder filter.
Extends the ContentSearchModel to allow the folder filter.
Filters Page Designer search results into separate page and component folders.
Filters Page Designer search results into separate page and component folders.
Suggested answer: A
asked 23/09/2024
Igor Vasiliev
44 questions

Question 148

Report
Export
Collapse

HOTSPOT

Given the following conditions:

A site export file with a copy of the Storefront data for a custom site

A sandbox with the custom site code, but no Storefront data

A requirement for a working copy of SFRA for development reference

A developer is assigned three tasks to perform in Business Manager. In what sequence should the developer perform the tasks, so that the custom site displays the products as intended?

Hot Area:

Salesforce Certified B2C Commerce Developer image Question 148 59958 09232024001900000000

Answer:

Salesforce Certified B2C Commerce Developer image Question 148 59958 09232024001900000000

Salesforce Certified B2C Commerce Developer image Question 148 59958 09232024121900000
Correct answer: Salesforce Certified B2C Commerce Developer image answer Question 148 59958 09232024121900000
asked 23/09/2024
Bryan Sprowls
34 questions

Question 149

Report
Export
Collapse

A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.

How might this issue be resolved to ensure a better customer journey?

In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.
In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.
In Business Manager, enter a higher boost factor for availability in Searchable Attributes.
In Business Manager, enter a higher boost factor for availability in Searchable Attributes.
In Business Manager, set an availability low ranking threshold in Search Preferences.
In Business Manager, set an availability low ranking threshold in Search Preferences.
Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.
Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.
Suggested answer: D
asked 23/09/2024
Peter Stones
39 questions

Question 150

Report
Export
Collapse

A merchant has asked their development team to add a new site.

Which two tasks are essential for correct site configuration prior to launch? (Choose 2 answers)

Assign a default payment processor.
Assign a default payment processor.
Assign a default payment method.
Assign a default payment method.
Assign a default currency.
Assign a default currency.
Assign a default payment type.
Assign a default payment type.
Assign the appropriate taxation type.
Assign the appropriate taxation type.
Suggested answer: C, E
asked 23/09/2024
Bashar Deeb
47 questions
Total 209 questions
Go to page: of 21
Search

Related questions