OpenExamsFREE PRACTICE — ANY EXAM

Free Salesforce Accredited B2B Commerce Developer Professional Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the Salesforce Accredited B2B Commerce Developer Professional practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1An Aura storefront needs buyers to resume an interrupted checkout and retain several carts in different checkout states. Which provided flow addresses these requirements?

    1. A.Re-entrant Checkout flowCorrect answer: A
    2. B.Pricing and Promotions flow
    3. C.Legacy checkout flow template
    4. D.Shipping Address subflow

    Explanation: Salesforce states: "Multiple carts per shopper in various checkout states" Re-entrant Checkout explicitly supports multiple carts and returning to an interrupted cart. Promotions calculates discounts; the legacy template and address subflow do not supply that combined resume capability.

    Reference: Developer Considerations for B2B Stores Created with an Aura Template — B2B Checkout Flows, p. 3

  2. 2In a legacy Aura checkout integration, which result must the inventory validation implementation establish for cart line items?

    1. A.Requested quantities are availableCorrect answer: A
    2. B.Transactional prices are assigned
    3. C.Tax line amounts are calculated
    4. D.Carrier service costs are assigned

    Explanation: Salesforce states: "Inventory checks guarantee that cart item quantities are available" Inventory validation tests quantity availability. The other results belong to pricing, tax and shipping integrations.

    Reference: Developer Considerations for B2B Stores Created with an Aura Template — Inventory Validation, p. 45

  3. 3A developer adds a reusable storefront API module that renders no UI. Which file can that module omit?

    1. A.An HTML template fileCorrect answer: A
    2. B.Its JavaScript source file
    3. C.Its metadata configuration file
    4. D.Its component folder

    Explanation: Salesforce states: "An HTML file is not required for an API module component." The HTML requirement is waived for a nonvisual API module. Source, configuration and folder structure still define the module.

    Reference: Define a Component — Define a Component

  4. 4A new storefront LWC must transform every Apex wire response before rendering it. Which wiring form should the developer choose?

    1. A.Wire the Apex method to a functionCorrect answer: A
    2. B.Wire the Apex method only to a property
    3. C.Wire the method to a property and inspect that property only in connectedCallback
    4. D.Call the method once in the constructor and transform only that response

    Explanation: Salesforce states: "To operate on the returned data, @wire a function." A wired function can transform each provisioned result. A bare property provides no transformation body; inspecting it only at connection misses later responses, and a single constructor call is not a transformation of every wire response.

    Reference: Wire Apex Methods to Lightning Web Components — Wire Apex Methods to Lightning Web Components

  5. 5Which B2B Commerce object should an integration query for store-level supported currencies, languages and price books?

    1. A.WebStoreCorrect answer: A
    2. B.WebCart
    3. C.BuyerAccount
    4. D.ProductCatalog

    Explanation: Salesforce states: "Includes the fields and properties that define your store." WebStore represents the store configuration. Cart totals, buyer financial data and catalogs are distinct entities.

    Reference: B2B Commerce Data Model — B2B Commerce Data Model

  6. 6A legacy Aura checkout Apex integration throws an unhandled runtime exception. What framework behavior should a developer expect?

    1. A.Roll back the integration and fire a platform error eventCorrect answer: A
    2. B.Commit its partial writes and report successful completion
    3. C.Repeat the integration without recording an error state
    4. D.Activate the order and suppress the checkout exception

    Explanation: Salesforce states: "the integration execution is rolled back and the system fires a platform error event." Rollback preserves integrity and emits diagnostics; partial success, silent retry and order activation do not describe this failure handling.

    Reference: Developer Considerations for B2B Stores Created with an Aura Template — Return Type: Exception, p. 47

  7. 7A developer must customize an installed Aura checkout while preserving the installed flow as a starting point. What should the developer do before making store-specific changes?

    1. A.Edit the installed flow directly without first saving a copy
    2. B.Save only a new version of the installed flow's subflow
    3. C.Clone the storefront page without copying its checkout flow
    4. D.Save a copy of the installed and deployed checkout flowCorrect answer: D

    Explanation: Salesforce states: "Then save a copy of the installed and deployed checkout flow to create a customizable flow for your store." Saving a copy creates the customizable main flow. Editing the installed original does not preserve it, copying only a subflow does not copy the main checkout, and copying the page does not copy its flow definition.

    Reference: Developer Considerations for B2B Stores Created with an Aura Template — B2B Checkout Flow Tasks, p. 4

  8. 8A legacy Aura pricing integration returns successfully, but one cart item still lacks a transactional price. Which contract has the implementation failed to satisfy?

    1. A.Assign a carrier service to each cart delivery group
    2. B.Create a tax line item for each applicable cart item
    3. C.Create a payment token for each payment instrument
    4. D.Assign a transactional price to each cart line itemCorrect answer: D

    Explanation: Salesforce states: "The price calculation integration guarantees that all cart items have a transactional price assigned to each line item in the cart." Success must correspond to item-level prices being populated. Carrier, tax and payment results do not satisfy the price-calculation contract.

    Reference: Developer Considerations for B2B Stores Created with an Aura Template — Price Calculations, p. 45

  9. 9A storefront component's files fail to autowire after a folder rename. Which naming relationship should the developer restore?

    1. A.The folder name must match the parent component name
    2. B.The folder name must match the JavaScript package namespace
    3. C.The folder name must match the deployment target name
    4. D.The folder name must match the component nameCorrect answer: D

    Explanation: Salesforce states: "place them in a component folder with the same name as the component’s name." Framework autowiring uses this component's own name. Parent composition, package namespace and deployment target do not replace that folder naming rule.

    Reference: Define a Component — Define a Component

  10. 10A new LWC wires searchProducts({searchKey: '$searchKey'}). searchKey is initially undefined. What happens to the Apex invocation?

    1. A.It runs with an empty-string search parameter
    2. B.It runs with a null search parameter instead
    3. C.It runs once for every component rendering
    4. D.It is withheld until the parameter is definedCorrect answer: D

    Explanation: Salesforce states: "If a parameter value is undefined, the method isn’t called." Undefined suppresses the call; it is not coerced to empty string or null and does not mandate per-render invocations.

    Reference: Wire Apex Methods to Lightning Web Components — Wire Apex Methods to Lightning Web Components

Exam Review

About Salesforce Accredited B2B Commerce Developer Professional

Salesforce Accredited B2B Commerce Developer Professional · UNSPECIFIED

Key exam facts

Provider
Salesforce owns and develops this Accredited Professional examination.
Format
Multiple-choice and multiple-select; proctored at a testing center or online; closed book.
Exam questions
Total questions: 60–65; Scored questions: 60; Unscored questions: 0–5; The total includes the scored and unscored questions.
Time limit
75 minutes of exam time.
Passing score
68%.
Exam fee
Registration and retake: US$150 or JPY 20,000, plus applicable local taxes.

Topics covered

  • Checkout Flow Development (10%)

    • Customize existing checkout flows in order to address the most common customer needs and provide an optimal Storefront experience.
  • Reference Implementations (15%)

    • Code implementations against the 4 crucial reference implementations used in checkout and payment interfaces with in-depth knowledge of all supported actions.
  • Basic Lightning Web Component Development (20%)

    • Improve the Storefront experience with enhancements to Lightning Web Components.
  • Advanced Lightning Web Component Development (30%)

    • Improve the Storefront experience by creating new Lightning Web Components.
  • Data Management (15%)

    • Manage data intelligently with regard to relationships and integrations as needed to support getting a B2B Storefront established and running.
  • Error Handling and Diagnostics (10%)

    • Troubleshoot the B2B Commerce system using available tools.

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Multiple-choice and multiple-select; proctored at a testing center or online; closed book.

How many questions are on the exam?

Total questions: 60–65; Scored questions: 60; Unscored questions: 0–5; The total includes the scored and unscored questions.

How long is the exam?

75 minutes of exam time.

What is the passing score?

68%.

How much does the exam cost?

Registration and retake: US$150 or JPY 20,000, plus applicable local taxes.

Official sources and references

Confirm current exam arrangements with the exam provider.