Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer(SP23) Questions and Answers

Questions 4

A developer is implementing an Inventory class for checkout. All the error states have been handled and now the developer needs to take the next step to indicate that inventory is available for all of the items and amounts in the cart. What should the next step be?

Options:

A.

Return TRUE

B.

Return sfde_checkout.InventoryStatus. SUCCESS

C.

Return sfdc_checkout.IntegrationStatus. Status. SUCCESS

D.

Return sfdc_checkout.InventoryStatus.Status. SUCCESS

Buy Now
Questions 5

A user wants to leverage a three columnlayout on a page. The user also wants to move the mini-cart widget from the right to the center column. How can this requirement be fulfilled?

Options:

A.

Gross Layout Override

B.

Subscriber Template

C.

Page Include

D.

HandleBar Template Override

Buy Now
Questions 6

Which element can be used to pass HTML from a parent component to a child component? 03m 19s

Options:

A.

B.

C.

D.

Buy Now
Questions 7

Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?

Options:

A.

Subscribe()

B.

stopListener()

C.

startListener()

D.

unsubscribe()

Buy Now
Questions 8

Which three components should a developer use on the product page to replace the out-of-the-box Product Detail Card component?

Options:

A.

Product Detail Breadcrumbs component

B.

Product Fields Short component

C.

Product Field Long component

D.

Product Detail Purchase Options component

E.

Product Detail Image Gallery component

Buy Now
Questions 9

When a user buys 10 units of product B, the user wants 1 unit of Product A to be

automatically added to the cart. How can this requirement be fulfilled?

Options:

A.

Override the AllowCheckout method in ccrz.cc_api_CartExtension

B.

Override the prepareForSave method in ccrz.cc_api_CartExtension

C.

Override the preprocess method in ccrz.cc_api_CartExtension

D.

Override the prepareToAdd method in ccrz.cc_api_CartExtension

Buy Now
Questions 10

A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?

Options:

A.

A new CORS entry may need to be created in Setup

A new Named Credential may need to be created in Setup

B.

An Apex method returning a Continuation will need to be created

C.

Requests to the service should be brokered to prevent limit exceptions

D.

A new Remote Site may need to be created in Setup

Buy Now
Questions 11

Which technique is used by Lightning Web Components to provide areas of swappable, customizable content?

Options:

A.

elements

B.

JQuery templates

C.

MutationObservers

D.

CSS classes

Buy Now
Questions 12

Which two different types of services do Salesforce B2B

Options:

A.

Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.

B.

Global services which are responsible for querying and transforming data from entities

C.

Data services which are responsible for querying and transforming data from entities

D.

Hook services which are extension points for subscribers to tie into.

Buy Now
Questions 13

Based on error emails flowing in, a developer suspects that recent edits made to a checkout flow have created a defect. The developer has data points available to use as inputs in reproducing the scenario.

What should the developer do next?

Options:

A.

Open the flow, select Debug, provide the session ID for replay, and select Run.

B.

Open the flow, select Attach to Live Session, provide the session ID, and select Attach.

C.

Open the flow, select Debug, provide the Input values, and select Run.

D.

Open the flow, select Debug with Inputs, provide the Input values, and select Run.

Buy Now
Questions 14

Which two are considered discrete units of work (code units) within a transaction in the debug logs?

Options:

A.

Validation rule

B.

Lightning component load

C.

Web service invocation

D.

Apex class

Buy Now
Questions 15

Which three statements are true regarding event handling in the Salesforce B2B Commerce managed package? (3 answers)

Options:

A.

Salesforce B2B Commerce relies on a series of Javascript click listener events.

B.

Writing directly to your own custom Backbone JS Views and Models automatically integrates that data into the Salesforce B2B Commerce Backbone Views and Models.

C.

Salesforce B2B Commerce relies on a central event channel for communication across various Salesforce B2B Commerce Backbone Views and Models called CCRZ.pubSub.

D.

CCRZ.pubSub defines the following three functions which can be used for event handling: trigger, on, and once.

E.

CCRZ.pubSub extends the Backbone.Events JavaScript object.

Buy Now
Questions 16

What are two maintainable ways that Lightning Web Components can be made mobile ready? 33m 215

Options:

A.

Create a Lightning app page and add the component to the mobile navigation

B.

Import a third party JavaScript library

C.

Install the mobile extensions plug-in for VS Code

D.

Decorate templates with mobile-ready

Buy Now
Questions 17

Which event should be triggered when user facing info, warning or error messages

need to be displayed on a Visualforce page?

Options:

A.

showMessage

B.

displayPageMessage

C.

displayMessage

D.

pageMessage

Buy Now
Questions 18

A developer is debugging a flow and needs to watch all the variables changing as the checkout process is executed, but nothing is displaying. Which two features did the developer forget to enable?

Options:

A.

Set up a debug tog to show the details of what is executed

B.

Show the details of what is executed and render flow in Lightning Runtime

C.

Run the latest version of each flow called by subtle w elements

D.

Show the details of what is executed and render flow in Lightning Experience.

Buy Now
Questions 19

Which three are considered code units, or discrete units of work within a transaction in the debug logs?

Options:

A.

Validation rule

B.

Apex class

C.

Web service invocation

D.

Lightning component load

E.

Workflow invocations

Buy Now
Questions 20

Which three actions must a developer take, in a B2B Commerce store, to accept credit card payments using a client's chosen payment provider?

Options:

A.

Create a named credential for authentication with the payment provider.

B.

Create a RegisteredExternalService record for the custom payment provider class.

C.

Create an Apex class that implements the sfdc_checkout.PaymentGatewayAdapter

D.

Create a PaymentProviderGateway record for the custom payment provider class.

E.

Create an Apex class that implements the commercepayments.PaymentGatewayAdapter.

Buy Now
Questions 21

A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API.

Which lifecycle hook should the developer use to make the API call?

Options:

A.

connectedCallback

B.

renderedCallback

C.

errorCallback

D.

disconnectedCallback

Buy Now
Questions 22

A developer suspects that a defect exists in 30 lines of Apex code. How can the developer add debug statements, run the block of apex code in isolation and observe the immediate results?

Options:

A.

Click the Check Out button in the storefront

B.

Use the Execute Anonymous window

C.

Activate Chrome dev tools and click the Check Out button in the Storefront

D.

Use the Execute Immediate window

Buy Now
Questions 23

A developer is attempting to write a Lightning Web component from scratch by first creating the HTML markup and receives an error. Which three tags when used as the first element in the file would produce an error?

Options:

A.