Salesforce Comm-Dev-101 Practice Exam Questions & Answers
Salesforce Comm-Dev-101 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- Comm-Dev-101
- Full Name
- Salesforce Certified B2C Commerce Developer
- Issuing Body
- Salesforce
- Question Format (Our Bank)
- Multiple Choice
- Delivery
- Online proctored or at a test centre
- Eligibility
- No specific prerequisites, but hands-on experience with B2C Commerce recommended
- Validity
- 3 years
- Full Question Set
- 170 questions Get All Questions
Free Comm-Dev-101 Practice Questions
Each question shows the correct answer and an explanation of why it is right
Question 1 Domain 3 Data Management Using Business Manager Usage
Given a site called RefArch with the settings shown in the screenshot (ID: RefArch, Name: RefArch, Time Zone: Etc/UTC, Default Currency: US Dollar, Taxation: Net, Customer List: RefArch), what must be done for RefArch to use the same customer list as RefArchGlobal?
B2C Commerce assigns exactly one customer list to each site, but the same customer list can be assigned to multiple sites. Therefore, RefArch does not need a separate copy of the RefArchGlobal customer records. The site configuration must simply be changed so thatRefArchGlobal is selected as RefArch's assigned Customer List.
Salesforce describes a customer list as a collection of registered customers associated with a site and explicitly states that multiple sites can share a customer list. A site itself can use only one customer list at a time.
Option A would create or import data rather than establish the required shared-list relationship. That introduces duplication rather than true shared customer profiles. Option B is also incorrect because this relationship isn't enabled through a generic 'Customer List Sharing' global preference. The appropriate configuration is the customer-list assignment on the site.
Shared customer lists are especially useful for multi-site implementations where customers should maintain one registration/profile across multiple storefronts.
Study Guide reference:B2C Commerce Setup --- multi-site configuration, customer lists, shared customer profiles, and site-level customer-list assignment.
Question 2 Domain 1 B2C Commerce Setup
A developer cannot create a custom object in Business Manager because the attributes do not show. The developer can view the object but not the attributes.
Which action should the developer take to resolve the problem?
Creating attribute definitions on a Custom Object Type is not always sufficient to make those attributes available in the Business Manager editing interface. The attributes must be assigned to anAttribute Group, which controls how they are organized and presented to Business Manager users.
Salesforce's business-object configuration guidance explains that custom object types can be given custom attributes through their attribute definitions and that attributes can be organized into groups for administrative presentation.
Therefore, if the object type itself appears but its fields do not appear when creating or editing an instance, the developer should verify the Attribute Grouping configuration and add the required attributes to a group.
Changing the underlying data type does not address whether the fields are presented to the administrator. Option C mixes two separate custom-object concepts: storage scope determines whether object instances are site-specific or organization-wide, while replication determines whether they move between instances. Neither setting controls whether an attribute appears on the Business Manager edit form.
Study Guide reference:Data Management Using Business Manager Usage --- Custom Object Types, attribute definitions, attribute groups, Business Manager presentation, storage scope, and replication.
Question 3 Domain 1 B2C Commerce Setup
A developer is implementing new Page Designer content on a merchant's Storefront and adds the line below to the setupContentSearch function in the searchHelpers.js file.
apiContentSearchModel.setFilteredByFolder(false);
What does this achieve?
CallingsetFilteredByFolder(false)tells theContentSearchModelthat search results mustnot be restricted by folder membership. This is specifically important for Page Designer because Page Designer pages and components are persisted as content-related objects but can exist outside the conventional folder structure used for ordinary content assets.
Salesforce's Script API states explicitly thatsetFilteredByFolder(false)must be used to return content assets that don't belong to a folder, including Page Designer content. The SFRA Page Designer development documentation uses the same statement insetupContentSearchso that Page Designer content can participate in storefront content search.
Option B reverses the actual behavior: the method isn't extending the model to add folder filtering; it is disabling folder filtering. Option C is likewise opposite to the purpose. The change broadens the searchable content population rather than preventing pages or components from appearing.
Additional Page Designer attributes still need the appropriate searchable metadata where attribute-value searching is required, but removing the folder restriction is the necessary step for discovering otherwise un-foldered Page Designer content.
Study Guide reference:Application Development --- Page Designer,ContentSearchModel, storefront content search, searchHelpers, and searchable Page Designer content.
Get the complete Comm-Dev-101 question set
$20$40
Question 4 Domain 4 Application Development
A developer is inspecting the weekly service status report for a critical internally-hosted web service and notices there are too many instances of unavailability.
Which solution can reduce service unavailability?
If a service is being classified as unavailable because legitimate responses are taking longer than the configured timeout, increasing the service timeout can reduce timeout-generated failures. B2C Commerce service profiles define the number of milliseconds the platform waits for a service response before treating the operation as an error.
Salesforce's Service Framework documentation states that the configured timeout is used for connection and socket operations. If no response arrives within the configured interval, the service operation fails. Thedw.svc.ResultAPI further identifiesTIMEOUTas an explicit reason forSERVICE_UNAVAILABLE.
Option B changes error-propagation behavior;throwOnErrordetermines how a failed result is surfaced to application code, but it does not make the external service more available. Option C can improve exception handling and prevent uncaught application failures, but wrapping the call intry/catchdoes not alter Service Framework availability metrics or prevent timeouts.
The timeout should still be increased cautiously. Excessive timeouts can worsen shopper-facing latency and interact poorly with circuit-breaker behavior.
Study Guide reference:Application Development --- Service Framework, service profiles, connection/socket timeouts, Service Status monitoring, and service availability.
Question 5 Domain 4 Application Development
A new product has been added to the Storefront catalog that is assigned to a site.
Which configuration does a developer need to ensure to have a new product visible in the Storefront?
For a newly added product to participate correctly in storefrontproduct search, the product must be online, marked searchable, and represented in a current product search index. Salesforce's official indexing documentation states that a product appears in search results only when it issearchable, online, and assigned to at least one online category. The scenario already states that the product has been added to the Storefront catalog, so the remaining examination requirements are the online/searchable flags and an updated index.
A product does not have to be a child of a master product; standalone products are completely valid B2C Commerce merchandise. A price is commercially important, but price is not the platform criterion that makes a product eligible for the search index. Product pricing is separately incorporated into search indexes from applicable price books.
Therefore, A is the technically supported choice. After catalog changes, the product index must reflect the new assignment and current searchable/online status.
Study Guide reference:Data Management Using Business Manager Usage --- Product visibility, online/searchable flags, Storefront catalogs, categories, and Product Search indexing.
Question 6 Domain 3 Data Management Using Business Manager Usage
Given the following snippet:
server.append('Show',function(req,res,next) {
According to SFRA, which option can a Developer use to complete the code above and provide data to the response using a controller?
SFRA's response object provides thesetViewData()method specifically for adding data to the view-data object that will be available during rendering. Therefore, option A follows the supported controller pattern: callres.setViewData()with the additional object, render the template, and then invokenext()to continue the middleware chain.
Salesforce's SFRA documentation explains thatsetViewData(data)adds or merges data into the response's view-data object. This behavior is particularly important for an appended route because earlier middleware may already have established view data.setViewData()allows the appended function to add its contribution without replacing the response object's internal handling.
Directly assigningres.viewData, as shown in option B, bypasses the supported response API and is not the documented SFRA mechanism. Option C is also invalid because route appending expects a middleware function; data cannot be supplied by chaining an object through.append()after rendering.
This pattern is central to cartridge extensibility because multiple middleware functions can progressively enrich a response while preserving previously established data and route behavior.
Study Guide reference:Application Development --- SFRA controllers, response objects, middleware chains,setViewData(), and template rendering.
Question 7 Domain 1 B2C Commerce Setup
A developer needs to ensure that a specific product is always available for purchase, regardless of inventory levels. What should the developer do in Business Manager?
The appropriate inventory configuration is thePerpetualflag on the product's inventory record. Salesforce uses this setting to represent merchandise that should be treated as continuously in stock rather than becoming unavailable when its ATS reaches zero.
Salesforce's inventory-development documentation identifies a product with the perpetual flag as a product that isalways in stock. This provides a clear platform-level representation of unlimited or non-depleting availability.
Option B is an unreliable workaround. A very large allocation is still finite, can eventually be depleted, and introduces misleading stock information into inventory reporting and integrations. Option A does not identify the actual standard Business Manager inventory setting represented by the B2C Commerce inventory model.
When standard B2C Commerce inventory management is being used, the perpetual flag directly changes the product's availability behavior. Implementations using Omnichannel Inventory must instead follow the inventory semantics of that system, but for the B2C Commerce inventory configuration tested here, Perpetual is the correct setting.
Study Guide reference:Data Management Using Business Manager Usage --- Inventory Lists, Product Inventory Records, Perpetual inventory, ATS, and product availability.
What the Salesforce Comm-Dev-101 Exam Covers
Exam domains verified against the Official Salesforce Comm-Dev-101 exam guide, last checked November 2026.
Domain 1 B2C Commerce Setup
11%Configure IDE with WebDAV to deploy cartridges and manage sandbox environments. Import data using Business Manager and assign storefront configurations to meet business needs.
Domain 2 Work With a B2C Site
12%Manage product data models, categorization, inventory and pricebooks using Business Manager. Configure payment, shipping and content assets for storefronts.
Domain 3 Data Management Using Business Manager Usage
24%Modify site search preferences and create search refinements. Configure OCAPI permissions and use profiling tools to resolve performance issues.
Comm-Dev-101 Exam FAQ
Common questions about the exam itself
What prior experience do I need for the Comm-Dev-101 exam?
Is the Comm-Dev-101 exam harder than other Salesforce developer certifications?
How long should I study for the Comm-Dev-101 exam?
Which domain of Comm-Dev-101 do candidates find most challenging?
What is the Comm-Dev-101 exam format and how many questions are there?
What score do I need to pass Comm-Dev-101?
How long is the Comm-Dev-101 certification valid?
What happens if I fail the Comm-Dev-101 exam and need to retake it?
Is Comm-Dev-101 a prerequisite for other Salesforce B2C Commerce certifications?
Can I take Comm-Dev-101 if I am a traditional Salesforce Platform Developer?
Other Salesforce Exams
Free practice questions for more Salesforce certification exams
