B2C-Commerce-Developer Practice Test Questions

202 Questions


A Digital Developer suspects a logical error in a script.
Which action will help locate the error?


A.

Submit a support ticket to B2C Commerce.


B.

Check request logs for evidence of the logical error.


C.

Put breakpoints in the code, debug, and examine variable values.


D.

Print all values in the script node called before the current script.





B.
  

Check request logs for evidence of the logical error.



A Digital Developer is adding support for an additional language other than the default. The locale code for
the new language is de.
In which folder should the developer place resource bundles?


A.

templates/de


B.

templates/default


C.

templates/resources


D.

templates/default/resources





C.
  

templates/resources



A Digital Developer is tasked with setting up a new Digital Server Connection using UX Studio in their
sandbox.
Which three items are required to accomplish this task? (Choose three.)


A.

Instance Version


B.

Instance Hostname


C.

Business Manager Username


D.

Keystore Password


E.

Business Manager Password





A.
  

Instance Version



B.
  

Instance Hostname



D.
  

Keystore Password



A Digital Developer has been given a specification to integrate with a REST API for retrieving weather
conditions. The service expects parameters to be form encoded.
Which service type should the Developer register?


A.

FTP


B.

SOAP


C.

HTTP Form


D.

WebDAV





C.
  

HTTP Form



Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is
the correct syntax to create the NewsletterSubscription custom object and persist it to the database?


A.

Var customobject = dw.object.CustomObjectMgr.createNewsletterSubscription(‘email’,
newsLetterForm.email.value);


B.

Var customobject =
dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value,
‘NewsletterSubscription’);


C.

Var customobject = dw.object.CustomObjectMgr. createCustomObject 
(‘NewsletterSubscription’, newsLetterForm.email.value);


D.

Var customobject = dw.object.CustomObjectMgr. createCustomObject
(‘NewsletterSubscription’,’email’, newsLetterForm.email.value);





C.
  

Var customobject = dw.object.CustomObjectMgr. createCustomObject 
(‘NewsletterSubscription’, newsLetterForm.email.value);



Which three operations should be done in a controller?
Choose 3 answers


A.

Generate the response as JSON or HTML


B.

Use the Script API to generate data for the view.


C.

Use middleware functions when applicable


D.

Create a plain JavaScript object representing a system object
Use the model needed for the view.





A.
  

Generate the response as JSON or HTML



C.
  

Use middleware functions when applicable



E.
  

Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties.
To which file should the developer add German string values?


A.

checkout_de.properties in resources folder


B.

checkout.properties in the de locale folder


C.

checkout.properties in the default locale folder


D.

de_checkout.properties in resources folder





D.
  

de_checkout.properties in resources folder



Which three configuration 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 Storefront catalog that contains the product is assigned to a site


C.

The product has a master product


D.

The product is online and searchable


E.

The search index is built.
Tengo dudas con el A. REVISAR





B.
  

The Storefront catalog that contains the product is assigned to a site



D.
  

The product is online and searchable



E.
  

The search index is built.
Tengo dudas con el A. REVISAR



A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.
Which statement should the Developer use to lazy load scripts?


A.

importPackage () method


B.

$.ajax () jQuery method


C.

local include


D.

require () method





D.
  

require () method



A job executes a pipeline that makes calls to an external system. Which two actions prevent performance issues in this situation? (Choose two.)


A.

Use synchronous import or export jobs


B.

Configure a timeout for the script pipelet.


C.

Disable multi-threading.


D.

Use asynchronous import or export jobs





B.
  

Configure a timeout for the script pipelet.



C.
  

Disable multi-threading.



A merchant has a requirement to render personalized content to n a category page via a Content Slot that
targets VIP high-spending customers during a specific promotional period.
Which two items should the developer create to achieve the specified requirements?
Choose 2 answers:


A.

VIP Customer Group


B.

Page Template


C.

Slot Configuration


D.

Rendering Template





C.
  

Slot Configuration



D.
  

Rendering Template



Universal Containers wants to add a model field to each product. Products will have locale-specific model values. How should the Digital Developer implement the requirement?


A.

Utilize resource bundles for translatable values.


B.

Set the model field as a localizable attribute.


C.

Store translated model values in different fields; one field for each locale.


D.

Add model to a new custom object with localizable attributes.





C.
  

Store translated model values in different fields; one field for each locale.




Page 3 out of 17 Pages
Previous