Authentic Best resources for CCM-101 Test Engine Practice Exam
[2022] CCM-101 PDF Questions - Perfect Prospect To Go With BraindumpsIT Practice Exam
Salesforce CCM-101 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
NEW QUESTION 83
A developer is using the Script Debugger to troubleshoot an issue. They observe that the debugger is not able to resolve a specific breakpoint on one of the scripts. What is a possible reason for this issue?
- A. The script is form a third party cartridge and hence does not allow_settings breakpoints.
- B. The cartridge containing the script is not in the site's cartridge path
- C. The script debugging session is not active
Answer: B
NEW QUESTION 84
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. Exclude pre-order products from search results.
- D. Block displaying the product detail page if Available to Sell (ATS) = 0.
Answer: A
NEW QUESTION 85
A Newsletter controller contains the following route:
Server.post('Subscribe', function (req,res,next){
var newsletterForm = server.forms.getForm('newsletter');var CustomObjectMgr = require('dw/object/CustomObjectMgr'); if(newsletterForm.valid){ try{ var CustomObject = CustomObjectMgr.createCustomObejct('NewsletterSubscription', newsletterform.email.value); CustomObject.custom.firstName = newsletterForm.fname.value; CustomObject.custom.lastName = newsletterForm.lname.value;-
} catch(e){
//Catch error here
}
}
next();
});
Assuming the Custom Object metadata exists, why does this route fail to render the newsletter template when the subscription form is correctly submitted?
- A. Custom Objects can only be created by Job scripts
- B. The Custom Object creation is not wrapped in a Transaction.
- C. The Subscribe route is missing the server.middleware.httpt middleware.
- D. The CustomObjectMgr variable should be declare outside of the route.
Answer: B
NEW QUESTION 86
Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)
- A. Combine several images into a single image.
- B. Use one style sheet for each ISML decorator template.
- C. Use inline Javascript.
- D. Compress CSS.
- E. Place CSS outside of templates.
Answer: B,C,D
NEW QUESTION 87
A developer has the following files in template/resources:
account.proierties
weight.unit=kilos
account_en.propierties
weight.unit=stones
account_en_US.propierties
weight.unit= pounds
Using the default locale configuration, what is the current outcome of the page that renders the account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale= Your parcel weighs 10 ${Resource.msg('weight.unit','account')}
- A. Your parcel weighs 10 stones.
- B. Your parcel weighs 10 pounds.
- C. Your parcel weighs 10 undefined.
- D. Your parcel weighs 10 kilos
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 with '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.superModule and add an exception for the specified brand.
- B. Create a new shipping method and label it "Free Standard Ground Shipping". Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.
- C. Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.
- D. Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<" "Free Standard Ground Shipping."
Answer: C
NEW QUESTION 89
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://test.demandware.net/s/test-site/dw/shop/v18_3/products/M1355?client_id=aaa...
- B. https://www.test.com/dw/shop/v18_3/products/M1355?client_id=aaa...
- C. https://www.test.com/s/test-site/sfc/shop/products/M1355?client_id=aaa...
- D. https://test.demandware.com/dw/shop/products/M1355?client_id=aaa...
Answer: A
NEW QUESTION 90
A retailer notices that the Account Addresses page is showing the wrong shopper's address.
Which tool should the developer start with to identify the issue?
- A. Code Profiler
- B. Pipeline profiler
- C. Reports and Dashboards Module
- D. Storefront Toolkit
Answer: D
NEW QUESTION 91
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. 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."
- B. Extend the CheckoutShippingservices controller using module.superModule and add an exception for the specified brand
- C. Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
Answer: A
NEW QUESTION 92
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?
- A. CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
- B. CustomObject.createCustomObject(CustomObjectType,primaryKey);
- C. CustomObjectMgr.createCustomObject(primaryKey);
- D. CustomObject.createCustomObject(primaryKey,CustomObjectType);
Answer: B
NEW QUESTION 93
A merchant wants to obtain an export file that contains all the products .assigned to their Storefront catalog. They do not know how to achieve this easily without manual processing, so asked their developer to help Generate this. The merchant s Instance setup is as follows:
* They have one Master catalog and one storefront catalog.
* Some, but not all, of the products in the Master catalog are assigned to categories within the Storefront catalog.
Which method allows the developer to generate the export for the merchant?
- A. Using the Site Import and Export module, export both the Site catalog and the Master catalog in a single archive.
- B. Using the Catalog Import and Export module, export the Master catalog with a category-assignment search to export specific
- C. Using the Site Import and Export module, export the Master catalog filtered by the site catalog categories to export specific products.
Answer: C
NEW QUESTION 94
A Digital Developer has a site export file on their computer that needs to be imported into their sandbox.
How should the developer update their sandbox with the data in this file?
- A. Connect and import the file using the remote option within the Site Import & Export Business Manager module.
- B. Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.
- C. Upload and import the file using the local option within the Site Import & Export Business Manager module.
- D. Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.
Answer: C
NEW QUESTION 95
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 A
- D. Option B
Answer: D
NEW QUESTION 96
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. Add csrfProtection middleware steps in the controller
- B. Extend the CSRF token validity to avoid timeouts.
- C. Delete the existing CSRF allow list in Business Manager.
Answer: A
NEW QUESTION 97
Which three configuration does a developer need to ensure to have a new product visible in the Storefront?
Choose 3 answers
- A. The search index is built.
- B. The product is online and searchable
- C. The Storefront catalog that contains the product is assigned to a site
- D. The product has a Price
- E. The product has a master product
Answer: A,B,C
Explanation:
Tengo dudas con el A. REVISAR
NEW QUESTION 98
Which three configuration does a developer need to ensure to have a new product visible in the Storefront?
Choose 3 answers
- A. The search index is built.
- B. The product is online and searchable
- C. The Storefront catalog that contains the product is assigned to a site
- D. The product has a Price
- E. The product has a master product
Answer: A,B,C
NEW QUESTION 99
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. Add csrfProtection.generateToken as a middleware step in the controller.
- B. Add the token in the ISML template.
- C. Extend the CSRF token validity to avoid timeouts.
- D. Delete the existing CSRF whitelists in Business Manager.
Answer: C,D
NEW QUESTION 100
The Home-Show route uses this middleware chain:
The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:
Assuming the code is correct on both functions, what is the expected result?
- A. The base code executes and then the custom code executes.
- B. The base code executes, but the custom code is ignored because the signature lines do not match.
- C. The custom code executes and then the base code executes.
- D. A RunTime error is thrown, "Error: Params do not match route".
Answer: D
NEW QUESTION 101
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 102
A Digital Developer needs to add logging to the following code:
Which statement logs the HTTP status code to a debug-level custom log file?
- A. Logger.getLogger('profile').debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- B. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- C. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- D. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", http.statusCode);
Answer: C
NEW QUESTION 103
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. Create a webservice to retrieve products.
- B. Use import/export in Business Manager.
- C. Use OCAPI and invoke it in native language.
- D. Use WebDAV Client to retrieve products.
Answer: D
NEW QUESTION 104
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/resources
- C. templates/default
- D. templates/de
Answer: B
NEW QUESTION 105
A developer has a sandbox configured with a service and its profile and credential. Now there is a requirement to allow changes to the service URL manually from the sandbox.
Which B2C feature should the developer use to achieve the request?
- A. Use a Globalpreference dedicated for the service URL
- B. Use the service credential URL field
- C. Use the service status area, set the override URL checkbox, and then populate the URL field with the required one.
- D. Use a Sitepreference dedicated for the service URL
Answer: C
NEW QUESTION 106
......
Best updated resource for CCM-101 Online Practice Exam: https://examtorrent.braindumpsit.com/CCM-101-latest-dumps.html