Practice questions for the Salesforce Accredited B2B Commerce Developer Professional (AP-202) exam, organised by the official exam guide sections and weights, with explanations and links to the documentation. See your readiness per section. Free to start.
Practice for the Salesforce Accredited B2B Commerce Developer Professional exam, weighted by the official exam guide.
Salesforce partner developers who customize B2B Commerce (Lightning) stores: checkout flows, the checkout and payment reference implementations, Lightning Web Components for the storefront, data and integrations, and troubleshooting. Expect code-level questions. Accredited Professional exams are aimed at Salesforce Partners.
The real exam: 60 questions, 75 minutes. Passing score: 68%.
A distributor wants buyers to keep several carts in different checkout states and to return to a cart they closed mid-checkout without losing data. Which checkout flow fits?
Answer: A. Re-entrant Checkout flow
The Re-entrant Checkout flow supports multiple carts per shopper in different checkout states and lets a shopper return to a cart closed during checkout with no data loss. The Main Checkout flow is mostly synchronous with tightly coupled integrations. The Pricing and Promotions flow handles promotions and is installed with the Main flow. The legacy template is older and lacks these features.
A developer registers a custom tax Apex class for an Aura B2B store. In the RegisteredExternalService record, what goes in ExternalServiceProviderId?
Answer: A. The Apex class Id
The integration setup guide says to insert the Apex class into RegisteredExternalService using the class Id as ExternalServiceProviderId and the provider type from the sample code. The store link is made later in StoreIntegratedService. Named credentials hold callout endpoints, and the payment gateway is set up separately.
A product tile component must let its parent pass in a productId. Which decorator exposes productId as a public property?
Answer: A. @api
@api on a field exposes a public property, which forms the component's API that a parent can set. @track observes deep changes, @wire provisions data, and @public is not an LWC decorator.
Start practising Accredited B2B Commerce Developer Professional
60 questions in 75 minutes. Passing score: 68%.
Salesforce partner developers who customize B2B Commerce (Lightning) stores: checkout flows, the checkout and payment reference implementations, Lightning Web Components for the storefront, data and integrations, and troubleshooting. Expect code-level questions. Accredited Professional exams are aimed at Salesforce Partners.
The exam guide has 6 sections: Checkout Flow Development (10%), Reference Implementations (15%), Basic Lightning Web Component Development (20%), Advanced Lightning Web Component Development (30%), Data Management (15%), Error Handling and Diagnostics (10%).
Answer practice questions organised by the official exam guide sections and weights. Every question has an explanation and a link to the documentation, and CramForce shows your readiness per section. You can try a few questions without an account, and keep practising free once you sign up.