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 2 out of 5 pages
Viewing questions 11-20 out of questions
Questions # 11:

Given the sandbox with:

• Service configured and assigned to its profile and credential

• A code version that uses that service

And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second. Which configuration should the developer perform?

Options:

A.

Set the service as limited and change the services profile site preferences with the required values.

B.

Set the rate limiter in the service profile and configure its values with the ones required.

C.

Set a new quota limit for the service profile and assign the service to it.

Questions # 12:

Business Manager has the configuration:

• Active Log category is " root "

• Log level of WARN

The code below is executing:

varlog=Logger.getLogger( " products " );

Using this information, what will be written to the log?

Options:

A.

log.warn( " This is a warn message " ); AND log.error( " This is an error message " );

B.

log.error( " This is an error message " ); AND log.info( " This is an info message " );

C.

log.info( " This is a warn message " );

Questions # 13:

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

A client has a requirement to allow users on the Storefront to filter by a newly created attribute.

After creating the search refinement, what else is necessary to achieve this?

Options:

A.

Ensure the attribute has data and is indexed.

B.

Set the attribute as Searchable.

C.

Change the productsearchrefinebar.isml template.

Questions # 15:

There are three logging categories: category1, category1.eu, and category1.us. In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segment below executes.

varlogger=Logger.getLogger( " loggerFile " , " category1.eu " );

logger.warn( " This is a log message " );

What is the result?

Options:

A.

Logs will be written to the log file with a prefix loggerFile.

B.

Logs will be written to the log file with a prefix custom-loggerFile.

C.

Logs will be written to the log file with a prefix customwarn.

Questions # 16:

A client has a requirement to allow users on the Storefront to filter by a newly created attribute. Which is necessary to achieve this?

Options:

A.

Add a new Search Refinement Definition.

B.

Set the attribute as Searchable.

C.

Change the productsearchrefinebar.isml template.

Questions # 17:

Given a template rendered by a controller with caching and a remote include without caching, which situation applies?

Options:

A.

The remote include portion is not cached, but the rest of the page is cached.

B.

The page is not cached because the remote include introduces an uncached portion.

C.

The page is cached only for returning customers because of the remote include.

Questions # 18:

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

A developer implements an Open Commerce API call to add products to a basket. Given the following resource configuration:

{

" resource_id " : " /baskets/** " ,

" methods " :[ " get " ],

" read_attributes " : " (**) " ,

" write_attributes " : " (**) "

}

Which modification allows the requests to successfully execute?

Options:

A.

Change the " methods " value to: [ " get " , " post " ].

B.

Change the " write_attributes " value to: " (*items) " .

C.

Change the " methods " value to: [ " get " , " options " ].

Questions # 20:

A developer is working on a feature that requires the use of a third-party API. What is the best practice for handling API responses in Salesforce B2C Commerce?

Options:

A.

Ignore error responses and proceed with the default behavior.

B.

Log all responses for debugging purposes and handle errors gracefully.

C.

Always return a success response to the user, regardless of the API response.

Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions