The New CCM-101 2023 Updated Verified Study Guides & Best Courses
Authentic CCM-101 Exam Dumps PDF - 2023 Updated
NEW QUESTION # 104
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: D
NEW QUESTION # 105
When inspecting the weekly service status report for a critical internally hosted web service used in the application, a developer notices that there are too many instances of unavailability.
Which two solutions can reduce the unavailability of the service?
Choose 2 answers.
- A. Update the service to have a faster response time.
- B. Increase the web service time out
- C. Modify the code that makes the request to the external service to be wrapped in a try/catch block.
- D. Change the code that sets the throwOnError attribute of the service to be true.
Answer: A,B
Explanation:
NEW QUESTION # 106
Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis checkout flow. This new attribute needs to be included as part of the standard order export.
Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?
- A. * Add the new attribute to the "Customer" system object.
* Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Customer" object. - B. * Modify the "COPIaceOrder" controller to update a CSV file in the IMPEX WebDAV directory with the order ID and comments.
* Modify the order export process to read information in the CSV file and include it as part of the export. - C. * Add the new attribute to the "Order" system object.
* Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Order" object. - D. * Create a new custom object type for order comments that contains the attributes: order ID and comments.
* Modify the "COPIaceOrder" controller to create a new order comments custom object upon order completion.
Answer: B
NEW QUESTION # 107
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?
- A. Modify the debugger configuration and use the existing pipeline debugger.
- B. Create and use a new controller debug configuration.
- C. Use the existing pipeline debugger.
- D. Create and use a new script debug configuration.
Answer: A
NEW QUESTION # 108
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
- A. PageMgr,renderPage{pageID, {parameter1: value1}}
- B. PageMgr.serializePage(pageID), {parameter1:value1}};
- C. JSON.stringgify(PageMgrrenderpage(pageID), {paramter1:value1}}:
Answer: B
NEW QUESTION # 109
A new version of the Page Show controller is required for implementation of Page Deserter specific look. It requires implementation of a specific, cache period for Page Designer pages, which b not currently available in the base Storefront Reference Architecture (SFRA) cache.js module What two steps should the Architect instruct the developer to implement?
Choose 2 answers
- A. Create new Page,js controller in client's cartridge. Extend the code from base and prepend the new cache middleware function to Page-Show route.
- B. Create new cache,js in client's cartridge. Extend cache,js from app_storefront_base and add a function for the Page Designer caching.
- C. Create new ceche,js client's cartridge. Copy cache,js from app_storefront_base and add a function for the Page Designer caching.
- D. Create new Page.js controller in client s cartridge. Copy code from base and modify the Page-Show route to include the new cache middleware function.
Answer: A,B
NEW QUESTION # 110
A Digital Developer added a file named MyBusinessController.js in the cartridge named app_project. The project design calls for this new file to override MyBusinessController.js in client_project. The client_project cartridge contains other necessary functionality. Additional functionality is also included in the storefront_core and storefront_controllers cartridges.
Which cartridge path meets the project requirements?
- A. app_project:storefront_controllers:storefront_core
- B. app_project:client_project:storefront_controllers:storefront_core
- C. client_project:app_project:storefront_controllers:storefront_core
- D. storefront_core:storefront_controllers:client_project:app_project
Answer: B
NEW QUESTION # 111
A Digital Developer selects "Show Orderable Products Only" in the Search > Search Preferences Business Manager module.
Which business goal does this accomplish?
- A. Exclude products from search results if Available to Sell (ATS) = 0.
- B. Exclude back-ordered products from showing on the website.
- C. Block displaying the product detail page if Available to Sell (ATS) = 0.
- D. Exclude pre-order products from search results.
Answer: A
NEW QUESTION # 112
The Client identifies that a segment of customers need to see some products on the site that other customers should not be able to access. All products are maintained within one catalog but in separate categories. A custom attribute will be used on the Profile system object to identify customers that belong to this special segment. A customer group will be made that is qualified for by this Profile custom attribute. The storefront will be customized to include navigation to relevant categories for this customer group.
Unfortunately during technical review the Client points out that the business teams have raised a concern with maintenance and want to use a shared navigation within the catalog and not use separate categories.
Which item should the Architect suggest to efficiently fulfil this new requirement while maintaining scalability?
- A. Customize the Storefront to use separate storefront catalogs with the same navigation that If the customer Is In the customer group gets assign products appropriately.
- B. Customize the Storefront to use a hidden search refinement and modify the customer group to be qualified for by a new product custom attribute
- C. Customize the Storefront Co use a hidden search refinement that if the user Is In the customer group then the result Includes those products with a new custom attribute.
- D. Customize the Storefront to modify the search result that if the user is in the customer group then the result includes those products appropriately.
Answer: D
NEW QUESTION # 113
A business user wants to add a link to a content page from within the body of another content asset. The target content asset ID is: terms-and-conditions.
Which link function generates the correct link?
- A. $httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
- B. $include('Page-Include', 'cid', 'terms-and-conditions')$
- C. $http('Content-Page', 'cid', 'terms-and-conditions')$
- D. $url('Page-Show', 'cid', 'terms-and-conditions')$
Answer: A
NEW QUESTION # 114
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.ensure(['http', 'post', 'loggedIn'], handlePaymentForm);
- B. exports.PaymentForm = guard.httpsPost(handlePaymentForm);
- C. exports.PaymentForm = guard.expose(['post', 'loggedIn'], handlePaymentForm);
- D. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedIn'], handlePaymentForm);
Answer: D
NEW QUESTION # 115
A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.
* The current customer
* Whether or not the customer is authenticated
* The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
- A. Use an SFRA controller, because it runs server-side, the state is automatically maintained
- B. Use a client-side cookie to store the information for the session duration.
- C. Use the Session class in the B2C Commerce api.
- D. Use a non-replicable Custom Object to store the information temporarily.
Answer: C
NEW QUESTION # 116
The client provides the system integrator with translation messages for the newly added "French" ("fr") locale.
What is the correct folder to store the associated .properties files?
- A. cartridge/resources
- B. A cartridge/templates/resources
- C. cartridge/templates/resources/fr
- D. cartridge/templates/fr
Answer: B
NEW QUESTION # 117
A developer is asked to implement a simple call to an authentication - protected REST web service.
Which configuration is valid?
- A. Add the authentication password to the service credentials.
- B. Insert the service's endpoint in a .properties file.
- C. Configure the authentication username using a site preference.
Answer: C
NEW QUESTION # 118
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?
- A. A model
- B. A middleware script
- C. A decorator
- D. A controller
Answer: D
NEW QUESTION # 119
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
- A. CustomObject.createCustomObject(primaryKey,CustomObjectType);
- B. CustomObjectMgr.createCustomObject(primaryKey);
- C. CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
- D. CustomObject.createCustomObject(CustomObjectType,primaryKey);
Answer: D
NEW QUESTION # 120
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. Page scope variable
- B. Request scope variable
- C. Session scope variable
- D. Content slot variable
Answer: C
NEW QUESTION # 121
In order to implement site custom functionality, a developer creates a new cartridge.
Which step should the developer take to ensure their cartridge changes take effect?
- A. Add the new cartridge to the cartridge path for the business Manager site.
- B. Rebuild the site indexes to capture incremental changes.
- C. Add the new cartridge to the cartridge path for the relevant Storefront site.
Answer: C
NEW QUESTION # 122
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. Use the "append" method of the server module for the existing route.
- B. Replace the callback function of the existing route using superModule.
- 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 # 123
......
Get Prepared for Your CCM-101 Exam With Actual 208 Questions: https://www.suretorrent.com/CCM-101-exam-guide-torrent.html
Valid CCM-101 Test Answers Full-length Practice Certification Exams: https://drive.google.com/open?id=1iZB8kb5YpFGAI03T4hZouFVPhqOcvOG7