Free Salesforce CCM-101 Exam Actual Questions

The questions for CCM-101 were last updated On Jan 15, 2025

Question No. 1

A developer has a B2C site and a merchant requirement to add a new locale to it.

What are the steps to enable the locale in the Storefront?

Show Answer Hide Answer
Correct Answer: A

Question No. 2

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?

Show Answer Hide Answer
Correct Answer: C

Question No. 3

Server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req,res,next){

Var Site = require('dw/system/Syte'');

Var pageMetaHelpter = require('*/cartridge/scripts/helpers/pageMetaHelper');

pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current);

res.render('/home/homePage');

Missing code here

}, pageMetadata.computedPageMetadata);

The controller endpoint code snippet above does not work.

Which line of code should the developer use to replace line 6 and correct the problem?

Show Answer Hide Answer
Correct Answer: A

Question No. 4

A developer needs to check for product inventory in all inventory lists using the Open Commerce API.

An example request URL is:

Which properly should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?

Show Answer Hide Answer
Correct Answer: B

Question No. 5

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?

Show Answer Hide Answer
Correct Answer: B