Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Salesforce B2B-Commerce-Developer - Salesforce Accredited B2B Commerce Developer (SP25)

Page: 6 / 7
Total 220 questions

A developer is building a custom component in Lightning web components (LWC) that has a grandchild component that needs to pass information to the grandparent component. What is the correct way to demonstrate the passingof a message from the grandchild component to the grandparent component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Which method is used to override when extending the Salesforce B2B Commerce logic providers?

A.

doLogic

B.

process

C.

doAction

D.

fetch

What are two advantages of using Lightning Data Service?

A.

Communicates with other components

B.

Converts between different data formats

C.

Combines and de-duplicates server calls

D.

Loads record data progressively

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.

Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?

A.

view:*:load

B.

view:*:refresh

C.

view:*:onload

D.

view:*:rendered

How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling

A.

An exception is generated for unknown API keys

B.

Parameters are passed through the service handlers

C.

Parameters are filtered out before the request is processed

D.

Parameters are separated, but unused

Where is the API-based record creation generally handled in Salesforce B2B

Commerce?

A.

In the methods available in extension hooks

B.

The service-layer responsible for the entity

C.

Data creation is not allowed

D.

Logic classes that implement the businesslogic for create operations

Universal Containers (UC) is ready to build a tax provider class using the interfaces available in the Buyer Experience SDK. When creating a tax provider, what are three things that a developer should consider first?

A.

Steps to complete in the Tax Service

B.

How to handle results

C.

WhethertouseJSONorXML

D.

What to implement

E.

What events to fire in the Lightning web component

Which wire adapter should a developer use to retrieve metadata about a specific picklist?

A.

getPicklistMetadata

B.

getPicklist

C.

getPicklistValues

D.

getPicklistMetadataValues

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 performwhento export data from Salesforce or import data into Salesforce?

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 -fProduct2.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 sfdxforce:data:tree:import -f Product2.json -u w"