Winter Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

All B2B-Commerce-Developer Test Inside Salesforce Questions

Salesforce Accredited B2B Commerce Developer (SU24) Questions and Answers

Question 29

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

Question 30

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

Question 31

What is likely to happen if a developer leaves debug mode turned on in an environment?

Options:

A.

The performance of the org will become slower each day

B.

The user will begin getting JavaScript limit exceptions

C.

The org will turn off debug mode after 72 hours

D.

A banner will be displayed to the user indicating that the org is in debug mode

Question 32

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