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

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

Consider the following information:

• A merchant has this three-tier category structure setup in the Storefront catalog:

New Arrivals > Women > Clothing

• The category namedClothing has all the clothing items for Women and is merchandised.

• A Search Refinement named Newness is correctly configured for the Clothing category.

When a merchandiser views the Clothing category, the Search Refinement appears and Works as

expected.However, the merchandiser does not see the Search Refinement when searching for Clothing via

the Storefront search.

What is the Reason?

Options:

A.

There are conflicting Search Refinement definitions for Clothing and one of its parentcategories


B.

The Search Refinement definition is not set up for the Women category


C.

The Search Refinement definition is not set up for the New Arrivals Category.


D.

The Search Refinement definitions is not set up for the Root Category


Expert Solution
Questions # 22:

A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on thepipeline dictionary with the name myProduct.

Which code sample will achieve this?

Options:

A.

ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });


B.

ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });


C.

ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });


D.

ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });


Expert Solution
Questions # 23:

A developer is configuring Payment Methods on astorefront. Which of the following considerations should be kept in rmnd while configuring payment methods,

Options:

A.

You can't delete a default payment method. You can only disable it.


B.

You can add only up to 5 payment methods


C.

You can't drag and drop thecolumn headers to change the sort order.


Expert Solution
Questions # 24:

A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing Cart.js controller that handles processing of the other cartforms. In addition, a form field node is in the form XML and the necessary form input is present in the ISML template.

The code below is the submit button for the ISML markup.

Question # 24

What additional steps must occur before the Digital Developer can begin writing the processing code for this request?

Question # 24

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 25:

A developer is asked to implementa simple call to an authentication - protected REST web service.

Which configuration is valid?

Options:

A.

Add the authentication password to the service credentials.


B.

Configure the authentication username using a site preference.


C.

Insert the service'sendpoint in a .properties file.


Expert Solution
Questions # 26:

Assume the code below is executing:

Question # 26

Business Manager has the configuration:

    Active Log category is “root” with log level of “info.”

Given this information, what is the beginningof the filename in which the log will be written?

Options:

A.

xyz


B.

custominfo-blade


C.

custom-export


D.

custom-xyz


Expert Solution
Questions # 27:

Given a file in a plug-in cartridge with the following code:

‘use strict’:

Var base = module.superModule;

Function applyCustomCache (req,res,next){

res.CachePeriod = 6; //eslint-disable-line no-param-reassign

res.cachePeriodUnit = ‘hours’) //eslint-disable-line no-param-reassign

next();

}

Module.exports = base;

Module.exports.applyCustomCache = applyCustomCache;

What does this code extend?

Options:

A.

A controller


B.

A middleware script


C.

A decorator


D.

A model


Expert Solution
Questions # 28:

A Digital Developer is tasked with setting up a new Digital Server Connection using UX Studio in their sandbox.

Which three items are required to accomplish this task? (Choose three.)

Options:

A.

Instance Version


B.

Instance Hostname


C.

Business Manager Username


D.

Keystore Password


E.

Business Manager Password


Expert Solution
Questions # 29:

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

What should a developer implement to achieve this requirement?

Options:

A.

Write specific custom code in the Content Asset for a customer that is a registered, versus unregistered, user.


B.

Set the Content Slot configuration so it is based on the system customer group registered, versus unregistered.


C.

Set the Content Asset configuration for a customer that is a registered, versus unregistered, user.


D.

Add specific custom messages in Page Designer for a customer that is a registered, versus unregistered, user.


Expert Solution
Questions # 30:

The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.

What is the correct folder to store the associated .properties files?

Options:

A.

cartridge/templates/fr


B.

A cartridge/templates/resources


C.

cartridge/resources


D.

cartridge/templates/resources/fr


Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions