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

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

The Home-Show route uses this middleware chain:

Question # 31

The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:

Question # 31

Assuming the code is correct on both functions, what is the expected result?

Options:

A.

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


B.

The base code executes and then the custom code executes.


C.

The custom code executes and then the base code executes.


D.

The base code executes, but the custom code is ignored becausethe signature lines do not match.


Expert Solution
Questions # 32:

A developer is asked to create a new service instance that will call a remote web service.

Which method should the developer use to create the service instance?

A)

Question # 32

B)

Question # 32

C)

Question # 32

Options:

A.

Option A


B.

Option B


C.

Option C


Expert Solution
Questions # 33:

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

What happens in this situation?

Options:

A.

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


B.

Logging is suspended for the day


C.

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


D.

The log file Rolls over and the oldest log messages are overwritten


Expert Solution
Questions # 34:

A developer uses hooks for an extension point. Which n 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 singlehooks.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


Expert Solution
Questions # 35:

A developer needs to check for product inventory in all inventory lists using the Open Commerce API.

An example requestURL is:

Question # 35

Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?

Options:

A.

Client_id


B.

Ecom-inventory


C.

Inventory_list


Expert Solution
Questions # 36:

A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.

Whichaction should the developer take to resolve the problem?

Options:

A.

Change the data type of the attributes.B Create an Attnbute Group with the desired attributes in it.


B.

Set the attributes to site-specific replicable.


Expert Solution
Questions # 37:

A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new

country, Italy, and the taxi s not being calculated correctly on the Storefront

What is the likely problem?

Options:

A.

Tax Region is configured wrong.


B.

Tax Country is missing


C.

Tax Jurisdiction is missing


D.

Tax Locale is configured wrong


Expert Solution
Questions # 38:

What is accomplished by the code below?

Question # 38

Options:

A.

Performs a remote include from the Account-Header endpoint.


B.

Performs a local include from the Account-Header endpoint.


C.

Creates a link to the Account-Header end point that allows mobile navigation.


Expert Solution
Questions # 39:

Given the requirements:

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

• Washing instructionscome from the product information manager(PIM)

• To have this attribute available to localize in the Storefront.

Which action meets these requirements?

Options:

A.

Set the product system object type as localizable


B.

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


C.

Set the custom attribute as localizable


D.

Add a custom attribute for each locale


Expert Solution
Questions # 40:

A developer plans to use the /search_suggestion (Shop API) in a Storefront application and the following property must be set to do so

suggestion.product.image:view_type

What consideration should the developer in keep in mind to ensure that image data is returned correctly as part of search suggestions?

Options:

A.

If the view_type is not set or if the view_type is unknown, the image properties are not part of the response.


B.

If the view_type is not set or if the view_type is unknown, the image size of 'small' is used by default


C.

If the view_type is not set or if theview_type is unknown, the image size of 'large' is used by default


Expert Solution
Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions