Exit demo B2C-COMMERCE-DEVELOPER Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) PDF format · free preview

SalesForce B2C-COMMERCE-DEVELOPER - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/b2c-commerce-developer.html

Question 1
Single choice

Given the sandbox with:

Service configured and assigned to its profile and credential.

A code version that uses that service

And given the requirement to limit the number of success or error calls the code can perform to a restricted
number ofcalls per second.

Which configuration should the developer perform?

A.

Set the service as limited and change the services profile site preferences with the required values.

B.

Set the rate limiter in the service profile and configure its values with the ones required.

C.

Set a new quota limit for the service profile and assign the service to it.

Question 2
Single choice

There are three logging categories: category1, category1.eu, and category1.us.

In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segmentbelow executes.

What is the result'

A.

Logs will not be written.

B.

Logs will be written to the log file with a prefix loggerFile.

C.

Logs will be written to the log file with a prefix custom-loggerFile.

D.

Logs will be written to the log file with a prefix customwarn.

Question 3
Single choice

A client has two B2C Commerce sites in the same instance: one for the U.S market, the other forthe

European market. The products 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 produce to details page, depending on the customer's location?

A.

Add a Localizable custom attribute to the Certificatesystem object type.

B.

Ad and Image custom preference to the Sitepreference system object type

C.

Add a Site-specific custom attribute to the Product system object type.

D.

Add a Localizable custom preference to the SitePreference system object type.

Question 4
Multiple choice

Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

A.

Content slots

B.

Images and other static assets

C.

Products

D.

Folders

E.

Content assets

Question 5
Single choice

A merchant wants to obtain an export file that contains all the products .assigned to their Storefront catalog. They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:

They have one Master catalog and one storefront catalog.

Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.

Which method allows the developer to generate the export for the merchant?

A.

Using the Catalog Import and Export module, export the Master catalog with a category-assignment search to export specific

B.

Using the Site Import and Export module, export both the Site catalog and the Master catalog in a single archive.

C.

Using the Site Import and Export module, export the Master catalog filtered by the site catalog
categoriesto export specific products.

Question 6
Single choice

A developer wants to add a link to the My Account Page.

Whatis the correct code to accomplish this?

A.

<a href="${URLUtils.get(`Account-Show')}>${Resource.msg(`myaccount','account',request.locale())}</
a>

B.

<a href="${url.get(`Account-Show')}>${Resource.message(`myaccount')}</a>

C.

<a href="${URLUtils.url(`Account-Show')}>${Resource.msg(`myaccount','account',null)}</a>

D.

<a href="${URLUtils (`Account-Show')}>${ResourceMgr.getPropierties(`myaccount','account',null)}</a>

Question 7
Single choice

What is accomplished by the code below?

A.

Performs a remote include from the Account-Header endpoint.

B.

Performs a local include from the Account-Header endpoint.

C.

Creates a link to the Account-Header end point that allows mobile navigation.

Question 8
Multiple choice

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 2 answers

A.

log.warn("This is a warn message");

B.

log.error("This is an error message");

C.

log.info("This is an info message");

D.

log.debugfThis is a debug message");

Question 9
Single choice

A Digital Developer added afile named MyBusinessController.js in the cartridge named app_project. The project design calls for this new file to override MyBusinessController.js in client_project. The client_project cartridge contains other necessary functionality. Additional functionality is also included in the storefront_core and storefront_controllers cartridges.

Which cartridge path meets the project requirements?

A.

client_project:app_project:storefront_controllers:storefront_core

B.

app_project:storefront_controllers:storefront_core

C.

app_project:client_project:storefront_controllers:storefront_core

D.

storefront_core:storefront_controllers:client_project:app_project

Question 10
Single choice

In order to implement site custom functionality, a developer creates a new cartridge.

Which step should the developer take to ensure their cartridge changes take effect?

A.

Add the new cartridge to the cartridge path for the business Manager site.

B.

Rebuild the site indexes to capture incremental changes.

C.

Add the new cartridge to the cartridge path for the relevant Storefront site.

Showing 10 of 207 questions · Unlock the full set