Weekend Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Pass the Salesforce Developers Comm-Dev-101 Questions and answers with CertsForce

Viewing page 4 out of 5 pages
Viewing questions 31-40 out of questions
Questions # 31:

A merchant has a content slot on a page that currently displays products based on the top 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 this change?

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 existing content slot to create a new one.


Questions # 32:

A developer has configured the following log levels for categories & sub-categories as:

WARN logging is enabled for " product " and DEBUG for " product.import "

What will be the log level used for various categories and sub-categories?

Options:

A.

WARN and ERROR are logged for " product " and all its subcategories. For the subcategory " product.import " DEBUG and INFO are also logged.


B.

WARN and ERROR are logged for " product " and all its subcategories. For the subcategory " product.import " DEBUG and INFO are not logged.


C.

WARN and ERROR are logged for " product " and all its subcategories.


Questions # 33:

What step must a developer take in Business Manager to accept American Express credit cards?

Options:

A.

In Payment Processor, create American Express as a payment type.


B.

In Site Preferences, add American Express as a Payment Preference.


C.

In Payment Methods, enable American Express as a credit card type.


Questions # 34:

What is the correct format to use for embedding a link to a content page?

Options:

A.

< a href= " ${URLUtils.url( ' Content-Show ' , ' about-us ' )} " > About Us < /a >


B.

< a href= " ${URLUtils.url( ' Page-Show ' , ' cid ' , ' about-us ' )} " > About Us < /a >


C.

< a href= " ${URLUtils.url( ' Content-Page ' , ' cid ' , ' about-us ' )} " > About Us < /a >


Questions # 35:

A developer is implementing a new feature that requires the use of a custom object. What is the first step the developer should take?

Options:

A.

Create the custom object in Business Manager.


B.

Define the custom object in the code.


C.

Write the logic to handle the custom object.


Questions # 36:

Given the requirements:

• To show the washing instructions for a clothing product on a dedicated section of the detail page

• Washing instructions come from the product information manager (PIM)

• To have this attribute available to localize in the Storefront

Which action meets these requirements?

Options:

A.

Create a custom attribute on the product system object and set it as localizable.


B.

Add a resource file for every locale for which the attribute needs to be translated.


C.

Set the product system object type as localizable.


Questions # 37:

Given a B2C Commerce client with these specifics:

Sells in two different countries: US and IN

Uses only the English language

A developer has a requirement to add a new field to the IN registration form that must not appear in the US one.

Which path should be created to accomplish this requirement?

Options:

A.

cartridge/forms/en_IN/profile.xml


B.

cartridge/forms/profile_en_IN.xml


C.

cartridge/forms/profile_in.xml


Questions # 38:

Which item is appropriate content for custom logs implemented at checkout?

Options:

A.

Order failure information


B.

Customer ' s password at post-checkout sign up


C.

Transaction ' s credit card information


Questions # 39:

The developer is asked to enhance the functionality of an existing controller route by adding information to the response ' s viewData.

How should the developer approach this task while following SFRA best practices?

Options:

A.

Use the " append " method of the server module for the existing route.


B.

Replace the callback function of the existing route using superModule.


C.

Use the " extend " method of the server module for the existing route.


Questions # 40:

A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store locator list, the client wants the single-brand stores to have a particular background color to highlight them.

Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?

Options:

A.

Add a Boolean custom attribute to the Store system object.


B.

Create a new SingleBrandStore custom object configuration.


C.

Adjust the relevant Site Preference in the Stores group.


Viewing page 4 out of 5 pages
Viewing questions 31-40 out of questions