75only - Ends in 0d 00h 00m 00s - Coupon code = 75only

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

Exam Comm-Dev-101 Premium Access

View all detail and faqs for the Comm-Dev-101 exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions
Questions # 21:

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 # 22:

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

What should a developer implement to achieve this requirement?

Options:

A.

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

B.

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

C.

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

Questions # 23:

What is the expected result when extending a route without the middleware chain?

Options:

A.

The base code executes and then the custom code executes.

B.

A RunTime error is thrown, " Error: Params do not match route " .

C.

The custom code executes and then the base code executes.

Questions # 24:

Which of these situations is an appropriate use of the B2C Commerce OCAPIs?

Options:

A.

Updating inventory information from a warehouse management software.

B.

Extending System Object Type definitions with new attributes.

C.

Showing the customer ' s information in their B2C Commerce " My Account " page.

Questions # 25:

A developer has a sandbox with code to log a message during execution, and the following code:

varLogger=require( ' dw/system/Logger ' );

Logger.info(message);

After the code executes, the developer does not see any log file with the message in the WebDAV folder.

What could the developer do to correct this issue?

Options:

A.

Set the root log level to debug AND check the box for Info under Log Files.

B.

Set the logging global preference to true AND set the root log level to debug.

C.

Set the logging global preference to true AND check the box for Info under Log Files.

Questions # 26:

A client that sells sport shoes wants to allow its customers to filter products based on the intended activity (such as tennis, jogging, basketball, etc.), but this particular information is not present in the current catalog.

Which two actions does a developer need to perform in a B2C Commerce instance to allow this to happen?

Options:

A.

Create a new Product custom attribute AND add a new Search Refinement Definition for the desired categories.

B.

Create a new ProductRefinement custom attribute AND add a new Search Refinement Definition for the desired categories.

C.

Create a new Product custom attribute AND add a new viewtype in the storefront catalog settings.

Questions # 27:

A developer wants to embed a link to a content page from within the body of another content asset. The target content asset ID is:about-us

Which option represents the correct format to use?

Options:

A.

$url( ' Page-Show ' , ' cid ' , ' about-us ' )$

B.

$url( ' Content-Show ' , ' about-us ' )$

C.

$url( ' Content-Page ' , ' cid ' , ' about-us ' )$

Questions # 28:

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 # 29:

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.propertiesfiles?

Options:

A.

cartridge/templates/resources

B.

cartridge/resources

C.

cartridge/templates/resources/fr

Questions # 30:

An instance has custom logging enabled. The log reaches the file size limit.

What happens in this situation?

Options:

A.

The current log file is archived and a new log file is created.

B.

The log file is deleted and a new log file is created.

C.

Logging is suspended for the day.

Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions