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

B2B-Commerce-Developer Salesforce Exam Lab Questions

Salesforce Accredited B2B Commerce Developer (SU24) Questions and Answers

Question 45

Salesforce B2B Commerce natively provides a robots.txt file, however, a customer

can also create its own version.Which three scenarios are valid reasons for customer to

create their own robots.txt file? (3 answers)

Options:

A.

The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file

B.

The customer wants to reference a custom sitemap index.

C.

The customer wants to have multiple robot.txt files in a single Salesforce Community.

D.

The customer's store is not located at the rootof their domain.

E.

robot.txt only works if there is one storefront in the org

Question 46

What should a developer's implementation code return if the External Prices are the same as Sales Prices for Products in the Cart?

Options:

A.

sfde_checkout.IntegrationStatus. Status. SUCCESS

B.

sfdc_checkout.IntegrationStatus. FAILED. Status

C.

sfdc_checkout.IntegrationStatus.Status.FAILED

D.

sfdc_checkout.IntegrationStatus.Success. STATUS

Question 47

Northern Trail Outfitters (NTO) has acquired a company and is looking to manage product data across the org seamlessly. The company has a governance policy to not install any tool or use third-party API applications to export or import the data into Salesforce. However, users have access to Salesforce CLI.

Which set of tasks must a developer perform whento export data from Salesforce or import data into Salesforce?

Options:

A.

sfdx force:data:bulk:export -Product2 -all 0 and

sfdx force:data:bulk:lmport -f Product2.json -all

B.

sfdx force:data;tree:export -Product2 -all q and

sfdx force:data:tree:lmport -f Product2.json -all

C.

sfdx force:tree:data:export -q "SELECT Id, Name FROM Product2" -u ® and

sfdx force:tree:data:import -f Product2Json -all

D.

sfdx force:data:tree:export -q "SELECT Id, Name FROM Product2" -u "" and sfdx force:data:tree:import -f Product2.json -u w"

Question 48

A user wants to have a customized experience for adding items to the cart. The user

also wants the mini cart module to reflect changes to the state of the cart afterwords. How

should this requirement be fulfilled?

Options:

A.

Leverage the Addto Cart Global API which add items to the cart and also refreshes the page with the new data.

B.

Trigger the global „cartChange" event and then trigger „changeMiniCart" event after the Add to Cart Action on the custom button.

C.

Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header.

D.

Trigger the global „cartChange" event after the Add to Cart Action on the custom button.