Pass4itsure > Salesforce > Salesforce Certifications > CCD-102 > CCD-102 Online Practice Questions and Answers

CCD-102 Online Practice Questions and Answers

Questions 4

A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a

functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the

controller when it is written.

What must be done in order to use the debugger with the new controller when it is written?

A. Modify the debugger configuration and use the existing pipeline debugger.

B. Create and use a new controller debug configuration.

C. Create and use a new script debug configuration.

D. Use the existing pipeline debugger.

Buy Now
Questions 5

The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.

How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?

A. addressForm.invalidateFormElement(addressForm.addressid);

B. addressForm.addressid.invalidateFormElement();

C. addressForm.addressid.invalidateFormElement = true;

D. addressForm.invalidateFormElement("addressid");

Buy Now
Questions 6

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/resources

B. templates/default/resources

C. templates/de

D. templates/default

Buy Now
Questions 7

Why Should a Digital Developer use ProductSearchModel.getProducts() instead Of Category.getOnlineProduccs () to access products?

A. It is more readable code.

B. It has fewer lines of code.

C. It uses the search index.

D. It reduces accesses to the application server.

Buy Now
Questions 8

A Digital Developer needs to add a new form to the shopping cart page to allow customers to enter their rewards pass ID. There is already an existing cart.js controller that handles processing of the other cart forms. In addition, a form field node is in the form XML and the necessary form input is present in the ISML template. The code below is the submit button for the ISML markup.

What additional steps must occur before the Digital Developer can begin writing the processing code for this request?

A. Add an node to the form definition XML with the attribute formid=’’addRewardFaas" Add the key addRewardPass, with a processing function as a value, to the object passed to the

Form.handleActionO method in the Cart .j* controller

B. Add the attribute addtl-fonn-action^'addRewardPaas"1 to the ISML form Add the key addRewardPass, with a processing function as a value, to the object passed to the Form.handleActionO method in the cart.3s controller

C. Add a node to the form definition XML with the attribute formid=’’addRewardPas3" Add the key addRewardPasa, with a processing function as a value, to the object passed to the Form.handleActionO method in the Cart.ja controller

D. Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s" No change to cart.3a controller required

Buy Now
Questions 9

Which three techniques improve client-side performance in production while following documented best practices? Choose 3 answers

A. Place CSS outside of templates.

B. Compress CSS.

C. Combine several images into a single image.

D. Use inline Javascript.

E. Use one style sheet for each ISML decorator template.

Buy Now
Questions 10

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";Orde"; system object. Modify the";COPlaceOrde"; controller to add this new attribute to the current session's";Orde"; object.

B. Modify the";COPlaceOrde"; 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";Custome"; system object. Modify the "COPlaceOrder" 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";COPlaceOrde"; controller to create a new order comments custom object upon order completion.

Buy Now
Questions 11

A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability. Which two solutions are possible options to reduce the unavailability of the service? Choose 2 answers

A. Change the code that makes the request to set the throwOnError attribute, of the service, to be true.

B. Modify the code that makes the request to the external service to be wrapped in a try / catch block.

C. Increase the web service time out.

D. Update the external service to have a faster response time.

Buy Now
Questions 12

Which technical reports datapoint measures the performance of a controller's script execution if network factors and Web Adaptor processing is ignored?

A. Response time

B. Processing time

C. Call count

D. Cache hit ratio

Buy Now
Questions 13

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. Set the model field as a localizable attribute.

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

C. Add model to a new custom object with localizable attributes.

D. Utilize resource bundles for translatable values.

Buy Now
Exam Code: CCD-102
Exam Name: B2C Commerce Developer with SFRA
Last Update: Dec 30, 2024
Questions: 60
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99