B2C-Commerce-Developer Practice Test Questions

202 Questions


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 meets these requirements?


A.

Set the product system object type as localizable


B.

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


C.

Set the custom attribute as localizable


D.

Add a custom attribute for each locale





C.
  

Set the custom attribute as localizable



Below is a form definition snippet from the newsletter.xml file:
<?xml versión=”1.0”?>xmlns=http://www.demandware.com/xml/form/2008-04-15
>
<field formid=”email” lavel=”Email” type=”String” mandatory=”True” max-length=”50” />
</form>
Which line of code creates a JSON object to contain the form data?


A.

Server.form.getForm(‘dwfrm_newsletter’)


B.

Server.form.getForm(‘newsletter’);


C.

Server.forms.getForm(‘newsletter’);


D.

Server.forms.getForm(‘dwfrm_newsletter’)
En el controller:
En el Formulario:





C.
  

Server.forms.getForm(‘newsletter’);



A Digital Developer is requesting product information for an external integration. The following Open
Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?


A.

Change the URI to /dw/shop/v18_3/products/creative-zen-v.


B.

Change the HTTP method to PUT.


C.

Change the HTTP method to GET.


D.

Include an authentication token in the request.





C.
  

Change the HTTP method to GET.



Universal Containers wants to give customers the ability to refine product search results by a product custom attribute, weightCapacity.Which series of steps should a Digital Developer take to show this refinement on the storefront?


A.

Define a sorting rule for weightCapacity, then rebuild the product search index.
.


B.

Define a search refinement for weightCapacity, then rebuild the product search index.


C.

Define search-suggestion buckets for weightCapacity, then rebuild the product search index.


D.

Define a search refinement for weightCapacity, then clear the page cache segment for Search-Show





B.
  

Define a search refinement for weightCapacity, then rebuild the product search index.



Assume the code below is executing:

Business Manager has the configuration:
Active Log category is “root” with log level of “info.”
Given this information, what is the beginning of the filename in which the log will be written?


A.

xyz


B.

custominfo-blade


C.

custom-export


D.

custom-xyz





D.
  

custom-xyz



A developer must configure permissions for an Open Commerce API resource on a sandbox instance that
currently does not have any permissions configured.
Which two configuration properties are required to enable Access to the resource?
Choose 2 answers


A.

Resource_id


B.

Read_attributes


C.

Client_id


D.

Versión_range





A.
  

Resource_id



C.
  

Client_id



Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis
checkout flow. This new attribute needs to be included as part of the standard order export.
Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?


A.

• Add the new attribute to the "Order" system object.
• Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Order" object.


B.

• Modify the "COPIaceOrder" controller to update a CSV file in the IMPEX WebDAV directory with
the order ID and comments.
• Modify the order export process to read information in the CSV file and include it as part of the export.


C.

• Add the new attribute to the "Customer" system object.
• Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Customer"
object.


D.

• Create a new custom object type for order comments that contains the attributes: order ID and
comments.
• Modify the "COPIaceOrder" controller to create a new order comments custom object upon order
completion.





B.
  

• Modify the "COPIaceOrder" controller to update a CSV file in the IMPEX WebDAV directory with
the order ID and comments.
• Modify the order export process to read information in the CSV file and include it as part of the export.



A merchant asks a developer to create a Cache Partition for the home page, so that when the home page
is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?


A.

Administration > Sites > Manage Sites > Site > Cache


B.

Operations > Site > Manage Sites > Cache


C.

Operations > Cache > Site


D.

Site > Site Preferences > Cache





A.
  

Administration > Sites > Manage Sites > Site > Cache



An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?


A.

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


B.

Logging is suspended for the day


C.

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


D.

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





B.
  

Logging is suspended for the day



Which line of code creates a content slot that can be included on homepage.isml to display on the home page?


A.

<isslot id="my_banner " description="for home page" type="global" context="content"
context-object="${pdict.ContentSearchResult.content}"/>


B.

<isslot id="my_banner " description="for home page" type="global" context="homepage"/>


C.

<isslot id="my_banner " description="for home page" context="global">


D.

<isslot id="my_banner " description="for home page" context="global"
context-object="${pdict.CurrentHomePage}"/>





C.
  

<isslot id="my_banner " description="for home page" context="global">



A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The
Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded? (Choose three.)


A.

The Auto-Upload setting is enabled for the server connection.


B.

The Active Server setting is enabled for the server connection.


C.

The credentials for the server connection are correctly entered.


D.

The cartridge is for the current version of B2C Commerce.


E.

The server is configured to accept incoming connections.





A.
  

The Auto-Upload setting is enabled for the server connection.



D.
  

The cartridge is for the current version of B2C Commerce.



E.
  

The server is configured to accept incoming connections.



Which two methods are efficient and scalable? (Choose two.)


A.

ProductMgr.queryAllSiteProducts()


B.

ProductSearchHit.getRepresentedProducts()


C.

ProductSearchModel.getProductSearchHits()


D.

Category.getProducts()





C.
  

ProductSearchModel.getProductSearchHits()



D.
  

Category.getProducts()




Page 5 out of 17 Pages
Previous