Free Salesforce CCM-101 Test Practice Test Questions Exam Dumps
Prepare Top Salesforce CCM-101 Exam Audio Study Guide Practice Questions Edition
Salesforce CCM-101 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
NEW QUESTION 54
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 55
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 > Site > Manage Sites > Cache
- B. Administration > Sites > Manage Sites > Site > Cache
- C. Operations > Cache > Site
- D. Site > Site Preferences > Cache
Answer: A
NEW QUESTION 56
Assume the code below is executing:
Business Manager has the configuration:
Active Log category is "root" with log level of "info."
Given this information, what is the beginning of the filename in which the log will be written?
- A. xyz
- B. custom-xyz
- C. custominfo-blade
- D. custom-export
Answer: B
NEW QUESTION 57
Universal Containers created a site export file from staging in the global export directory.
How should the Digital Developer update their sandbox using this staging site export file?
- A. Perform a data replication from staging.
- B. Use the Site Development > Site Import & Export Business Manager module.
- C. Use the Site Development > Import & Export Business Manager module.
- D. Download the site export file and use UX Studio to transfer the data to the sandbox.
Answer: B
NEW QUESTION 58
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.httpsPost(handlePaymentForm);
- B. exports.PaymentForm = guard.ensure(['https', 'post', 'loggedIn'], handlePaymentForm);
- C. exports.PaymentForm = guard.ensure(['http', 'post', 'loggedIn'], handlePaymentForm);
- D. exports.PaymentForm = guard.expose(['post', 'loggedIn'], handlePaymentForm);
Answer: B
NEW QUESTION 59
Given the SFRA Controller below:
Why would a JavaScript debugger, that is stopped at line 06, fall to show the viewdata variable in the inspection tool?
- A. viewdata is assigned but not declared.
- B. viewdata is a B2C Script reserved name.
- C. cache. applyDefauItCache is not a valid middleware.
- D. viewdata is declared but not assigned.
Answer: A
NEW QUESTION 60
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: "./cartridge/scripts/hooks.json" }
- B. { "hooks": "./cartridge/scripts/hooks.json" }
- C. { hooks: ./scripts/hooks.json }
- D. { "hooks": "./scripts/hooks.json" }
Answer: B
NEW QUESTION 61
The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's address book. There is a problem with the code. The error message for an invalid address ID is never shown to the user on the form field.
How should the Digital Developer resolve this issue so that the error message is displayed on the address ID form field?
- A. addressForm.addresssid.invalidateFormElement();
- B. addressForm.invalidateFormElement(addressForm.addressid);
- C. addressForm.invalidateFormElement("addressid");
- D. addressForm.addresssid.invalidateFormElement = true;
Answer: A
NEW QUESTION 62
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 script debugging session is not active
- C. The cartridge containing the script is not in the site's cartridge path
Answer: C
NEW QUESTION 63
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().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
- B. logger.getLogger('profile').debug("Error retrieving profile email, Status Code: ", 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: {0} was returned.", http.statusCode);
Answer: C
NEW QUESTION 64
Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox.
Which two additional steps should the developer take to troubleshoot this problem?
Choose 2 answers
- A. Check the Storefront site cartridge path.
- B. Check the Business Manager site cartridge path.
- C. Check that the search index was recently rebuilt.
- D. Check that the correct code version is selected.
Answer: A,C
NEW QUESTION 65
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 implement the mockfull callback and a sitepreference to enable or disable the mock response.
- B. Create a service and a Sitepreference that induce the service to respond witch a mock response using a conditional.
- C. Create a service and implement the mockFill callback and set the service mode to mock.
- D. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one
Answer: C
NEW QUESTION 66
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 pounds.
- B. Your parcel weighs 10 undefined.
- C. Your parcel weighs 10 stones.
- D. Your parcel weighs 10 kilos
Answer: C
NEW QUESTION 67
A client wants to differentiate their monobrand stores with a special icon when shown in the store locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools.
How should the developer follow SFRA best practices to expose this data for rendering?
- A. Ad dan <isscript> to the template, and call StoreMgr.searchStoresByCoordinates();
- B. Use the module.superModule functionality and the call method to add a new property to the Store Model.
- C. Extend the existing Stores_Find controller with a new middleware function that performs the query
- D. Pass the Store system object to the template, so that custom propierties are available
Answer: B
NEW QUESTION 68
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/de
- B. templates/resources
- C. templates/default
- D. templates/default/resources
Answer: B
NEW QUESTION 69
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:html
- B. npm run compile:js, npm run compile:scss, npm run compile:fonts
- C. npm run compile:scss, npm run compile:html, npm run clean
- D. npm run compile:js, npm run compile:html, npm run clean
Answer: B
NEW QUESTION 70
Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)
- A. Use inline Javascript.
- B. Place CSS outside of templates.
- C. Combine several images into a single image.
- D. Compress CSS.
- E. Use one style sheet for each ISML decorator template.
Answer: A,D,E
NEW QUESTION 71
Given the requirements:
* To show the washing Instructions for a clothing product on a dedicated section the detail page
* Washing instructions come from the product Information manager (PIM)
* To have this attribute available to localize in the Storefront
Which action must these requirements?
- A. Add a resource file for every locale for which the attribute needs to be translated.
- B. set the product system object type as localizable.
- C. Create a custom attribute on the product system object and set it as localizable.
Answer: C
NEW QUESTION 72
A Digital Developer must resolve a performance issue with product tiles. The Developer determines that the product tiles are NOT being cached for a long enough period.
Which two methods can the Developer use to verify the cache settings for the product tiles? (Choose two.)
- A. View the cache information provided by the Merchant Tools > Technical Reports Business Manager module.
- B. Enable the template debugger to verify the cache times for the producttile.isml template.
- C. View the product list page cache settings provided in the Administration > Manage Sites Business Manager module.
- D. Enable cache information in the storefront toolkit and view the cache information for the product tile.
Answer: C,D
NEW QUESTION 73
An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?
- A. The current log file is archived and a new log file is created.
- B. The log file Rolls over and the oldest log messages are overwritten
- C. Logging is suspended for the day
- D. The log file is deleted and a new log file is created.
Answer: C
NEW QUESTION 74
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. Upload the file to the Static WebDAV directory and import using the Import & Export Business Manager module.
- B. Upload and import the file using the local option within the Site Import & Export Business Manager module.
- C. Upload the file to the Impex WebDAV directory and import using the Site Import tool within UX Studio.
- D. Connect and import the file using the remote option within the Site Import & Export Business Manager module.
Answer: B
NEW QUESTION 75
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 is offline.
- C. The Storefront catalog is offline
- D. The category does not contain available products
Answer: C,D
NEW QUESTION 76
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 PUT request to the Stores Data OCAPI.
- D. Siempre que sea un objeto standard sera put en vez de post
- E. A POST request to the Stores Data OCAPI.
Answer: C
NEW QUESTION 77
......
Go to CCM-101 Questions - Try CCM-101 dumps pdf: https://actualtests.trainingquiz.com/CCM-101-training-materials.html

