MultipleChoice
Given the following snippet:
* Server.append( 'Show' , function (req, res, next) )
According to SFRA, which two options shows a correct way to complete the code above in order to provide
data to the response using a controller?
Choose 2 answers
OptionsMultipleChoice
A developer working on a multi country site is asked to store country specific data that drives the creation of a country selector. Examples of the data stored are:
* Pricebook to be used
* Image URL for country flag
The data used in staging also applies in production, but only for this site.
Which approach should the developer take to implement these requirements?
OptionsMultipleChoice
A merchant wants to obtain an export file that contains all the products .assigned to their Storefront catalog. They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:
* They have one Master catalog and one storefront catalog.
* Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.
Which method allows the developer to generate the export for the merchant?
OptionsMultipleChoice
The developer has been given the following business requirement:
* The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth category equals or is child of electronics-televisions.'
* The marketing department has scheduled a sale offering a ''Free Standard Ground Shipping'' method for brand XyzTv televisions for the next 3 months.
What method accomplishes this while following best practices?
OptionsMultipleChoice
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?
Options