01. A company sells some products that are delivered electronically. A developer must change a copy of the checkout flow so that carts flagged as digital-only skip the shipping address screen, while all other carts still show it.
Which Flow Builder element should the developer add before that screen?
a) A Decision element with an outcome for digital-only carts
b) A Loop element that checks each cart item for the digital flag
c) A Subflow element that sends digital-only carts to the error subflow
d) An Assignment element that sets the shipping screen to hidden
02. A product-detail component has a default slot and a slot named price. An owner places it in a template with two child elements: a span carrying slot="price" and a paragraph carrying no slot attribute.
Which statements describe how the content renders?
(Choose 2 answers.)
a) A component may declare a single <slot> only, so the named slot is ignored
b) The paragraph renders in the unnamed default slot
c) The span renders where the template declares <slot name="price">
d) Content whose slot value matches no named slot falls back into the default slot
03. While diagnosing a storefront issue, an admin enabled Debug Mode for every buyer user in the production org. The issue is now fixed, but buyers report that store pages load noticeably slower than before.
What should the developer recommend?
a) Keep Debug Mode on and publish the site again so its pages are rebuilt
b) Enable Lightning Web Security so the unminified code is sandboxed
c) Set a trace flag on each buyer to find the Apex method slowing the pages
d) Turn Debug Mode off for buyers and enable it only for debugging users
04. A Jest test for a mini-cart component creates the element, appends it to document.body, then sets its public itemCount property to 3. The next line asserts that the badge reads 3, and the assertion fails because the badge still shows the old value.
What should the test do before asserting?
a) Call the component's renderedCallback() directly so the template is refreshed first
b) Add @track to itemCount
c) Await a resolved promise so the component can re-render
d) Deploy the component to a scratch org so the test renders it in a real browser
05. A checkout flow screen hides its standard footer, and a custom Lightning web component on it shows its own Continue button that must move the buyer forward. The same component is also placed on the flow's final screen.
Which statements about implementing the button are accurate?
(Choose 2 answers.)
a) Call NavigationMixin.Navigate with the next screen's API name to change screens
b) Read the availableActions property to decide whether to fire NEXT or FINISH
c) Dispatch a FlowAttributeChangeEvent with the next screen's name as the new value
d) Dispatch FlowNavigationNextEvent, or FlowNavigationFinishEvent on the final screen
06. A store uses a single currency. A developer loads a new custom price book, activates it and adds entries for the store's products. The buyer group's entitlement policy allows viewing prices, yet buyers of one account see the products on the storefront with no prices.
Which missing data link most likely explains this?
a) The account is not linked to the new price book through a lookup field on Account
b) The products have no category assignment in the store's catalog
c) The new price book is not assigned to a buyer group that the account belongs to
d) The products lack an entry in a separate price book for each supported currency
07. A developer has finished customizing a copy of the checkout flow in a sandbox. The flow must now be moved to production, where the store's checkout component will be pointed at it.
How should the developer move the flow?
a) Export it with Data Loader and load the records into production
b) Refresh the sandbox, which copies its metadata into production
c) Save it as a new version, which syncs that version to production
d) Deploy it as metadata through a change set
08. The inventory integration's test class covers only the success path. The integration throws an exception when the inventory service responds with an error status, because the buyer cannot fix a service failure. The developer must add a test for that branch.
What should the new test do?
(Choose 2 answers.)
a) Register a mock whose response carries an error status code
b) Catch the exception in the test and assert that it was thrown
c) Assert that a CartValidationOutput record was written for the test cart
d) Point the mock at an unreachable endpoint so that the callout times out
09. A pricing integration sends the cart's SKUs to the ERP and passes the response body straight to JSON.deserialize. Its error handling sits in a catch (CalloutException e) block. During an ERP outage the service answers with an error status and an HTML maintenance page, and checkout fails with a JSON parsing exception that the integration never handles.
What should the developer change?
a) Set a longer timeout on the HttpRequest and wait for the ERP to return a valid body
b) Parse the body with JSON.deserializeUntyped instead
c) Register the ERP endpoint in Remote Site Settings before making the callout
d) Check getStatusCode() before parsing, and handle a failure
10. A test class for the delivery integration is annotated to see all org data and passes the ID of an existing WebCart it queries to startCartProcessAsync. It passes in the developer's sandbox, but it fails when the class is deployed to production, where that query finds no suitable cart.
How should the developer make the test reliable?
a) Create the account, cart and cart items inside the test method instead of reading org data
b) Deploy without running the tests so that the coverage already measured in the sandbox is used instead
c) Deploy a sample account, cart and cart items with the class so that the query finds them
d) Query the cart with a FOR UPDATE clause so that the record is locked for the test