MultipleChoice
Given the requirements:
* To show the washing Instructions for a clothing product on a dedicated section the detail page
* Washing instructions come from the product Information manager (PIM)
* To have this attribute available to localize in the Storefront
Which action must these requirements?
OptionsMultipleChoice
A merchant uploads an image using the Content Image Upload module of Business Manager.
Which three modules can the merchant or developer use to display the image on the Storefront7
Choose 3 answers
OptionsMultipleChoice
When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.
Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager'
OptionsMultipleChoice
Business Manager has the configuration:
* Active Log category is 'root'
* Log level of WARN
The code below is executing:
var log = Logger.getLogger('products');
Using this information, which two logs will be written?
Choose 2 answers
OptionsMultipleChoice
To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token
generation in the customer address form:
<form ... action = ''submit''>
<input name =''${dw.web.CSRFProtection.getTokenName()}''
value = ''${dw.web.CSRFProtection.generateToken()''>
...
<the rest of the Form fields>
...
</form>
To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF
validation using one or both of these methods as applicable:
* validateRequest
* validateAjaxRequest
Where in the code does the developer need to add this CSRF validation check?
OptionsMultipleChoice
Given the following conditions:
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
OptionsMultipleChoice
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift tem by an attribute at the product line tem.
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 modifyGETRespone 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?
OptionsMultipleChoice
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?
OptionsMultipleChoice
A developer is working on a new site for the U.S based on an existing Canadian site. One of the
requirements is a change to the address form. The current Canadian form has an <options> list with the
correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the
province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
OptionsMultipleChoice
Given the requirements:
* To integrate with an external web service using HTTP requests
* To create a service for this purpose with the Service framework using the LocalServiceRegistry
class.
* To test the service before the external service provider makes the API available
Which solution allows the developer to satisfy the requirements?
Options