Free CCD-102 Exam Braindumps (page: 20)

Page 20 of 52

A developer is working on a new site for the U.S based on an existing Canadian site. One of the requirements is a change to the address form. The current Canadian form has an <options> list with the correct two-letter abbreviation for the provinces. The U.S. requirements are to:

Have an <options> list with the correct two-letter abbreviation for the states in place of the province field.
Set the U.S site locale.
Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?

  1. Create a copy of existing address.xml file in the default folder. Rename that file to adres_US.xml
  2. Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in the new folder.
  3. Create a copy of existing address.xml file in the default folder. Rename that file to address_en_US.xml
  4. Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file in the new folder.

Answer(s): C



A merchant has a content slot on a page that currently displays products based on the top Sellers for the current week.
They wish to change this functionality and, instead, have the slot render a specific content asset so that the content experience is more personalized to the visitors. Which two actions are necessary to make this change? Choose 2 answers

  1. Delete the existing content slot and create a new one.
  2. Change the rendering template in the slot configuration
  3. Change the default setting in the slot configuration
  4. Change the content type for the slot configuration

Answer(s): B,D



Given a file in a plug-in cartridge with the following code:

‘use strict’:
Var base = module.superModule;
Function applyCustomCache (req,res,next){
res.CachePeriod = 6; //eslint-disable-line no-param-reassign
res.cachePeriodUnit = ‘hours’) //eslint-disable-line no-param-reassign
next();
}
Module.exports = base;
Module.exports.applyCustomCache = applyCustomCache;

What does this code extend?

  1. A controller
  2. A middleware script
  3. A decorator
  4. A model

Answer(s): A



A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Log.
Which step needs to be completed to get the messages to appear in the Request Log?

  1. In Global preferences, check the box for Enable custom logging in Request Log.
  2. In Site Preferences, check the box for Enable custom Logging in Request Log
  3. In Custom Log Settings, check the DEBUG box for Select Log Levels Written to Files.
  4. In custom Log Settings, activate the loggin category at DEBUG level.

Answer(s): C



Page 20 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