Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

B2C-Commerce-Developer Exam Dumps - Salesforce Developers Questions and Answers

Question # 4

A Digital Developer adds the following line of code to a script.

The code executes without error; however, the log file on disk does NOTcontain the log message.

Which two actions should be completed to write the log message to disk? (Choose two.)

Options:

A.

Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.

B.

Archive old log files tomake room in the log directory.

C.

Ensure that the “login” category is added to the Custom Log Filters in the Log Settings Business Manager module.

D.

Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.

Buy Now
Question # 5

A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.

Whichaction should the developer take to resolve the problem?

Options:

A.

Change the data type of the attributes.B Create an Attnbute Group with the desired attributes in it.

B.

Set the attributes to site-specific replicable.

Buy Now
Question # 6

A merchant has a content slot on a page that currently displays products based on thetop sellers for the current week. The merchant wants to change this functionality. They want to have the slot render a specific content asset so that the content experience is more personalized to the visitors.

Which two actions are necessary to make thischange?

Options:

A.

Change the content type AND the rendering template in the slot configuration.

B.

Change the default setting AND the rendering template in the slot configuration.

C.

Change the rendering template in the slot configuration AND delete the existingcontent slot to create a new one.

Buy Now
Question # 7

A Digital Developer needs to add logging to the following code:

Which statement logs the HTTP status code to a debug-level custom log file?

Options:

A.

logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);

B.

logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

C.

Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

D.

Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

Buy Now
Question # 8

Universal Containers specifies a new category hierarchy for navigating thedigital commerce storefront. A Digital Developer uses Business Manager to manually create a catalog with the specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export the catalog as a file.

How can other Developerswith sandboxes on the same realm create the same catalog in their own sandboxes?

Options:

A.

Use Business Manager to upload and import a copy of the export file obtained from the original Developer.

B.

Use the remote upload capability of the Site Import & Exportmodule of Business Manager.

C.

Use the import capability of the Site Import & Export module of Business Manager.

D.

Use the Business Manager Data Replication module to replicate the catalog from the original Developer’s sandbox.

Buy Now
Question # 9

A client wants to differentiate their monobrand stores with a special icon when shown in the store

locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools.

How should the developer follow SFRA best practices to expose this data for rendering?

Options:

A.

Extend the existing Stores_Find controller with a new middleware function that performs the query

B.

Pass theStore system object to the template, so that custom propierties are available

C.

Ad dan to the template, and call StoreMgr.searchStoresByCoordinates();

D.

Use the module.superModule functionality and the call method to add a new property to theStore Model.

Buy Now
Question # 10

A developer has these requirements for out-of-stock products:

Save the SKUs of the out-of-stock products that the customer is interested in

Save the customer email regardless if the customer is a guest or registered

Email the customer whenthe product is back-in-stock

Which step should the developer perform as part of the solution to achieve the requirements?

Options:

A.

Create a new set-of-string type custom attribute to the system object type Profile to save all the SKUs and use the existing emailfield for the email.

B.

Create a new system object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.

C.

Create a new custom object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.

D.

Create a new set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.

Buy Now
Question # 11

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?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Question # 12

Given the code snippet aboce, what should be added after this code so it can be used for page

component display?

Options:

A.

Base.render = render;

B.

Module.exports.render = render;

C.

Module.exports = render;

D.

Module.exports = server.exports();

Buy Now
Question # 13

A developerhas 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?

Options:

A.

Create and configure the locale under Global Preferences section and activate it in Site Preferences.

B.

Create, configure,and activate the locale under Global Preferences section.

C.

Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.

Buy Now
Exam Name: Salesforce Certified B2C Commerce Developer (SU24)
Last Update: Feb 5, 2025
Questions: 203
B2C-Commerce-Developer pdf

B2C-Commerce-Developer PDF

$29.75  $84.99
B2C-Commerce-Developer Engine

B2C-Commerce-Developer Testing Engine

$33.25  $94.99
B2C-Commerce-Developer PDF + Engine

B2C-Commerce-Developer PDF + Testing Engine

$47.25  $134.99