Salesforce B2C Commerce Developer with SFRA CCD-102 Exam Questions

Page: 1 / 14
Total 207 questions
Question 1

Answer : C


Question 2

A merchant requires that an existing section of the Site become editable from the Business Manager, so

that they can modify it independently of the developer.

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?



Answer : A


Question 3

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 the newsletter template

when the subscription form is correctly submitted?



Answer : D


Question 4

The developer is asked to enhance the functionality of an existing controller route by adding information to the response's viewData.

How should the developer approach this task while following SFRA best practices?



Answer : B


Question 5

A developer is using the Script Debugger to troubleshoot an issue. They observe that the debugger is not able to resolve a specific breakpoint on one of the scripts. What is a possible reason for this issue?



Answer : A


Question 6

A merchant checked the "Show Orderable Products Only" preference in Business Manager. What impact does this have on the Storefront from a user perspective?



Answer : B


Question 7

Universal Containers wants to associate a region code value with an order to indicate the general area of its destination. This region code must be accessible whenever the order history is displayed.

What is required to accomplish this?



Answer : B


Page:    1 / 14   
Total 207 questions