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

Salesforce B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer (SU24) Exam Practice Test

Page: 1 / 22
Total 220 questions

Salesforce Accredited B2B Commerce Developer (SU24) Questions and Answers

Question 1

Which format is the custom Salesforce relationship with the API name,

"My_Relationship_Name__r.My_Name__c" queried and transformed into dy default in

Salesforce B2B Commerce?

Options:

A.

myrelationshipname.myname: value

B.

myRelationshipName.myName: value

C.

myRelationshipNameR=>(myName: value)

D.

My_Relationship_Name__r.My_Name__c: value

Question 2

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

Options:

A.

getObjectMetadata

B.

getObjectlnfo

C.

getObject

D.

getObjectDescribe

Question 3

Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)

Options:

A.

The Salesforce session is accessible via the getSession method

B.

The class can be used internally within Salesforce B2B Commerce and in subscriber code to access context level parameters

C.

The userLocale variable returns the current Locale for storefront.

D.

The current storefront is accessible via thisclass

Question 4

What does a developer need to do to modify the out-of-the-box checkout flow template?

Options:

A.

Clone, modify, activate and refer in Experience Builder

B.

Modify directly and save to activate

C.

Create each flow from scratch

D.

Clone, modify and rename to Checkout Flow

Question 5

Which two technologies can subscribe to the CommerceDiagnosticEvents event?

Options:

A.

Aura Components

B.

Processes

C.

Streaming API

D.

Lightning web components

Question 6

Which practice is allowed when it comes to naming a Lightning web component's folder and associated files?

Options:

A.

Including whitespace

B.

Using a single underscore

C.

Using consecutive underscores

D.

Using a single hyphen (dash)

Question 7

A developer has made a component with a lightning combobox in the follow! markup. To handle changes on the combobox, what should replace ?

Question # 7

Options:

A.

{event:handleChange}

B.

javascript:void(0);handleChange();

C.

{handleChange()}

D.

{handleChange}

Question 8

Which three files are required for a deployable Lightning Web Component called displayMyData that will fetch and display data?

Options:

A.

displayMyData.css

B.

displayMyData.js-meta.xml

C.

displayMyData.js

D.

displayMyDataController.cls

E.

displayMyData.html

Question 9

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

Commerce?

Options:

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

Question 10

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 11

Which template will correctly display the details message only when areDetailsVisible becomes true given the following code in a Lightning Web Component?

Question # 11

A)

Question # 11

B)

Question # 11

C)

Question # 11

D)

Question # 11

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D