Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Salesforce Manage and Merchandise a B2C Commerce Cloud Store - Extended CCM-101 Exam Questions

Page: 1 / 14 Total 207 questions

Want more questions? Get Premium Access.

Question 1

A Digital Developer must give users the ability to choose an occasion (holiday, birthday, anniversary, etc.) for which gifts are currently being selected. The data needs to be persistent throughout the current shopping experience.

Which data store variable is appropriate, assuming there is no need to store the selection in any system or custom objects?

Correct Answer: C. Session scope variable

Question 2

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?

Correct Answer: 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.

Question 3

A Digital Developer is working on a multi-site realm. A new site requires a different layout for the account landing page. The business logic and data model remain the same. The existing code is in AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront cartridge contains code for all other business functions. The cartridge path for the new site is currently int_cybersource:int_paypal:app_storefront.

The Developer creates a new cartridge named app_newsite that contains only the accountlanding.isml template for the new site.

Which modification should be made to the new cartridge path?

Correct Answer: B. Set the cartridge path so that app_storefront is before int_cybersource.

Question 4

A developer is using logging in scripts to troubleshoot an issue. They are using the dw.system.Log class to write to specific log levels and categories. Which log level is always enabled by default?

Correct Answer: A. FATAL

Question 5

Given a NewsletterSubscription custom object that has a key attribute named email of type String, what is the correct syntax to create the NewsletterSubscription custom object and persist it to the database?

Correct Answer: C. Var customobject = dw.object.CustomObjectMgr. createCustomObject ('NewsletterSubscription', newsLetterForm.email.value);

Question 6

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?

Correct Answer: A. Use the service credential URL field

Question 7

Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis checkout flow. This new attribute needs to be included as part of the standard order export.

Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?

Correct Answer: B. * Modify the 'COPIaceOrder' controller to update a CSV file in the IMPEX WebDAV directory with the order ID and comments. * Modify the order export process to read information in the CSV file and include it as part of the export.

Question 8

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?

Correct Answer: A. next();

Question 9

An instance has custom logging enabled. The log reaches the file size limit.

What happens in this situation?

Correct Answer: B. Logging is suspended for the day

Question 10

A developer has configured the following log levels for categories & sub categories as

WARN logging is enabled for 'product' and DEBUG for "product.import"

What will be the log level used for various categories and sub-categories?

Correct Answer: A. WARN and ERROR are lugged for product' and all its subcategories. For the subcategory 'product.import' DEBUG and INFO are also logoed

Question 11

A client has two B2C Commerce sites in the same instance: one for the U.S market, the other for the

European market. The products they make are sold with different safety certificates based-on the world

location.

For example, they sell a smartphone with certificate A in the U.S and certificate B in Europe, a

hairdryer with certificate C in the U.S and certificate D in Europe, and more.

How should a developer allow the merchant to display the appropriate certification logo in the produce to

details page, depending on the customer's location?

Correct Answer: C. Add a Site-specific custom attribute to the Product system object type.

Question 12

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?

Correct Answer: B. Extend the route with new functionality.

Question 13

A merchant uploads an image using the Content Image Upload module of Business Manager.

Which three modules can the merchant or developer use to display the image on the Storefront?

Choose 3 answers

Correct Answer: B. Content assets; C. Storefront catalogs; D. Content slots

Question 14

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?

Correct Answer: C. 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.'

Question 15

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?

Correct Answer: A. Only Page Designer Components can be localized for different languages.