Free CCD-102 Exam Braindumps (page: 26)

Page 26 of 52

A developer wants to create in Business Manager extension with the cartridge named plugin_vm_extension. Which two steps should the developer take for the extension option to show up in Business Manager? Choose 2 answers:

  1. Add plugin_bm_extension to the cartridge path under business manager cartridge site
  2. Add the appropiate roles and permission to the user to view the business manager extension.
  3. Add plugin_bm_extension to the cartridge path under Storefront cartridge site path.
  4. Activate a new code version for the Business Manager Site.

Answer(s): A,D



A developer is asked to improve the maintainability of a page by reducing its code repetition. What are two techniques the developer should implement to achieve this?
Choose 2 answers.

  1. Require and render templates with <isscript> tags
  2. Use local template includes
  3. Implement template decorators paired with replace tags
  4. Embed partial files using ISML expressions

Answer(s): B,C



To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form:

<form … action = “submit”>
<input name =”${dw.web.CSRFProtection.getTokenName()}”
value = “${dw.web.CSRFProtection.generateToken()”>

<the rest of the Form fields>

</form>
To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF
validation using one or both of these methods as applicable:
validateRequest
validateAjaxRequest

Where in the code does the developer need to add this CSRF validation check?

  1. In the controller function that displays the form
  2. In the middleware chain of the controller post route
  3. In the controller function that handles the submitted form
  4. In the model function that persists the form data

Answer(s): B



A developer has a sandbox configured with a service and its profile and credential. Now there is a requirement to allow changes to the service URL manually from the sandbox.
Which B2C feature should the developer use to achieve the request?

  1. Use the service credential URL field
  2. Use the service status area, set the override URL checkbox, and then populate the URL field with the required one.
  3. Use a Sitepreference dedicated for the service URL
  4. Use a Globalpreference dedicated for the service URL

Answer(s): A



Page 26 of 52



Post your Comments and Discuss Salesforce CCD-102 exam with other Community members:

Fernando commented on November 04, 2024
Very cool and very helpful. Bought 2 exams with 50% discount.
Brazil
upvote