| PDF + Test Engine |
|
||
| Test Engine |
|
||
|
|
Here are Salesforce B2C-Commerce-Developer PDF available features:
| 203 questions with answers | Updation Date : 16 Jul, 2026 |
| 1 day study required to pass exam | 100% Passing Assurance |
| 100% Money Back Guarantee | Free 3 Months Updates |
A job executes a pipeline thatmakes 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.
A Newsletter controller contains the following route: Server.post(‘Subscribe’, function (req,res,next){ var newsletterForm = server.forms.getForm(‘newsletter’);var CustomObjectMgr = require(‘dw/object/CustomObjectMgr’); if(newsletterForm.valid){ try{ var CustomObject = CustomObjectMgr.createCustomObejct(‘NewsletterSubscription’, newsletterform.email.value); CustomObject.custom.firstName = newsletterForm.fname.value; CustomObject.custom.lastName = newsletterForm.lname.value;- } catch(e){ //Catch error here } } next(); }); Assuming the Custom Object metadata exists, why does this route fail to render thenewsletter template when the subscription form is correctly submitted?
A. Custom Objects can only be created by Job scripts
B. The Subscribe route is missing the server.middleware.httpt middleware.
C. The CustomObjectMgr variable should be declare outsideof the route.
D. The Custom Object creation is not wrapped in a Transaction.
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 objectupon order completion.
ADigital 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 DigitalDeveloper 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
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);
A client has two B2C Commercesites in the same instance: one for the U.S market, the other for the European market. The products they make are sold with different safety certificates basedon the world location. For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a hairdryer with certificate C in the U.S and certificate D in Europe, and more. How should a developer allow the merchant to display the appropriate certification logo in the produce to details page, depending on the customer’s location?
A. Add a Localizable custom attribute to the Certificate system object type.
B. Ad and Image custom preference to the Sitepreference system object type
C. Add a Site-specific custom attribute to the Product system object type.
D. Add a Localizablecustom preference to the SitePreference system object type.
A. ISML.renderTamplate(‘cartridge/templates/default/content/custom/customLandingPage’);
B. ISML(‘content/custom/customLandingPage’);
C. ISML.render(‘content/custom/customLandingPage’);
D. ISML.renderTemplate(‘content/custom/customLandingPage’);
A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct. Which code sample will achieve this?
A. ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
B. ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
C. ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
D. ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
Which two methods are efficient and scalable? (Choose two.)
A. ProductMgr.queryAllSiteProducts()
B. ProductSearchHit.getRepresentedProducts()
C. ProductSearchModel.getProductSearchHits()
D. Category.getProducts()