Black Friday Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

B2B-Commerce-Developer Questions and Answers

Question # 6

What is the purpose of connectedCallback in a Lightning web component?

A.

It performs actions when a network request is made.

B.

It perform actions when a component makes a call to a Connect APL.

C.

It performs actions when a component is removed from the DOM.

D.

It performs actions when a component is added to the DOM.

Full Access
Question # 7

What are two purposes of the Shadow DOM in a Lightning web component?

A.

It encapsulates the internal document object model (DOM) structure of a web component

B.

It allow components to be shared while protecting them from being manipulated by arbitrary code

C.

It allows direct access to the document object model of the component

D.

It allows older JavaScript libraries to manipulate the tagging structure

Full Access
Question # 8

What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

A.

SOSL

B.

SQL

C.

SOQL

D.

Schema-less queries

Full Access
Question # 9

Which two technologies can subscribe to the CommerceDiagnosticEvents event?

A.

Aura Components

B.

Processes

C.

Streaming API

D.

Lightning web components

Full Access
Question # 10

A developer suspects recent edits to a checkout flow have created a bug based on flow errors being emailed. Given the emails and some inputs known to trigger the issue, which two activities should the developer consider in their investigation?

A.

Use the Org Browser tool in the IDE to download the flow XML and run a diff report

B.

Look at the previous flow versions and compare them with the current one

C.

Open the Flow, Select Debug, Provide the Inputs, Select Run

D.

Open the Flow and select Attach to Live Session, Provide the Session Id, Select Attach

Full Access
Question # 11

Which two statement are true for Mass Order (2 answers)

A.

Mass Order pricing is done via a batch job.

B.

Mass order works with thedefault wishlists

C.

The variation product is leveraged for SKUs.

D.

Mass Order is mobile ready with the ccrz templates.

Full Access
Question # 12

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

A.

getObject

B.

getObjectMetadata

C.

All of the above

D.

getObjectinfo

Full Access
Question # 13

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

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

Full Access
Question # 14

A developer has the task to bring some historical data into an org. The data must reside in the org, but cannot be populated in standard or custom objects. The customer is fine with developers building Ul components to surface this data on a case-by-case basis.

Which option allows a developer to meet all of these requirements?

A.

Big objects

B.

Lightning Canvas

C.

External objects

D.

Lightning Out

Full Access
Question # 15

Which two components in a B2B store template should a developer use to customize a storefront page?

A.

My Lists

B.

Product List

C.

Order List

D.

Address List

Full Access
Question # 16

What are three ways to test the value of Page Label on any Salesforce B2B

Commerce Community Page? (3 answers)

A.

Access the source HTML for the page viathe browser developer tools.

B.

Execute CCRZ.pagevars.pageLabels['PAGE_LABEL_NAME') in the JavaScript console.

C.

Execute CCRZ.processPageLabelMap('PAGE_LABEL_NAME') in the JavaScript console.

D.

Enable the 'display page label names' in cc admin.

E.

Execute (('PAGE_LABEL_NAME')) in the JavaScript console

Full Access
Question # 17

Which two behaviors does a target value of lightning__FlowScreen in metadata allow for a Lightning web

component?

A.

It allows the Lightning web component to replace standard functionality in flows and subflows

B.

It allows the Lightning Web component to be dragged onto a page in Lightning AppBuilder

C.

It allows the Lightning web component to be used in guided user experiences to gather input

D.

It automatically generates configuration properties for the Lightning web component

Full Access
Question # 18

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 # 19

Which code statement should a developer use to import the ID of the current Lightning Experience

A.

import id from '@salesforce/network/ld'

B.

import id from '@salesforce/experience/ld'

C.

import id from '@salesforce/site/ld'

D.

import id from '@salesforce/community/ld'

Full Access
Question # 20

A new payment type for the Checkout flow has been implemented. Which three

descriptors follow best practice for possible configuration metadata are needed to enable

a flow? (3 answers)

A.

*.pay

B.

Cart

C.

Checkout

D.

*.Edit

E.

*.New

Full Access
Question # 21

What are two ways a developer should ensure that a store verifies changes by using an external service?

A.

Create a flow using an action to retrieve shipping charges from an external service and update the Cart Delivery Group Methods.

B.

Create an Apex class implementing the sfdc_checkout.CartShippingCharges interface to retrieve shipping charges from an external service and register it as the .. calculation integration in the store administration.

C.

Create an Apex class to retrieve shipping charges from an external service and update the Cart Delivery Group Method.

D.

Create a trigger to retrieve shipping charges from an external service and update the Cart Delivery, Group Methods

Full Access
Question # 22

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 # 23

Which two statements are true about Global API's in Salesforce B2B Commerce? (2 answers)

A.

Each globalAPI method takes in a Map as a single parameter and returns a Map

B.

Global APIs are versioned.

C.

Global APIs will catch any Exceptions that are thrown as part of missing parameters.

D.

Global APIs will handle Transaction scope, and the Subscriber calling it does not need to handle scope.

Full Access
Question # 24

A developer needs to bulk export all of the Product data from an org and does not have access to Data Loader or Workbench. However, the Command Line Interface (CLI) is available. Which command allows the developer to accomplish this task?

A.

sfdx force:data:treeiexport -q -x export-demo -d /tmp/sfdx-out -p

B.

sfdx force:data:tree:export -Product2 -all

C.

sfdx force:data:tree:export -o Product?

D.

sfdxforce:data:tree:export -h

Full Access
Question # 25

A developer needs to import some new product data contained in a JSON file one time. What are two viable ways to do this? .

A.

Convert the JSON to an xlsx file and use Workbench to import it

B.

Run a command like: sfdx force:data:tree:import -f NewProducts.json -u

C.

Convert the JSON to a CSV file and use Data Loader to import it

D.

Run a command like: sfdx force:data;import:bulk -f NewProducts.json -u

Full Access
Question # 26

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.