Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

Which tool should a developer use to author automated tests for custom Lightning web components?

A.

Visual Studio Code

B.

Salesforce CLI

C.

Jest

D.

Salesforce Developer Console

A developer has created a custom Lightning web component for the Cart page that needs to react to changes to cart items from the standard cart component.

How should the developer implement the custom component so changes to cart items and

quantities are reflected?

A.

Subscribe to events on the lightning_commerce_cartChanged channel using the Lightning

Message Service.

B.

Adda listener for the cartltemUpdate Lightning event.

C.

Listen for events on the lightning_commerce_cartChanged channel with the Lightning Event

“Listener component.

D.

Add an event listener for the cartchanged DOM (Document Object Model) event.

A developer has made some changes to the products of an existing storefront, but they are unable to see the changes in the products from the store.

Which action did the developer forget to take?

A.

Activate the product list.

B.

Publish the storefront.

C.

Rebuild the search index.

D.

Publish the catalog

What interface must a developer implement tooverride Tax in Checkout?

A.

sfdc.checkout.CartTaxCalculations

B.

sfdc.commerce.TaxCalculations

C.

sfdc_commerce.CartTaxCalculations

D.

sfdc_checkout.TaxCalculations

E.

sfdc.commerce.CheckoutTaxCalculations

During checkout flow customizations, a developer receives an error on shipping cost calculation integrations with the error code: INSUFFICIENT_ACCESS_OR_READONLY.

What is causing this error?

A.

The storefront user does not have access to the Cart Delivery Method object.

B.

An error has occurred during the cart shipping charge integration.

C.

The storefront user does not have access to custom fields on the Order Delivery Method object.

D.

The cart is no longer in a valid Checkout State.

Which tool is used to retrieve and manipulate Salesforce data in a Lightning Web Component?

A.

Aura requests

B.

Wire adapters

C.

Proxy adapters

D.

XHR requests

Which orders can a user view on Order List Component (Aura) for B2B stores?

A.

Orders placed in the current storefront and related to the current effective account

B.

Orders placed in any storefront and related to the current effective account

C.

Orders placed in the current storefront and related to the current user's account

D.

Orders placed in any storefront and related to the current user's account

A developer has been working on the flow of an Inventory Class for checkout. The developer has handled all the error statesand now needs to indicate that inventory is available for all items and amounts in the cart.

Which step should happen next?

A.

Return TRUE

B.

Return sfdc_checkout.lntegrationStatus.Status.SUCCESS

C.

Return sfdc.checkout.lnventoryStatus.Status.SUCCESS

D.

Return sfdc.checkout.lnventoryStatus.SUCCESS

In what way can a developer's code subscribe to platform events?

A.

Flows and Apex Triggers

B.

Flows

C.

Apex Triggers

D.

Process Builder, Apex Triggers and Flows

Which category can receive signaling from a Lightning Message Channel?

A.

only descendents (i.e. children)

B.

only direct siblings

C.

page (anywhere on it)

D.

only ancestors (i.e. parents)