All Practice Exams

100+ Free Salesforce B2C Commerce Developer Practice Questions

Pass your Salesforce Certified B2C Commerce Developer exam on the first try — instant access, no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
Salesforce does not publish a public pass rate Pass Rate
100+ Questions
100% Free
1 / 100
Question 1
Score: 0/0

In Salesforce B2C Commerce, what is a cartridge?

A
B
C
D
to track
2026 Statistics

Key Facts: Salesforce B2C Commerce Developer Exam

60

Scored Questions

Salesforce B2C Commerce Developer exam guide

105 min

Time Limit

Salesforce exam guide

63%

Passing Score

Salesforce exam guide

$200

Exam Fee

Salesforce / Webassessor (retake $100)

57%

Largest Domain

Application Development weight

6 mo

Recommended Experience

Salesforce exam guide

The Salesforce Certified B2C Commerce Developer exam has 60 multiple-choice/multiple-select questions delivered in 105 minutes through Kryterion Webassessor. The passing score is 63%, registration costs $200 USD with a $100 retake fee, and Salesforce recommends 6+ months of hands-on B2C Commerce experience plus working JavaScript and SFRA knowledge. Four domains are tested: SFRA Configuration and Setup (14%), Data Modeling and Management (13%), Application Development (57%), and Integration (16%). Application Development dominates the blueprint with controllers, models, ISML templates, hooks, and the Job Framework as the most heavily tested areas.

Sample Salesforce B2C Commerce Developer Practice Questions

Try these sample questions to test your Salesforce B2C Commerce Developer exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1In Salesforce B2C Commerce, what is a cartridge?
A.A backup snapshot of catalog data exported from Business Manager
B.A self-contained unit of code, templates, and resources that extends or overrides storefront behavior
C.A subset of customer records used by the Job Framework
D.A database index used to accelerate Search Hits queries
Explanation: A cartridge is the basic unit of deployment in B2C Commerce. It bundles JavaScript controllers, models, ISML templates, hooks, scripts, static resources, and metadata so it can be added to or overridden in a site's cartridge path.
2Which Business Manager configuration determines the order in which cartridges are searched when resolving a controller, template, or hook?
A.Site URL Settings
B.Cartridge Path
C.Code Version
D.Replication Process
Explanation: The cartridge path on a site (Administration > Sites > Manage Sites > [Site] > Settings) defines a colon-separated list of cartridges. B2C Commerce searches these cartridges left-to-right and uses the first match it finds for controllers, templates, scripts, and hooks.
3A developer needs to push code changes to a sandbox without overwriting the active code version used by storefront traffic. What should they do?
A.Upload directly into the active code version because B2C Commerce auto-archives previous code
B.Activate a new code version, then upload code into a separate, inactive code version
C.Disable the storefront, replicate code from staging, then re-enable the site
D.Use the Storefront Toolkit to hot-swap individual files in production
Explanation: Best practice is to keep the active code version stable. Create or upload to an inactive code version, then activate it once the new code is verified. This avoids partial-deploy errors on the storefront and lets you roll back by reactivating the previous version.
4Which folder inside an SFRA cartridge typically contains JavaScript route controllers?
A.cartridge/static
B.cartridge/templates
C.cartridge/controllers
D.cartridge/forms
Explanation: SFRA controllers live under cartridge/controllers and export server.get/post/append/replace routes. Other folders host static assets, ISML templates, and form definitions respectively.
5A developer wants to override the Cart-Show controller from the storefront_base reference cartridge in their custom cartridge while still running the original logic. Which SFRA server method is most appropriate?
A.server.get
B.server.post
C.server.append
D.server.replace
Explanation: server.append registers a middleware that runs after the original route, letting you augment view data or response without losing the base behavior. server.replace would discard the original logic completely.
6Which SFRA file is responsible for shaping product data into a JSON-friendly object that ISML templates and JSON responses can consume?
A.A controller
B.A model
C.A hook
D.A pipelet
Explanation: In SFRA, models (cartridge/models/*) wrap dw.* objects and expose a clean, render-ready data structure. Controllers call models and pass the output to ISML templates or JSON responses.
7A developer wants to add a custom property to an existing SFRA model without rewriting the whole model. What is the recommended SFRA pattern?
A.Modify the storefront_base cartridge directly
B.Use a decorator function applied to the existing model
C.Replace the controller with server.replace
D.Add the property in an ISML template
Explanation: SFRA models are built using decorators — small functions that add or transform a single property on the model object. To extend a model cleanly, register an additional decorator in your custom cartridge instead of modifying the base cartridge.
8Which file extension is used for B2C Commerce templates that render server-side HTML?
A..jsp
B..isml
C..tpl
D..vm
Explanation: ISML (Internet Store Markup Language) is the B2C Commerce template language. Templates use the .isml extension and live under cartridge/templates with locale subfolders such as default/.
9In an ISML template, which output expression escapes HTML-sensitive characters by default to help prevent reflective XSS?
A.${'<%= product.name %>'}
B.${product.name}
C.<isprint value="${product.name}" encoding="htmlcontent"/>
D.<isoutput value="${product.name}"/>
Explanation: <isprint value="..." encoding="htmlcontent"/> applies explicit HTML encoding to the output, which is the recommended way to render dynamic strings in ISML safely. The default ${expr} interpolation does not always html-escape and is a common XSS vector.
10A developer needs to render a partial template (e.g., productTile.isml) inside another ISML template. Which ISML tag should they use?
A.<isinclude>
B.<isscript>
C.<ismodule>
D.<isloop>
Explanation: <isinclude template="..."/> renders the named template inline. It can also include via URL for cached remote includes. <isscript> runs server-side JS, <ismodule> declares custom tags, and <isloop> iterates collections.

About the Salesforce B2C Commerce Developer Exam

The Salesforce Certified B2C Commerce Developer exam validates the skills needed to develop and customize storefronts on the Salesforce B2C Commerce platform (formerly Demandware). The exam emphasizes Storefront Reference Architecture (SFRA), JavaScript controllers, models and decorators, ISML templates, custom and system objects, OCAPI and SCAPI integrations, the Job Framework, hooks, search, security, and deployment via Business Manager and cartridges.

Assessment

60 multiple-choice/multiple-select questions; up to 5 unscored items may appear

Time Limit

105 minutes

Passing Score

63%

Exam Fee

$200 USD (retake $100) (Salesforce / Kryterion Webassessor)

Salesforce B2C Commerce Developer Exam Content Outline

14%

SFRA Configuration and Setup

Site setup, cartridge path configuration, code versions, replication, sandboxes, Storefront Toolkit, debugging, and the developer workflow inside Business Manager.

13%

Data Modeling and Management

Catalogs, products, categories, price books, inventory lists, promotions, campaigns, customer groups, content assets, slot configurations, and system vs custom object definitions.

57%

Application Development

SFRA route controllers, models, decorators, ISML templates, middleware chains, scripts, hooks, the Job Framework, search refinements, security (CSRF, XSS, sensitive data), and unit testing.

16%

Integration

OCAPI Shop/Data/Meta APIs, SCAPI, OCAPI hooks, web service framework, payment service providers, real-time and asynchronous integrations, and replication of code and data across instances.

How to Pass the Salesforce B2C Commerce Developer Exam

What You Need to Know

  • Passing score: 63%
  • Assessment: 60 multiple-choice/multiple-select questions; up to 5 unscored items may appear
  • Time limit: 105 minutes
  • Exam fee: $200 USD (retake $100)

Keys to Passing

  • Complete 500+ practice questions
  • Score 80%+ consistently before scheduling
  • Focus on highest-weighted sections
  • Use our AI tutor for tough concepts

Salesforce B2C Commerce Developer Study Tips from Top Performers

1Spend more than half of your prep time on Application Development because it is 57% of the exam — drill SFRA controllers, models, decorators, middleware, ISML, hooks, and the Job Framework.
2Build a small custom SFRA cartridge end to end: create a controller, add middleware, extend a model with a decorator, render an ISML template, and register a hook so the workflow becomes procedural.
3Memorize the cartridge path resolution order in Business Manager and how it determines which controller, model, template, or hook is loaded for a given site.
4Practice writing OCAPI Shop, Data, and Meta API calls and know which OCAPI hook fires for each — afterPOST, beforePOST, modifyResponse, and so on.
5Know the Job Framework primitives (Job, JobStep, ChunkOrientedStep, TaskletStep) and when to use chunk-oriented vs custom tasklet steps for performance and restartability.
6Master SFRA security patterns: CSRF token validation, escaping ISML output to prevent reflective XSS, server.middleware.https, and protecting sensitive customer data.
7Understand the data model deeply: catalogs vs categories vs products, master vs site catalogs, price books, promotions, customer groups, content assets, slots, and system vs custom object definitions.

Frequently Asked Questions

How many questions are on the B2C Commerce Developer exam?

The exam has 60 scored multiple-choice or multiple-select questions delivered in 105 minutes. Salesforce may include up to 5 additional unscored items that do not affect your score.

What is the passing score for the B2C Commerce Developer exam?

The passing score is 63%. The exam is delivered online or onsite through Kryterion Webassessor and is graded automatically once you submit.

How much does the Salesforce B2C Commerce Developer exam cost?

Registration is $200 USD plus applicable taxes. The retake fee is $100 USD. Each retake requires a fresh registration through Webassessor with a mandatory waiting period.

What experience does Salesforce recommend before taking this exam?

Salesforce recommends at least 6 months of hands-on B2C Commerce development experience, comfort with JavaScript ES5/ES6, and working knowledge of SFRA, ISML, controllers, models, hooks, and Business Manager.

Which domain is weighted highest on the exam?

Application Development dominates the blueprint at 57%. Spend the majority of your study time on SFRA controllers, models, decorators, ISML templates, middleware, hooks, the Job Framework, security, and search.

What is the difference between OCAPI and SCAPI?

OCAPI (Open Commerce API) is the older REST API set with Shop, Data, and Meta APIs and OCAPI hooks. SCAPI (Salesforce Commerce API) is the newer headless API platform with consistent OAuth, hooks, and a more modern resource design intended for headless and composable storefronts.

Are pipelines or SiteGenesis still on the exam?

The current exam guide focuses on SFRA. Legacy SiteGenesis pipelines and JavaScript controllers may appear in awareness-level questions, but you should expect SFRA-style controllers, models, and decorators to dominate the developer questions.