Get New 2023 Salesforce exam CCM-101 Dumps Bundle On flat Updated Dumps!
Full CCM-101 Practice Test and 208 unique questions with explanations waiting just for you, get it now!
NEW QUESTION # 69
A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.
According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?
- A. Logger.error('Unexpected service response')
- B. Logger.debug('Unexpected service response')
- C. Logger.info('Unexpected service response')
- D. Logger.warn('Unexpected service response')
Answer: D
NEW QUESTION # 70
Which code sample is required to use a custom tag provided in SiteGenesis in an ISML template?
- A. Option D
- B. Option C
- C. Option B
- D. Option A
Answer: C
NEW QUESTION # 71
In Log Center, a developer notes j number of Cross Site Request Forgery (CSRF) log entries.
After adding the token in the 15ML template, which action might solve this problem'
- A. Extend the CSRF token validity to avoid timeouts.
- B. Delete the existing CSRF allow list in Business Manager.
- C. Add csrfProtection middleware steps in the controller
Answer: C
NEW QUESTION # 72
Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID:
One Model 103 container
Five Model 611 container
Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create "The Basics" as a combination?
- A. In the Product Bundles module, create a bundle named "The Basics".
- B. In the Product Sets module, create a product set named "The Basics".
- C. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.
- D. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.
Answer: C
NEW QUESTION # 73
A developer is given the requirement to add a step to the existing business logic of the registration process. How should the developer modify the route that handles the customer registration?
- A. Copy the code from the original route to a new controller route, and change it.
- B. Extend the route with new functionality.
- C. Override the route with new functionality.
- D. Change the controller route with new functionality.
Answer: B
NEW QUESTION # 74
A developer needs to update the package.json file so that it points to the hock file for a cartridge, using the hooks keyword. Which snippets work correctly when added to the file?:
- A. { hooks: ./scripts/hooks.json }
- B. { "hooks": "./scripts/hooks.json" }
- C. { "hooks": "./cartridge/scripts/hooks.json" }
- D. { hooks: "./cartridge/scripts/hooks.json" }
Answer: C
NEW QUESTION # 75
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?
- A. Create a copy of existing address.xml file in the default folder. Rename that file to address_en_US.xml
- B. Create a copy of existing address.xml file in the default folder. Rename that file to adres_US.xml
- C. Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file in the new folder.
- D. Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in the new folder.
Answer: A
NEW QUESTION # 76
Given the requirement to add caching to an existing page while adhering to SFRA best practices, which code snippet should be used?
- A.

- B.

- C.

Answer: C
NEW QUESTION # 77
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/templates/resources/fr
- B. cartridge/templates/fr
- C. A cartridge/templates/resources
- D. cartridge/resources
Answer: C
NEW QUESTION # 78
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. Option D
- B. Option B
- C. Option A
- D. Option C
Answer: D
NEW QUESTION # 79
Given the following conditions:
* Site export file with a copy of the Storefront data for a custom site
* Sandbox with the custom site code, but no Storefront data
* Requirement for a working copy of SFRA for development reference
A developer is assigned the following Business manager tasks:
A) Import the custom Site using Site Import/Export
B) Import the SFRA Demo Sites using Site Import/Export
C) Rebuild the custom Site search indexes
In what sequence should the developer perform the tasks, so that the custom Site displays the products as intended?
- A. Task A, then C, then B
- B. Task B, then C, then A
- C. Task B, then A, then C
- D. Task A, then B, then C
Answer: C
NEW QUESTION # 80
Northern Trail Outfitters uses an Order Management system (OMS), which creates an order tracking number for every order 24 hours after receiving it. The OMS provides only a web-service interface to get this tracking number. There is a job that updates this tracking number for exported orders, which were last modified yesterday.
Part of this jobs code looks like the following:
Based on the above description and code snippet, which coding best practice should the Architect enforce?
- A. The transaction for updating of orders needs to be rewritten to avoid problems with transaction size.
- B. Standard order import should be used instead of modifying multiple order objects with custom code.
- C. Configure circuit breaker and timeout for the OMS web service call to prevent thread exhaustion.
- D. Post-processing of search results is a bad practice that needs to be corrected.
Answer: C
NEW QUESTION # 81
In order to build the SFRA code to a developer sandbox for the first time, which build steps should the developer perform for the site to appear and function as designed?
- A. npm run compile:js, npm run compile:scss, npm run compile:fonts
- B. npm run compile:js, npm run compile:html, npm run clean
- C. npm run compile:js, npm run compile: scss, npm run compile:html
- D. npm run compile:scss, npm run compile:html, npm run clean
Answer: A
NEW QUESTION # 82
A Storefront is designed so that multiple pages share a common header and footer layout.
Which ISML tag should a developer use on the templates for these pages to avoid code repetition in the most effective way?
- A. <isdecorate> ... </isdecorate>
- B. <iscontent> ... </iscontent>
- C. <isreplace> ... </isreplace>
- D. <isinclude> ... </isinclude>
Answer: A
NEW QUESTION # 83
In Log Center, a developer notes a number of Cross Site Request Forgery (CSRF) log entries. The developer knows that this happens when a CSRF token is either not found or is invalid, and is working to remedy the situation as soon as possible.
Which two courses of action might solve the problem?
Choose 2 answers
- A. Extend the CSRF token validity to avoid timeouts.
- B. Add the token in the ISML template.
- C. Delete the existing CSRF whitelists in Business Manager.
- D. Add csrfProtection.generateToken as a middleware step in the controller.
Answer: A,C
NEW QUESTION # 84
A developer needs to perform the same additional checks before completing multiple routes in a custom controller, in order to decide whether to render a template or redirect the user to a different page.
According to SFRA best practices, what is the correct approach to improve code reusability in this scenario7
- A. Use the superModule property in the existing routes to extend their functionality.
- B. Replace the existing routes by creating a controller in separate new cartridge.
- C. Append a new function to all the existing routes with the server module.
- D. Define a new middleware function and use it in the existing routes.
Answer: D
NEW QUESTION # 85
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 into the Order settings in Site Preferences.
- B. In Payment Processor, create American Express as a payment type.
- C. In Payment Methods, enable American Express as a credit card type.
- D. Add American Express as a Payment Preference in Site Preferences.
Answer: C
NEW QUESTION # 86
Which is an appropriate use of the <isif> ISML tag that follows B2C Commerce and SFRA best practices?
- A. Implement involved business logs through conditional statements.
- B. Redirect users to the registration page if they are not logged in
- C. Display a section of the page to logged users only
Answer: A
NEW QUESTION # 87
A developer wants to embed a link to a content page from within the body of another content asset. the target content asset ID is: about-us Which option represents the correct format to use?
- A. $url(''page-Show,''cid'', about-us')$
- B. $url('Content-Page', cid 'about-us;)$
- C. $url('Content_Show', 'about-us')$
Answer: A
NEW QUESTION # 88
The developer has been given the following business requirement:
* The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth category equals or is child of electronics-televisions.'
* The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.
What method accomplishes this while following best practices?
- A. Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
- B. Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTV" to the exclusion list for "Free Standard Ground Shipping."
- C. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
Answer: B
NEW QUESTION # 89
A client sells its products in North America, Europe, and Asia, and has a B2C Commerce Site for each of these markets. The client receives three area-specific snippets of analytics code by a third-party provider to insert in the sites.
How should the developer configure an instance to allow the merchant to independently insert and update these snippets?
- A. Configure a new Service Profile with the provided snippet of code.
- B. Create a new "HTML" attribute in the SitePreference object type.
- C. Use ISML conditional tags to add the snippet into the codebase.
Answer: B
NEW QUESTION # 90
An Architect is documenting the technical design for a single B2C Commerce storefront. The Client has a business requirement to provide pricing that is customized to specific groups:
* 50 different pricing groups of customers
* 30 different pricing groups of employees
* 10 different pricing groups of vendors
Which items should the Architect include in the design in order to set applicable price books based on these requirements'' Choose 2 answers
- A. - One campaign and multiple promotions for each customer group
- B. - One promotion and 50 campaigns for customers
- One promotion and 30 campaigns for employees
- One promotion and 10 campaigns for vendors - C. - 50 customer groups for customers
- 30 customer groups for employees
- 10 customer groups for vendors - D. - One customer group and SO subgroups for customers
- One customer group and 30 subgroups for employees
- One customer group and 10 subgroups for vendors
Answer: C,D
NEW QUESTION # 91
......
Reduce Your Chance of Failure in CCM-101 Exam: https://examcollection.dumpsvalid.com/CCM-101-brain-dumps.html