Pass the Salesforce Developers B2C-Commerce-Developer Questions and answers with CertsForce

Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

Given a sandbox with an active slot configuration with the following specifications:

• Content type set to product

• With someproduct configured

• With the following rendering template: slots/product/product_1x2 isml

• Correctly enabled and scheduled

And given the code contained in the selected rendering template:

Question # 41

Is an additional action needed for this to work asintended?

Options:

A.

No - The content slot is rendered correctly.


B.

Yes - The isloop should be removed because no loops are allowed in a content slot rendering template.


C.

Yes - The content needs to be configured with a recommender to display products.


Expert Solution
Questions # 42:

A developer working on a multi country site is asked to store country specific data that drives the creation of a country selector. Examples of the data storedare:

Pricebook to be used

Image URL for country flag

The data used in staging also applies in production, but only for this site.

Which approach should the developer take to implement these requirements?

Options:

A.

Extend the Locale System Object to contain the custom data for each country.


B.

Create a replicable, site-specific Custom Object with the custom data for each country.


C.

Create site-specific content assets to store the data for each country.


Expert Solution
Questions # 43:

When exporting a price book from an externalsystem, which file format or formats should a developer use so it can be imported into a B2C Commerce site?

Options:

A.

JSON only


B.

XML only


C.

CSV only


D.

XML and CSV


Expert Solution
Questions # 44:

A developer has aspecification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded.

Which service type should the developer register?

Options:

A.

HTML Form


B.

SOAP Form


C.

POST Form


D.

HTTP Form


Expert Solution
Questions # 45:

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

Options:

A.

Assign a default payment processor.


B.

Assign a default payment method.


C.

Assign a default currency.


D.

Assign a default payment type.


E.

Assign the appropriate taxation type.


Expert Solution
Questions # 46:

A client has two B2C Commerce sites in the same instance: one forthe U.S. market, the other for the European market. They offer free gift wrapping on a selection of products. For each order, five products can be wrapped in the U.S., but only three products can be wrapped in the European region.

How should a developer allow the merchant to independently adjust this number?

Options:

A.

Create a new custom preference by extending the Site Preference object type.


B.

Select the corresponding option in the system preference for Orders.


C.

Add a new Campaign using the Online Marketing section of the Business Manager.


D.

Configure a new localizable content slot with a market-specific value.


Expert Solution
Questions # 47:

Universal Containers sells physical gift cards for the holidays.

What needs to occur to guarantee the cards will always be available?

Options:

A.

Create an inventory record with an unlimited Allocation value.


B.

Create an inventory record with an extremely high Allocation value (i.e., 1 billion certificates).


C.

Create a perpetual inventory record.


D.

Create an inventory record with Backorder Handling enabled.


Expert Solution
Questions # 48:

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

Options:

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");


Expert Solution
Questions # 49:

A developer is using the Script Debugger to troubleshoot an issue. They observe that the debugger is not able to resolve a specific breakpoint on one of the scripts. What is a possible reason for this issue?

Options:

A.

The cartridge containing the script isnot in the site’s cartridge path


B.

The script debugging session is not active


C.

The script is form a third party cartridge and hence does not allow_settings breakpoints.


Expert Solution
Questions # 50:

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

Which action should the developer take to resolve the problem?

Options:

A.

Change the data type of the attributes.


B.

Create an attribute Group with the desired attributes in it.


C.

Set the attributes to site-specific replicable.


Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions