CCD-102 Revolutionary Guide To Exam Salesforce Dumps
CCD-102 Free Study Guide! with New Update 175 Exam Questions
NEW QUESTION 87
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. createCustomObject
('NewsletterSubscription', newsLetterForm.email.value); - B. Var customobject =
dw.object.CustomObjectMgr.createCustomObject(newsletterForm.email.value,
'NewsletterSubscription'); - C. Var customobject = dw.object.CustomObjectMgr. createCustomObject
('NewsletterSubscription','email', newsLetterForm.email.value); - D. Var customobject = dw.object.CustomObjectMgr.createNewsletterSubscription('email', newsLetterForm.email.value);
Answer: A
NEW QUESTION 88
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 a <submit /> 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 - B. * Add an action /> node to the form definition XML with the attribute formid="addRewardFa3s"
* No change to cart.3a controller required - C. * Add an <action /> 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 - D. * 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
Answer: C
NEW QUESTION 89
Given the requirements:
* To show the washing instructions for a clothing product on a dedicated section the detail page
* Washing instructions come from the product information manager(PIM)
* To have this attribute available to localize in the Storefront.
Which action meets these requirements?
- A. Set the custom attribute as localizable
- B. Add a custom attribute for each locale
- C. Add a resource file for every locale for which the attribute needs to be translated.
- D. Set the product system object type as localizable
Answer: A
NEW QUESTION 90
Consider the following information:
* A merchant has this three-tier category structure setup in the Storefront catalog:
New Arrivals > Women > Clothing
* The category named Clothing has all the clothing items for Women and is merchandised.
* A Search Refinement named Newness is correctly configured for the Clothing category.
When a merchandiser views the Clothing category, the Search Refinement appears and Works as expected. However, the merchandiser does not see the Search Refinement when searching for Clothing via the Storefront search.
What is the Reason?
- A. The Search Refinement definition is not set up for the Women category
- B. The Search Refinement definition is not set up for the New Arrivals Category.
- C. There are conflicting Search Refinement definitions for Clothing and one of its parent categories
- D. The Search Refinement definitions is not set up for the Root Category
Answer: C
NEW QUESTION 91
A client has a requirement to allow users on the Storefornt to filter by a newly created attribute.
Which is necessary to achieve this?
- A. Add a new Search Refinment Definition.
- B. Set the attribute as Searchable.
- C. Change the productseachrefinerbar.iml template
Answer: B
NEW QUESTION 92
A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?
- A. exports.PaymentForm = guard.httpsPost(handlePaymentForm);
- B. exports.PaymentForm = guard.expose(['post', 'loggedIn'], handlePaymentForm);
- C. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedIn'], handlePaymentForm);
- D. exports.PaymentForm = guard.ensure(['http', 'post', 'loggedIn'], handlePaymentForm);
Answer: C
NEW QUESTION 93
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?
- A. Copy the existing route in a new cartridge and modify where necessary.
- B. Use the "append" method of the server module for the existing route.
- C. Use the "extend" method of the server module for the existing route.
- D. Replace the callback function of the existing route using superModule.
Answer: C
NEW QUESTION 94
Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page.
Additionally, authenticated users who try to add a coupon are logged out.
The following processing code Is found In the carets controller file:
What should the Developer verify to Identify the Issue?
- A. The form group has the secure attribute set to true.
- B. The CSRF settings In Business Manager are properly configured.
- C. The CSRF cartridge Is included in the site's cartridge path.
- D. The CSRF token Is present In the form and Is being submitted in the request.
Answer: D
NEW QUESTION 95
Business Manager has the configuration:
* Active log category is "root"
* Log level of INFO
The code below execites:
Var log = Logger.getLogger("products","export");
Log.info ("This is important information");
Using this information, what is the beginning of the filename in which the log will be written?
- A. custom-export
- B. products
- C. custom-products
- D. info-export
Answer: C
NEW QUESTION 96
A developer needs to display a products list of their "Women Dresses" category in a new web application, independent of their main B2C Commerce site. This custom listing page needs to be styled differently from the existing one, as per marketing requirements.
Which B2C Commerce tool should the developer use to collect the necessary information?
- A. The existing category's endpoint to perform a REST call.
- B. The ProductSearch resource of the Shop OCAPI.
- C. The iframe of the existing category page.
- D. The Search-Show Controller URL to perform a web crawl.
Answer: D
NEW QUESTION 97
Given the file structure below, which ISML method call renders the customLandingPage template?
- A. ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
- B. ISML.render('content/custom/customLandingPage');
- C. ISML.renderTemplate('content/custom/customLandingPage');
- D. ISML('content/custom/customLandingPage');
Answer: C
NEW QUESTION 98
Given the file structure below, which ISML method call renders the customLandingPage template?
- A. ISML.render('content/custom/customLandingPage');
- B. ISML.renderTernplate('cartridge/ternplates/default/content/custom/customLandingPage');
- C. ISML.renderTemplate('content/custom/customLandingPage');
- D. ISML('content/custom/customLandingPage');
Answer: C
NEW QUESTION 99
A Digital Developer wants to selectively retrieve products and process them from an iPhone.
Which action should the Developer take, given that JavaScript controllers CANNOT be used?
- A. Use import/export in Business Manager.
- B. Use OCAPI and invoke it in native language.
- C. Create a webservice to retrieve products.
- D. Use WebDAV Client to retrieve products.
Answer: D
NEW QUESTION 100
A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:
Which modification allows the requests to successfully execute?
- A. Change the "write_attributes" value to: "(+items)".
- B. Change the "resource_id" value to: "/baskets/*/items".
- C. Change the "methods" value to: ["get", "post"].
- D. Change the "read_attributes" value to: "(items)".
Answer: B
NEW QUESTION 101
A job executes a pipeline that makes calls to an external system.
Which two actions prevent performance issues in this situation? Choose 2 answers
- A. Disable multi-threading.
- B. Use synchronous import or export jobs
- C. Use asynchronous import or export jobs.
- D. Configure a timeout for the script pipelet.
Answer: C,D
NEW QUESTION 102
A merchant has complained to the developers that some products are not appearing in the storefront and has asked them to diagnose and solve the issue.
Which two factors might be causing a product to be hidden?
Choose 2 answers
- A. Product Available to sell is <1.
- B. Product does not have any images.
- C. Product is not online.
- D. Product lacks a price.
- E. Product has been set to searchable.
Answer: B,D
NEW QUESTION 103
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
- A. PageMgr.serializePage(pageID), {parameter1:value1}};
- B. PageMgr,renderPage{pageID, {parameter1: value1}}
- C. JSON.stringgify(PageMgrrenderpage(pageID), {paramter1:value1}}:
Answer: A
NEW QUESTION 104
A developer is tasked with the development of anew Page Designer Page Type, as requested by the merchant.
How should they define the rendering logic of the page?
- A. Implement a JavaScript file with a render () function.
- B. Implement a Controller file with a ''render'' route.
- C. Implement a metadata JSON file with a ''render'' property.
Answer: A
NEW QUESTION 105
Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager?
Choose 3 answers
- A. Content assets
- B. Products
- C. Images and other static assets
- D. Content slots
- E. Folders
Answer: A,C,E
NEW QUESTION 106
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.addressid.invalidateFormElement();
- B. addressForm.addressid.invalidateFormElement = true;
- C. addressForm.invalidateFormElement("addressid");
- D. addressForm.invalidateFormElement(addressForm.addressid);
Answer: C
NEW QUESTION 107
A Digital Developer has been given a specification to integrate with a REST API for retrieving weather conditions. The service expects parameters to be form encoded.
Which service type should the Developer register?
- A. SOAP
- B. FTP
- C. WebDAV
- D. HTTP Form
Answer: D
NEW QUESTION 108
Which three configuration does a developer need to ensure to have a new product visible in the Storefront?
Choose 3 answers
- A. The product is online and searchable
- B. The product has a master product
- C. The product has a Price
- D. The Storefront catalog that contains the product is assigned to a site
- E. The search index is built.
Answer: A,D,E
NEW QUESTION 109
......
Get up-to-date Real Exam Questions for CCD-102: https://www.testkingpdf.com/CCD-102-testking-pdf-torrent.html
Pass CCD-102 Exam Latest Practice Questions: https://drive.google.com/open?id=1zsDXnpUEQcZNidWs5ksrGxPLwZ7ms7Xk

