AND ANSWERS
A developer is importing edits for a two different sites into the same sandbox, and is provided with four
different files.
Which two XML files should the developer import using the site-specific Merchant Tools modules,
instead of the Administration. Choose two answers:
A) Search Settings
B) Site Jobs
C) System type extensions
D) Promotions - CORRECT ANSWER✔✔A) Search Settings
D) Promotions
A developer is given a task to implement a new Page Designer layout component that doesn't accept
certain asset components. How should the developer achieve the above task?
A) Add layout_type_exclusion in the other asset components json configuration.
B) Add layout_type_inclusion in the target components json configurations.
C) Add component_type_exclusions in the layout json configuration.
D) Add component_type_inclusion in the layout json configuration. - CORRECT ANSWER✔✔C) Add
component_type_exclusions in the layout json configuration.
Below is a form definition snippet from the newsletter.xml file
xml
<?xml version="1.0"?>
<form xmls="http://www.demandware.com/xml/form/2008-04-19">
<field formid="email" label="Email:" type="string" mandatory="true" max-lenght="50" />
</form>
Which line of code creates a JSON object to contain the form data?
,A) server.forms.getForm('newsletter')
B) server.forms.getForm('dwfrm_newsletter')
C) server.form.getForm('newsletter')
D) server.form.getForm('dwfrm_newsletter') - CORRECT ANSWER✔✔A)
server.forms.getForm('newsletter')
A developer has a specification to integrate with REST API for retrieving traffic conditions. The service
expects parameters to be form encoded. Which service should the developer register?
A) POST form
B) SOAP form
C) HTTP form
D) HTML form - CORRECT ANSWER✔✔C) HTTP form
Which two items are appropriate content of custom logs implement checkout? Choose 2 answers
A) Customer's password at post-checkout sing up
B) Payment gateway service response code
C) Order failure information
D) Transaction's credit card information - CORRECT ANSWER✔✔B) Payment gateway service response
code
C) Order failure information
A developer working on a simple web service integration is asked to add appropriate logging to allow
future troubleshooting. According to logging best practices, which code should the developer write to
log when an operation succeeds, but has and unexpected outcome that may produce side effects?
A) Logger.debug('Unexpected service response.')
B) Logger.warn('Unexpected service response.')
, C) Logger.info('Unexpected service response.')
D) Logger.error('Unexpected service response.') - CORRECT ANSWER✔✔B) Logger.warn('Unexpected
service response.')
A merchant requires that an existing section of the Site becomes editable from the Business Manager,
so that they can modify it. Which of these is an important factor for a developer to consider when
choosing the appropriate solution between a content slot and a Page Designer component?
A) Only Page Designer components can be tied to campaigns.
B) Only content slot configurations can be localized for different languages.
C) Only content slot configurations can be tied to campaigns.
D) Only Page Designer components can be localized for different languages. - CORRECT ANSWER✔✔C)
Only content slot configurations can be tied to campaigns.
Which three configurations does a developer need to ensure to have a new product visible in the
StoreFront? Choose 3 answers
A) The product has a price.
B) The product is online and searchable.
C) The product has a master product.
D) The search index is built.
E) The Storefront catalog that contains the product is assigned to a site. - CORRECT ANSWER✔✔B) The
product is online and searchable.
D) The search index is built.
E) The Storefront catalog that contains the product is assigned to a site.
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 item by an attribute at the product line item.