Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Free Exam Questions

Comm-Dev-101 Exam Questions & Answers

Salesforce Certified B2C Commerce Developer  •  Salesforce

154 Questions Updated Oct 2026 99% Pass Rate
Get Full Access

100% money-back guarantee

Sample Comm-Dev-101 Questions

Practice with real exam-style questions, each with the verified correct answer and explanation.

Q1 MultipleChoice

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?

Correct Answer: A
Explanation:

Business Manager'sCatalog Import & Exportfunctionality can perform anExport Specific Productsoperation. The merchant or developer can select the relevant Master catalog and use product-search criteria to identify the products associated with the required storefront-category assignments.

Salesforce documents that Catalog Export can export selected products directly from Business Manager. TheExport Specific Productsmode contains the selected products and the category assignments belonging to those products. The documented Business Manager location isMerchant Tools > Products and Catalogs > Import & Export > Catalog Export.

This is preferable to Site Import & Export because that feature packages site configuration/data units for movement between instances; it is not primarily designed to generate a filtered product feed based on storefront assignments.

The separation of Master and Storefront catalogs is important. The Master catalog owns the product data, while the Storefront catalog's category assignments identify which subset is merchandised through that storefront. Exporting specific Master-catalog products based on those assignments produces the required subset without manually curating every product.

Study Guide reference:Data Management Using Business Manager Usage --- Catalog Import & Export, Export Specific Products, Master catalogs, Storefront catalogs, and category assignments.

Q2 MultipleChoice

A developer is tasked with the development of a new Page Designer Page Type, as requested by the merchant. How should they define the rendering logic of the page?

Correct Answer: A
Explanation:

A Page Designer Page Type consists of a metadata definition plus a corresponding JavaScript implementation. The rendering behavior itself belongs in the page-typeJavaScript file, which must expose arender()function.

Salesforce states that the script file must have the same base name and location as the Page Designer meta-definition file, using.jsrather than.json. The script'srenderfunction receives aPageScriptContextand must return the resulting markup as a string. It commonly renders an ISML template usingdw.util.Template, and the template can in turn render the page's regions.

The metadata JSON describes the Page Type's declarative configuration---such as its attributes and regions---but does not implement rendering through a'render'property. A conventional SFRA controller route can invokePageMgr.renderPage()to initiate rendering, but that controller does not define the actual Page Type rendering logic.

This separation allows Page Designer to manage page composition while the JavaScript implementation controls the output representation.

Study Guide reference:Application Development --- Page Designer Page Types, page metadata,render()functions,PageScriptContext, and Page Designer rendering.

Q3 MultipleChoice

There are three logging categories: category1, category1.eu, and category1.us. In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segment below executes.

varlogger=Logger.getLogger("loggerFile","category1.eu");

logger.warn("This is a log message");

What is the result?

Correct Answer: B
Explanation:

The two-argumentLogger.getLogger()method accepts afile-name prefixfollowed by alogging category. Here,loggerFileis the requested custom file-name prefix andcategory1.euis the category.

Salesforce's Script API defines the signature asLogger.getLogger(fileNamePrefix, category). Custom log files created through this mechanism are stored as custom logs, so their actual generated filename begins with thecustom-naming convention followed by the developer-supplied prefix. Salesforce also states that repeated calls using the same file-name prefix use the same associated custom logger/file.

The WARN message passes filtering becausecategory1.euinherits its logging threshold from parent categorycategory1, which is enabled at WARN. B2C Commerce custom logging is hierarchical, so parent-category rules apply to descendant categories unless overridden.

Therefore, the WARN entry is written to the custom log beginning withcustom-loggerFile.

Study Guide reference:Application Development --- Logger file prefixes, custom log files, category inheritance, WARN filtering, andLogger.getLogger().

Q4 MultipleChoice

The developer needs to add custom category debug logging into the "contact" script, to ensure that a third-party service call responds as expected.

Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

01varLogger=require('dw/system/Logger');

02varservice=dw.svc.LocalServiceRegistry.createService('contact.http.submit',options);

03varserviceResponse=service.call(requestJSON);

04

05if(serviceResponse.ok) {

06// Insert logging code here

07}

Correct Answer: A
Explanation:

Logger.getLogger('contact')creates or retrieves a logger associated with thecontactcategory. Calling.debug()on that logger writes the message at DEBUG severity, subject to the configured category and log-target rules.

B2C Commerce custom logging uses hierarchical category names patterned after log4j. Categories can be activated at particular severity levels inAdministration > Operations > Custom Log Settings. Salesforce explains that child categories inherit applicable settings from their parent categories unless they have more specific configuration.

Option B uses the generic staticLogger.debug()call and does not explicitly associate the statement with the required customcontactcategory. Option C refers to a nonexistentcustomLogger()API.

The category-specific approach is operationally superior when troubleshooting a third-party integration because administrators can selectively enable DEBUG logging forcontactwithout enabling extensive debugging across unrelated application code. Once the issue is diagnosed, that category's verbosity can be reduced again.

Study Guide reference:Application Development ---dw.system.Logger, custom categories, DEBUG logging, Service Framework diagnostics, and hierarchical logging configuration.

Q5 MultipleChoice

A developer wants to create a Business Manager extension with the cartridge named plugin_bm_extension.

Which two steps should the developer take for the extension option to show up in Business Manager?

Correct Answer: A
Explanation:

For a Business Manager extension to become visible and usable, its cartridge must participate in theBusiness Manager cartridge path, and the user must have the Business Manager module permission required to access the extension. Salesforce explicitly states that Business Manager extension cartridges must be added to the BM cartridge path, and extension functionality is secured through roles and permissions.

The extension does not need to be added to the Storefront site's cartridge path merely to make its Business Manager menu/module available. A code version containing the cartridge must of course be deployed and active generally, but activation alone does not grant access to the new Business Manager module.

There is atyping inconsistency in option A: the stem names the cartridgeplugin_bm_extension, whereas option A sayscustom_bm_extension. The technically correct action represented by A is to addplugin_bm_extensionto the Business Manager cartridge path and grant the appropriate roles/permissions.

Study Guide reference:B2C Commerce Setup --- Business Manager extensions, BM cartridge path, module permissions, roles, and extension deployment.

Get access to all 154 verified questions with detailed answers.

Unlock All Comm-Dev-101 Questions

Frequently Asked Questions

The Comm-Dev-101 exam covers Salesforce B2C Commerce development fundamentals, including storefront technology, catalog management, order management, and customization. It also includes topics on scripting, APIs, and the Salesforce Commerce Cloud platform architecture to ensure developers understand how to build and maintain B2C Commerce solutions.

The Comm-Dev-101 exam typically contains 60 multiple-choice questions that must be completed within 120 minutes. You need to achieve a score of approximately 65-70% to pass, though Salesforce does not publicly disclose the exact passing percentage.

Salesforce recommends having at least 6-12 months of hands-on development experience with Salesforce B2C Commerce before attempting the certification exam. This experience should include working with storefront development, scripting, API integration, and the Salesforce Commerce Cloud platform.

There are no formal prerequisites required to take the Comm-Dev-101 exam, though Salesforce recommends foundational knowledge of e-commerce concepts and web development. Some candidates find it helpful to complete introductory Salesforce courses or obtain basic Salesforce certifications before pursuing this specialized commerce developer certification.

The Comm-Dev-101 certification is valid for three years from the date you pass the exam. To maintain your certification, you must pass the exam again before it expires or complete maintenance requirements through continuing education and renewal exams that Salesforce periodically offers.
Exam Details
  • Exam CodeComm-Dev-101
  • VendorSalesforce
  • Total Questions154
  • LanguageEnglish
  • Last UpdatedOct 14, 2026
4.9/5

Pass Comm-Dev-101 First Time

Get all 154 exam questions with verified answers and 90-day free updates.

Buy Now & Pass
  • PDF + Practice Test Bundle
  • 90-Day Free Updates
  • 100% Money-Back Guarantee
  • Instant Download
  • 24/7 Customer Support
99% Pass Rate Trusted by 50,000+ IT professionals