ExamGecko
Home Home / Salesforce / Certified B2C Commerce Developer

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

Question list
Search
Search

List of questions

Search

Related questions











A merchant uploads an image using the Content Image Upload module of Business Manager.

Which three modules can the merchant or developer use to display the image on the Storefront? (Choose three.)

A.
Content assets
A.
Content assets
Answers
B.
Storefront catalogs
B.
Storefront catalogs
Answers
C.
ISML templates
C.
ISML templates
Answers
D.
Content slots
D.
Content slots
Answers
E.
Payment types
E.
Payment types
Answers
Suggested answer: A, B, D

A client has two B2C Commerce sites in the same instance: one for the U.S. market, the other for the European market. The product they make are sold with different safety certificates based on the world location.

For example, they sell a smartphone with certificate A in the U.S. and certificate B in Europe, a hairdryer with certificate C in the U.S. and certificate D in Europe, and more.

How should a developer allow the merchant to display the appropriate certification logo in the product details page, depending on the customer's location?

A.
Add a Localizable custom preference to the SitePreference system object type.
A.
Add a Localizable custom preference to the SitePreference system object type.
Answers
B.
Add a Site-specific custom attribute to the Product system object type.
B.
Add a Site-specific custom attribute to the Product system object type.
Answers
C.
Add a Localizable custom attribute to the Certificate system object type.
C.
Add a Localizable custom attribute to the Certificate system object type.
Answers
D.
Add an Image custom preference to the SitePreference system object type.
D.
Add an Image custom preference to the SitePreference system object type.
Answers
Suggested answer: A

Multiple customers report slow performance on the Product Details Page.

Which tool can a developer use to view average response times for the Product-Detail controller route?

A.
URL Request Analyzer
A.
URL Request Analyzer
Answers
B.
Request Logs
B.
Request Logs
Answers
C.
Pipeline Debugger
C.
Pipeline Debugger
Answers
D.
Pipeline Profiler
D.
Pipeline Profiler
Answers
Suggested answer: D

A developer works on a multisite realm. A new site requires a different layout for the account landing page, but the business logic and data model remain the same.

The existing code is in landing.isml and AccountControl.js in the app_custom_mystore cartridge.

The app_custom_mystore cartridge contains any custom code for all other business functions.

The cartridge path for the existing site is int_cybersource:int_paypal:app_custom_mystore:app_storefront_base.

The developer creates a new cartridge named app_custom_newproject that contains only the landing.isml template for the new site.

Following best practices, which modification should be made to the new cartridge path?

A.
Set the cartridge path so that app_custom_newproject is before app_custom_mystore.
A.
Set the cartridge path so that app_custom_newproject is before app_custom_mystore.
Answers
B.
Set the cartridge path so that app_custom_newproject is between app_custom_mystore and app_storefront_base.
B.
Set the cartridge path so that app_custom_newproject is between app_custom_mystore and app_storefront_base.
Answers
C.
Set the cartridge path so that app_custom_mystore is before int_cybersource.
C.
Set the cartridge path so that app_custom_mystore is before int_cybersource.
Answers
D.
Set the cartridge path so that app_custom_newproject is in the farthest right position.
D.
Set the cartridge path so that app_custom_newproject is in the farthest right position.
Answers
Suggested answer: A

A developer is tasked with implementing the necessary code for a new Page Designer component.

What are the two purposes of the JSON metadata definition file that the developer creates? (Choose two.)

A.
Defines the responsive layout of the rendered template.
A.
Defines the responsive layout of the rendered template.
Answers
B.
Defines regions within the component type.
B.
Defines regions within the component type.
Answers
C.
Defines the attributes that a merchant enters when using the component type.
C.
Defines the attributes that a merchant enters when using the component type.
Answers
D.
Defines the business and rendering logic of the component required by the merchant.
D.
Defines the business and rendering logic of the component required by the merchant.
Answers
Suggested answer: B, C

Explanation:

Reference: https://trailhead.salesforce.com/en/content/learn/modules/b2c-page-designer-developers/b2c-page-designer-pages-components-dev-elements

A developer created a basic SFRA form to capture the customer's first name, last name, and email address and render it on the next page. The developer is able to see all form elements and is able to enter information and submit.

However, the developer notices that the submitted information is not getting rendered on the Storefront.

Which two mistakes might cause this issue? (Choose two.)

A.
The actionUrl does not have any form action set.
A.
The actionUrl does not have any form action set.
Answers
B.
The form object is not passed to the rendering template.
B.
The form object is not passed to the rendering template.
Answers
C.
The form definition is incorrect.
C.
The form definition is incorrect.
Answers
D.
The form does not pass all validations.
D.
The form does not pass all validations.
Answers
Suggested answer: B, C

A merchant wants customers to be able to order gift vouchers via their site. Since they can issue an unlimited number of these digital vouchers, this item should be available to sell at all times.

How can a developer use Business Manager to ensure that the gift vouchers are always available?

A.
Manually set the inventory to a high number.
A.
Manually set the inventory to a high number.
Answers
B.
Check the Available to Sell (ATS) flag for the product set.
B.
Check the Available to Sell (ATS) flag for the product set.
Answers
C.
Check the perpetual flag in the product inventory record.
C.
Check the perpetual flag in the product inventory record.
Answers
D.
Set StockLevel = maxAllocation for the product.
D.
Set StockLevel = maxAllocation for the product.
Answers
Suggested answer: D

Which two of these situations are appropriate cases for using the B2C Commerce OCAPIs? (Choose two.)

A.
Extending System Object Type definitions with new attributes.
A.
Extending System Object Type definitions with new attributes.
Answers
B.
Displaying a list of B2C Commerce products in a mobile app.
B.
Displaying a list of B2C Commerce products in a mobile app.
Answers
C.
Showing the customer's information in their B2C Commerce "My Account" page.
C.
Showing the customer's information in their B2C Commerce "My Account" page.
Answers
D.
Updating Inventory information from a management software.
D.
Updating Inventory information from a management software.
Answers
Suggested answer: C, D

A developer must configure permissions for an Open Commerce API resource on a sandbox instance that currently does not have any permissions configured.

Which two configuration properties are required to enable access to the resource? (Choose two.)

A.
resource_id
A.
resource_id
Answers
B.
read_attributes
B.
read_attributes
Answers
C.
version_range
C.
version_range
Answers
D.
client_id
D.
client_id
Answers
Suggested answer: A, B

Explanation:

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

A client has a requirement to render different content on the homepage based on if the customer is logged in or quest user.

What should a developer implement to achieve this requirement?

A.
Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user.
A.
Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user.
Answers
B.
Add specific custom messages in Page Designer for a customer that is a registered, versus unregistered, user.
B.
Add specific custom messages in Page Designer for a customer that is a registered, versus unregistered, user.
Answers
C.
Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered.
C.
Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered.
Answers
D.
Set the Content Asset configuration for a customer that is a registered, versus unregistered, user.
D.
Set the Content Asset configuration for a customer that is a registered, versus unregistered, user.
Answers
Suggested answer: C
Total 209 questions
Go to page: of 21