Month End Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: estly75

Which snippet works correctly when updating the package.json file to point to the hook file for a cartridge?

A.

{ " hooks " : " ./cartridge/scripts/hooks.json " }

B.

{ " hooks " : " ./scripts/hooks.json " }

C.

{ hooks: " ./cartridge/scripts/hooks.json " }

A developer wants to configure the following products so that same search results are returned regardless of the search term used. The search term can be bag, purse, pocketbook, and tote. How should the developer configure this?

A.

Synonyms

B.

Hypernyms

C.

Hyponyms

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?

A.

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

B.

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

C.

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

A developer is is configuring Shipping Methods on a storefront. Which of the following considerations must be kept in mind while configuring shipping methods.

A.

You can exclude products that can ' t be shipped with a particular shipping method

B.

You can ' t exclude addresses that aren ' t used by a particular shipping method

C.

You can ' t define surcharge shipping costs for specific product groups.

What is the action needed for the content slot to work as intended?

A.

No; The content slot is rendered correctly.

B.

Yes; The content needs to be configured with a recommender to display products.

C.

Yes; The isloop should be removed because no loops are allowed in a content slot rendering template.

Given this customer basket information:

• A customer has an existing basket that consists of multiple items.

• One of the items is identified as a gift item by an attribute at the product line item.

• The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.

Four hooks are required to make the modification, beginning with modifyGETResponse and ending with validateBasket.

    dw.ocapi.shop.basket.modifyGETResponse

    -- missing hook --

    -- missing hook --

    dw.ocapi.shop.basket.validateBasket

What are the two missing hooks in the middle?

A.

dw.ocapi.shop.basket.shipment.beforePOST AND dw.ocapi.shop.basket.shipment.beforePATCH

B.

dw.ocapi.shop.basket.shipment.beforePOST AND dw.ocapi.shop.basket.shipment.beforeDELETE

C.

dw.ocapi.shop.basket.shipment.beforePATCH AND dw.ocapi.shop.basket.shipment.afterDELETE

What should a developer implement to enhance the functionality of an existing controller route?

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.

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?

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.

What step should a developer take to troubleshoot code changes not appearing on the Storefront?

A.

Check the Business Manager site cartridge path.

B.

Check that the correct code version is selected.

C.

Check that the search index was recently rebuilt.

A developer needs to update the package.json file so that it points to the hook file for a cartridge, using the hooks keyword.

Which snippet works correctly when added to the file?

A.

{ " hooks " : " ./cartridge/scripts/hooks.json " }

B.

{ hooks: ./cartridge/scripts/hooks.json }

C.

{ " hooks " : " ./scripts/hooks.json " }