Month End Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = drift75

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

Practice at least 50% of the questions to maximize your chances of passing.
Exam Comm-Dev-101 Premium Access

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


0 Students Passed

0% Average Score

0% Same Questions
Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions
Questions # 1:

Consider the following information:

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

New Arrivals > Women > Clothing

The category named Clothing 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.

Why does the merchandiser not see the Search Refinement?

Options:

A.

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

B.

The Search Refinement definition is not set up for the Root category.

C.

There are conflicting Search Refinement definitions for Clothing and one of its parent categories.

Questions # 2:

A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Log.

Which step needs to be completed to get the messages to appear in the Request Log?

Options:

A.

In Site Preferences, check the box for Enable custom logging in Request Log.

B.

In Custom Log Settings, activate the logging category at DEBUG level.

C.

In Global Preferences, check the box for Enable custom logging in Request Log.

Questions # 3:

Business Manager has the configuration:

• Active Log category is " root "

• Log level of INFO

The code below executes.

varlog=Logger.getLogger( " products " , " export " );

log.info( " This is important information " );

Using this information, what is the beginning of the filename in which the log will be written?

Options:

A.

products

B.

custom-products

C.

custom-export

Questions # 4:

A developer has 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.

Questions # 5:

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

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

A developer uses hooks for an extension point. Which is true for running multiple hooks for an extension point?

Options:

A.

It is possible to register multiple modules to call for an extension point in a single hooks.json file.

B.

It is possible to control the order in which registered modules are called.

C.

If you call multiple modules, only the first hook called returns a value.

Questions # 8:

Screen image with “Active” “Log Category” and “Log Level” along the top. Under the log category are three lines. On the first line, there is an empty log category field. To the right of this empty field is the word “Info” under the log level. On the second line, the word “root” is under the log category and to the right of that is the word “Warn” under the log level. On the third line, a checked box is under “Active” with “myLogCategory” under the “log category” and to the right of that is the word “Info” under the log level. Beneath this information is the header “Custom Log Targets. Under this header is an empty space for an email with the Text “Messages with log level FATAL can be sent to email recipients” Below this is a list of log file to select log levels written to files. The following love levels are selected: “Fatal”, “Error”, and “Warn” and the following log levels are not checked: “Info” and “Debug”

The developer wants to be able to view DEBUG level messages for myLogCategory in the Request Log tool. Given the custom log configurations in the image above, what does the developer need to do to accomplish this?

Options:

A.

Change the Log Level for myLogCategory to DEBUG.

B.

Check the DEBUG box in the Log Files section.

C.

Change the Log Level for myLogCategory to DEBUG and check the DEBUG box in the Log Files section.

Questions # 9:

A developer needs to ensure that a specific product is displayed only to customers in a certain region. What is the best approach to achieve this?

Options:

A.

Use a custom attribute on the product to specify the region and filter products based on this attribute.

B.

Create a separate catalog for each region and assign products accordingly.

C.

Implement a script that checks the customer ' s location and displays products based on that.

Questions # 10:

To implement site custom functionality, a developer creates a new cartridge.

Which step should the developer take to ensure their cartridge changes take effect?

Options:

A.

Add the new cartridge to the cartridge path for the Business Manager site.

B.

Rebuild the site indexes to capture incremental changes.

C.

Add the new cartridge to the cartridge path for the relevant Storefront site.

Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.