Salesforce CCD-102 Practice Verified Answers - Pass Your Exams For Sure! [2022]
Valid Way To Pass Salesforce Developer's CCD-102 Exam
Exam Topics of B2C Commerce Developer with SFRA
The following are covered in SALESFORCE CCD-102 practice exams and SALESFORCE CCD-102 practice test:
- Quote Template
- Approvals
- Bundle Configurations
- Orders, Contracts, Amendments, and Renewals
- B2C Platform
- Product Selection
NEW QUESTION 86
A client sells its product in single-brand stores as well as in multi-brand stores. When shown in the store locator list, the client wants the single-brand stores to have a particular background color to highlight them.
Which Business Manager action should be completed to allow the developer to apply different styling to the single-brand stores?
- A. Configure the existing Store custom object type definition
- B. Adjust the relevant Site Preference in the Stores group
- C. Add a Boolean custom attribute to the Store system object
- D. Create a new SingleBrandStore custom object configuration.
Answer: D
NEW QUESTION 87
A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience.
Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?
- A. Content slot variable
- B. Request scope variable
- C. Page scope variable
- D. Session scope variable
Answer: D
NEW QUESTION 88
When looking at Custom Object instances for a site, a merchant notices that the creation date is not showing up on the instances in Business Manager.
Where should the developer add this attribute to the Custom Object so it is visible for the merchant to see in Business Manager'
- A. Assign the current date/time to a new custom attribute, creationDate, via code.
- B. Add the creation date to the attribute group for the Custom Object.
- C. Mark the existing creation date attribute as visible.
- D. Add the creation date to the attributes of the Custom Object.
Answer: D
NEW QUESTION 89
Universal Containers needs to have Apple Pay disabled for the country of Spain.
Which Business Manager module should the Developer use to meet this requirement?
- A. Merchant Tools > Site Preferences > Apple Pay
- B. Merchant Tools > Ordering > Payment Processors
- C. Merchant Tools > Site Preferences > Payment Types
- D. Merchant Tools > Ordering > Payment Methods
Answer: D
NEW QUESTION 90
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. Change the productseachrefinerbar.iml template
- C. Set the attribute as Searchable.
Answer: C
NEW QUESTION 91
A developer configures the dw.json file and needs to fill in the necessary parameters to complete the task.
Which three parameters are required when using npm scripts?
Choose 3 answers
- A. Site ID
- B. Code Version
- C. Usemame/Password
- D. Hostname
- E. CSRF Token
Answer: A,B,E
NEW QUESTION 92
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. Replace the callback function of the existing route using superModule.
- B. Use the "append" method of the server module for the existing route.
- C. Copy the existing route in a new cartridge and modify where necessary.
- D. Use the "extend" method of the server module for the existing route.
Answer: D
NEW QUESTION 93
A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.
Which step must a developer take in Business Manager to achieve this?
- A. Add American Express as a Payment Preference in Site Preferences.
- B. Add American Express into the Order settings in Site Preferences.
- C. In Payment Processor, create American Express as a payment type.
- D. In Payment Methods, enable American Express as a credit card type.
Answer: A
NEW QUESTION 94
A developer has a sandbox with code to log a message during execution, and the following code:
After the code executes, the developer does not see any log file with the message in the WebDAV folder. Which two tasks does the developer need to perform to correct this issue?
Choose 2 answers
- A. Set the root log level to debug.
- B. Check the box for Info under Log Files.
- C. Request that the developer's account be given permission to the Log Center of the current realm.
- D. Set the logging global preference to true.
Answer: B,C
NEW QUESTION 95
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 OCAPI and invoke it in native language.
- B. Use import/export in Business Manager.
- C. Create a webservice to retrieve products.
- D. Use WebDAV Client to retrieve products.
Answer: D
NEW QUESTION 96
A merchant has reported that customers are seeing low stock items at the top of their search results, giving them a subpar customer experience and impacting conversion.
How might this issue be resolved to ensure a better customer journey?
- A. In Business Manager, set an availability low ranking threshold in Search Preferences.
- B. In Business Manager, enter a higher boost factor for availability in Searchable Attributes.
- C. Create a job that sets all unavailable products to be hidden. Schedule the job to run hourly to clean up the catalog on a regular basis.
- D. In Business Manager, select Show Orderable Products Only at the root level to hide any products that are currently out of stock.
Answer: C
NEW QUESTION 97
Which two methods are efficient and scalable? Choose 2 answers
- A. ProductSearchModel.getProductSearchHits()
- B. ProductSearchHit.getRepresentedProductsQ
- C. Category.getProducts()
- D. ProductMgr.queryAllSiteProducts()
Answer: A
NEW QUESTION 98
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?
- A. Add layout_type_inclusion in the target components json configurations.
- B. Add component_type_Exclusions in the layout json configuration
- C. Add component_type_inclusion in the layout json configuration
- D. Add layout_type_exclusion in the other asset components json configuration.
Answer: C
NEW QUESTION 99
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 resource_id value enables the appropriate resource?
- A. /products/*
- B. /inventory_lists/**
- C. /inventory_list_search
- D. /inventory_lists/*
Answer: A
NEW QUESTION 100
Server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req,res,next){ Var Site = require('dw/system/Syte"); Var pageMetaHelpter = require('*/cartridge/scripts/helpers/pageMetaHelper'); pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current); res.render('/home/homePage'); Missing code here
}, pageMetadata.computedPageMetadata);
The controller endpoint code snippet above does not work.
Which line of code should the developer use to replace line 6 and correct the problem?
- A. req.next();
- B. next();
- C. return res;C. res.next();
Answer: B
NEW QUESTION 101
......
Salesforce CCD-102 Pre-Exam Practice Tests | TrainingQuiz: https://www.trainingquiz.com/CCD-102-practice-quiz.html
CCD-102 practice test questions, answers, explanations: https://drive.google.com/open?id=1Q5FHDNOk881bEUtVS4wGb64sUYuLdOj_

