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

Passed Exam Today B2B-Commerce-Developer

Salesforce Accredited B2B Commerce Developer(SP23) Questions and Answers

Question 37

A developer needs to create an event listener on a parent component programmaticallv. With the script below, what should replace the text ?

Options:

A.

this.template.addEventListener(handleNotification);

B.

this.template.addEventListener(this.handleNotification);

C.

this.template.addEventListenerCnotification1, this.handleNotification);

D.

addEventListener('notifJcatiorV, this.handleNotification);

Question 38

What happens to all previous tax entries during tax implementation?

Options:

A.

Modified with the new Tax calculation

B.

They are deleted from the Cart

C.

Saved prior to recalculation

D.

Ignored with the recalculation

Question 39

Although Salesforce B2B Commerce and Salesforce recommend against using

"without sharing classes" whenever possible, sometimes it is unavoidable. Which three

items will open up a major security hole? (3 answers)

Options:

A.

Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getParameters().

B.

Executing dynamic SOQL inside a without sharing class with a bind variable from theUserInfo class.

C.

Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference.getCookies().

D.

Executing dynamic SOQL inside a without sharing class with a bind variable fromcc_RemoteActionContentex class.

E.

Executing dynamic SOQL inside a without sharing class with a bind variable fromccAPI.CURRENT_VERSION.

Question 40

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.