CCM-101 Practice Exam and Study Guides - Verified By Prep4pass Updated 175 Questions
2022 Updated Verified Pass CCM-101 Study Guides & Best Courses
Salesforce CCM-101 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
NEW QUESTION 71
A merchant requires that an existing section of the Site become editable from the Business Manager, so that they can modify it independently of the developer.
Which of these is an important factor for a developer to consider when choosing the appropriate solution between a content slot and a Page Designer component?
- A. Only content slot configurations can ve localized for different languages.
- B. Only page Designer components can ve tied to campaigns.
- C. Only content slot configurations can be tied to campaigns.
- D. Only Page Designer Components can be localized for different languages.
Answer: D
NEW QUESTION 72
A developer has a requirement to display a banner in two different category pages.
Which snippet of code should the developer add to a template to allow the merchant to configure each independently?
A)
B)
C)
- A. Option A
- B. Option C
- C. Option B
Answer: C
NEW QUESTION 73
Why should a Digital Developer use ProductSearchModel.getProducts() instead of Category.getOnlineProducts() to access products?
- A. It has fewer lines of code.
- B. It is more readable code.
- C. It uses the search index.
- D. It reduces accesses to the application server.
Answer: D
NEW QUESTION 74
Multiple shoppers report slow performance on the Product Details Page.
Which tool can a developer use to view average response times for the Product-Detail controller route?
- A. Pipeline Profiler
- B. Request Logs
- C. URL Request Analyzer
Answer: A
NEW QUESTION 75
A developer wants to use an external application to manage their stores information (such as opening hours, and so on), and see their changes in their B2C Commerce Staging instance aas son as they are saved.
What is the appropriate technique the developer should perform to allow the merchant to create a new store in this scenario?
- A. An UPDATE request to the Stores Data OCAPI.
- B. A PATCH request to the Stores Data OCAPI.
- C. A POST request to the Stores Data OCAPI.
- D. A PUT request to the Stores Data OCAPI.
- E. Siempre que sea un objeto standard sera put en vez de post
Answer: D
NEW QUESTION 76
A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct.
Which code sample will achieve this?
- A. ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
- B. ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
- C. ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
- D. ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
Answer: D
NEW QUESTION 77
A Digital Developer is working in a sandbox on a site named test-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?
- A. https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
- B. https://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
- C. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
- D. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
Answer: B
NEW QUESTION 78
The developer created a new Storefront category in storefront-catalog-m-en, but when viewing the Storefront site, the category is not visible.
What are two possible reasons?
- A. The category is not sorted
- B. The category does not contain available products
- C. The category is offline.
- D. The Storefront catalog is offline
Answer: B,D
NEW QUESTION 79
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?
- A. Operations > Cache > Site
- B. Site > Site Preferences > Cache
- C. Operations > Site > Manage Sites > Cache
- D. Administration > Sites > Manage Sites > Site > Cache
Answer: C
NEW QUESTION 80
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?
- A. dw.ocapi.shop.basket.shipment.afterDELETE
- B. dw.ocapi.shop.basket.shipment.beforeDELETE
- C. dw.ocapi.shop.baskep.shopment.beforePOST
- D. dw.ocapi.shop.basket.shipment.beforePATCH
Answer: C,D
Explanation:
Estos indican antes de actualizar y antes de introducir
NEW QUESTION 81
A Digital Developer is adding support for an additional language other than the default. The locale code for the new language is de.
In which folder should the developer place resource bundles?
- A. templates/default/resources
- B. templates/default
- C. templates/de
- D. templates/resources
Answer: D
NEW QUESTION 82
Given a template rendered by a controller with caching and a remote include without caching, which situation applies?
- A. The page is not cached because the remote include introduces an uncached portion.
- B. The page is cached only for returning customers because of the remote include.
- C. The remote include portion is not cached, but the rest of the page is cached.
- D. Both the remote include portion and the rest of the page are cached.
Answer: C
NEW QUESTION 83
A developer wants to configure multiple products that should only be sold as a group. It should not be possible for buyers to buy these products individually. How should the developer configure the products?
- A. Set
- B. Variation Group
- C. Bundle
Answer: C
NEW QUESTION 84
A developer has these requirements for out-of-stock products:
* Save the SKUs of the out-of-stock products that the customer is interested in
* Save the customer email regardless if the customer is a guest or registered
* Email the customer when the product is back-in-stock
Which step should the developer perform as part of the solution to achieve the requirements?
- A. Create a new custom object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.
- B. Create a new set-of-string type custom attribute to the system object type Profile to save all the SKUs and use the existing email field for the email.
- C. Create a new system object type that has a set-of-string type custom attribute for the SKUs and a string for the email field.
- D. Create a new set-of-string type custom attribute to the system object type Product to save all the customer email addresses for back-in-stock notification.
Answer: D
NEW QUESTION 85
Given the requirements:
* To integrate with an external web service using HTTP requests
* To create a service for this purpose with the Service framework using the LocalServiceRegistry class.
* To test the service before the external service provider makes the API available Which solution allows the developer to satisfy the requirements?
- A. Create a service and a Sitepreference that induce the service to respond witch a mock response using a conditional.
- B. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one
- C. Create a service and implement the mockfull callback and a sitepreference to enable or disable the mock response.
- D. Create a service and implement the mockFill callback and set the service mode to mock.
Answer: D
NEW QUESTION 86
A developer uses the call() instance method of dw.svc.Service to invoke a web service and implemented the callback methods defined by the dw.avc.ServiceCaliback class.
Which callback method is required only when invoking a SOAP service?
- A. mockCall
- B. createRequeat
- C. initServiceClient
- D. parseResponse
Answer: C
NEW QUESTION 87
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 Cart.js 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 token is present in the form and is being submitted in the request.
- C. The CSRF cartridge is included in the site's cartridge path.
- D. The CSRF settings in Business Manager are properly configured.
Answer: B
NEW QUESTION 88
......
Ultimate Guide to the CCM-101 - Latest Edition Available Now: https://www.prep4pass.com/CCM-101_exam-braindumps.html
2022 Updated Verified Pass CCM-101 Exam - Real Questions and Answers: https://drive.google.com/open?id=1UNUYNlV3SLSS6DrjeN4dskkp65M0CpJ2
