[May-2022] Latest Salesforce CCD-102 exam dumps and online Test Engine [Q30-Q48]

[May-2022] Latest Salesforce CCD-102 exam dumps and online Test Engine [Q30-Q48]

May 30, 2022 CCD-102 > Salesforce 0
Rate this post

[May-2022] Latest Salesforce CCD-102 exam dumps and online Test Engine

Salesforce CCD-102: Selling Salesforce Developer Products and Solutions

NO.30 Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift item by an attribute at the product line item.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* — missing hook –
* — missing hook —
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?

 
 
 
 

NO.31 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?

 
 
 
 

NO.32 A Digital Developer is working in a sandbox on a site named -est-site using the domain test.demandware.net. The Developer needs to compile a url to make an Open Commerce API (OCAPI) request that returns product information.
By default, which URL format is a proper Open Commerce API for Sandbox?

 
 
 
 

NO.33 A developer has a specification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded.
Which service type should the developer register?

 
 
 
 

NO.34 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?

 
 
 
 

NO.35 A merchant asks a developer to create a Cache Partition for the home page, so that when the home page is edited, only the home page is cleaned.
Given the above requirement, where should the developer create that partition in Business Manager?

 
 
 
 

NO.36 Universal Containers sells physical gift cards for the holidays.
What needs to occur to guarantee the cards will always be available?

 
 
 
 

NO.37 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?

 
 
 
 

NO.38 A Digital Developer is tasked with setting up a new Digital Server Connection using UX Studio in their sandbox.
Which three items are required to accomplish this task? (Choose three.)

 
 
 
 
 

NO.39 A client that sells to multiple countries in Europe needs to disable Apple Pay for Denmark.
Which Business Manager module is used to achieve this requirement?

 
 
 
 

NO.40 Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

 
 
 
 
 

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

 
 
 
 
 

NO.42 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?

 
 
 
 

NO.43 A Digital Developer extends a system object, Product, and adds a Boolean attribute, “sellable,” to it.
Assuming “prod” is the variable name handling the product, what code can the Developer use to access it?

 
 
 
 

NO.44 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?

 
 
 
 

NO.45 A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and data model remain the same. The existing code is in AccountCoatrol.-s and accountlanding.isul in the app_at storefront cartridge The app_3torefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource: mc_];aypal:app_storefront.
The Developer creates a new cartridge named app_newsire that contains only the accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?

 
 
 
 

NO.46 A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which rescurce_id value enables the appropriate resource?

 
 
 
 

NO.47 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?

 
 
 
 

NO.48 A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded? Choose 3 answers

 
 
 
 
 

New 2022 CCD-102 Test Tutorial (Updated 118 Questions): https://www.examboosts.com/Salesforce/CCD-102-practice-exam-dumps.html

         

Related Links: telegra.ph www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below