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

Home > Salesforce > Salesforce Developer > B2B-Commerce-Developer

B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer (SU24) Question and Answers

Question # 4

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?

A.

myrelationshipname.myname: value

B.

myRelationshipName.myName: value

C.

myRelationshipNameR=>(myName: value)

D.

My_Relationship_Name__r.My_Name__c: value

Full Access
Question # 5

Which two aspects are applicable to Page Includes? (2 answers)

A.

Standard Visualforce controls such as apex:form should not be used within a page include

B.

Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled

C.

Page Includes can be configured as Body Includes Begin.

D.

If a controller is used for an included page, then a merge variable must be present on the page.

Full Access
Question # 6

A developer is working on an existing checkout implementation built against the Lightning Web Runtime (LWR) and wants to implement a custom child checkout component to modify out-of-the-box functionality.

Which interface must the developer implement for the child component?

A.

CheckoutSavable

B.

Checkoutoutinterface

C.

CustomCheckout

D.

CheckoutStep

Full Access
Question # 7

Salesforce B2B leverages global API's for encapsulating business logic into blocks

that can be extended and modified by subscribers. Which three statements are true

regarding extending ccServiceProduct and exposing custom fields on the Product Detail

Page? (3 answers)

A.

Override the getFieldsMap method and add subscriber specific code.

B.

Ensure that any helper methods are defined as private andstatic only.

C.

Create a global with sharing class that extends ccrz.ccServiceProduct.

D.

Create a public with sharing class that extends ccrz.ccServiceProduct.

E.

Override the fetch method and add your subscriber specific code here.

Full Access
Question # 8

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

Full Access
Question # 9

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

Full Access
Question # 10

In checkout, what event should the developer's code listen for in order to help troubleshoot and respond to actions?

A.

CommerceBubbleEvents

B.

CommerceErrorEvents

C.

CommerceActionEvents

D.

CommerceDiagnosticEvents

Full Access
Question # 11

Which three decorators can be used in Lightning Web Components?

A.

@api

B.

@track

C.

@wire

D.

@class

E.

@import

Full Access
Question # 12

Which three statements are accurate?

A.

An Aura component can contain another Aura component

B.

An Aura component can contain a Lightning Web Component

C.

A Lightning Web Component can contain an Aura component

D.

A Lightning Web Component cannot contain an Aura component

Full Access
Question # 13

What isthe difference between Gross Layout Overrides and Subscriber Templates?

A.

Gross Layout Overrides allow modification to CSS of a page, while Subscriber Templates allows for modification of the entire page including header and footer.

B.

Subscriber Templates allows for modification of the header, the footer and the content in between them. Gross Layout Overrides only allow for modification of the header and footer.

C.

Subscriber Templates allow for modification of the header and the footer, while Gross Layout Overrides allow for modification everything inside the header and footer.

D.

Gross Layout Overrides allow for the modification of the footer, while Subscriber Templates allow for modification of everything inside the header and footer.

Full Access
Question # 14

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

A.

this.template.addEventListener(handleNotification);

B.

this.template.addEventListener(this.handleNotification);

C.

this.template.addEventListenerCnotification1, this.handleNotification);

D.

addEventListener('notifJcatiorV, this.handleNotification);

Full Access
Question # 15

Ursa Major is planning to implement Salesforce B2B Commerce, and a developer needs to configure taxes for their storefront. The company operates in multiple states, each with different tax rates and tax rules.

What are two ways the developer should configure taxes in B2B Commerce?

A.

Configure a tax engine using third-party software.

B.

Configure tax rates and rules for each state in Salesforce B2B Commerce.

C.

Use a different pricebook for each state.

D.

Use the Salesforce out-of-the-box tax calculator.

Full Access
Question # 16

How is a price group dynamically set?

A.

By overriding the ccLogicProductPrice class

B.

By using contract pricing

C.

By extending the ccApiPriceList API

D.

By extending the cc_hk_priceing hook

Full Access
Question # 17

Which two blocks of code are needed to implement a custom getter in a Lightning web component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 18

A developer is attempting to write a Lightning Web component from scratch by first creating the HTML markup and receives an error. Which three tags when used as the first element in the file would produce an error?

A.