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

Hot Vendors

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

Questions 4

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

Options:

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.

Buy Now
Questions 5

Which method signature is used in the Global API's?

Options:

A.

Changes based on API and Method name

B.

ccrz.cc_Output (ccrz:cc_Input input)

C.

Map

D.

List>

Buy Now
Questions 6

A developer is trying to integrate a new shipping provider to use during checkout in a storefront Which two steps must the developer take to make an integration available for selection?

Options:

A.

Create a RegisteredExternalService record using Workbench.

B.

Create an Apex class that uses the integration framework.

C.

Modify the StorelntegratedService to map to an Apex class ID using Workbench.

D.

Enter the integration class name and version in the store administration.

Buy Now
Questions 7

Which of these is a key pattern leveraged when building Lightning Web Components? 39m 36s

Options:

A.

Composition

B.

Inventory

C.

Juggling

D.

Normalization

Buy Now
Questions 8

A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?

Options:

A.

A new CORS entry may need to be created in Setup

A new Named Credential may need to be created in Setup

B.

An Apex method returning a Continuation will need to be created

C.

Requests to the service should be brokered to prevent limit exceptions

D.

A new Remote Site may need to be created in Setup

Buy Now
Questions 9

A Developer created a custom field that a project wants to expose on a given page.

How does the Developer ensure that the field is available to display on a given page?

Options:

A.

Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.

B.

Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class

C.

Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class

D.

Create a new Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class

Buy Now
Questions 10

Which two user permissions in addition to View Setup and Configuration are required to bulk create Product data translations via Data Loader?

Options:

A.

Import Custom Objects

B.

B2B Commerce Super User

C.

Create and set up Experiences

D.

Manage Translations

Buy Now
Questions 11

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

component?

Options:

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

Buy Now
Questions 12

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

Options:

A.

My Lists

B.

Product List

C.

Order List

D.

Address List

Buy Now
Questions 13

While in the process of gathering requirements from a customer about how they would like to set up their net new storefront checkout experience, a consultant learns that the customer needs the ability to add new shipping and billing addresses during checkout.

Which approach should a developer take to meet this requirement?

Options:

A.

Create a new shipping address checkout subflow that utilizes the Buyer Managed Contact Point Addresses component.

B.

Enable Buyer Managed Contact Point Addresses within the Shipping Address standard component in the Checkout subflow.

C.

Enable Buyer Managed Contact Point Addresses within Commerce Administration.

D.

Create a Lightning web component that enables this functionality and replaces the current shipping address screen within the Checkout subflow.

Buy Now
Questions 14

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

Options:

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

Buy Now
Questions 15

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

Options:

A.

getPicklistMetadataValues

B.

getPicklistMetadata

C.

getPicklistValues

D.

getPicklist

Buy Now
Questions 16

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?

Options:

A.

CheckoutSavable

B.

Checkoutoutinterface

C.

CustomCheckout

D.

CheckoutStep

Buy Now
Questions 17

Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)

Options:

A.

ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation

B.

crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')

C.

crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders

D.

crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object

Buy Now
Questions 18

Based on error emails flowing in, a developer suspects that recent edits made to a checkout flow have created a defect. The developer has data points available to use as inputs in reproducing the scenario.

What should the developer do next?

Options:

A.

Open the flow, select Debug, provide the session ID for replay, and select Run.

B.

Open the flow, select Attach to Live Session, provide the session ID, and select Attach.

C.

Open the flow, select Debug, provide the Input values, and select Run.

D.

Open the flow, select Debug with Inputs, provide the Input values, and select Run.

Buy Now
Questions 19

Which three files comprise the essential pieces of a Lightning Web Component that is named myComponent?

Options:

A.

myComponent.html

B.

myNewComponent.css

C.

myComponent.js-meta.xml

D.

myComponent.aura

E.

myComponent.js

Buy Now
Questions 20

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?

Options:

A.

Subscribe to events on the lightning_commerce_cartChanged channel using the Lightning

Message Service.

B.

Add a 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.

Buy Now
Questions 21

Which two log levels does a developer need to include to debug platform events?

Options:

A.

Apex Code

B.

Database

C.

Callout

D.

Workflow

Buy Now
Questions 22

During checkout flow customizations, a developer receives an error on shipping cost calculation integrations with the error code: INSUFFICIENT_ACCESS_OR_READONLY.

What is causing this error?

Options:

A.

The storefront user does not have access to the Cart Delivery Method object.

B.

An error has occurred during the cart shipping charge integration.

C.

The storefront user does not have access to custom fields on the Order Delivery Method object.

D.

The cart is no longer in a valid Checkout State.

Buy Now
Questions 23

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

Options:

A.

CommerceBubbleEvents

B.

CommerceErrorEvents

C.

CommerceActionEvents

D.

CommerceDiagnosticEvents

Buy Now
Questions 24

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"

Buy Now
Questions 25

In which three ways should useful debugging information in Salesforce B2B

Commerce implementation be garnered? (3 answers) A) Enabling the logging token via

Options:

A.

Admin andsubsequently inspecting the logs via the browser console.

B.

Logging a case with Salesforce support to enable advanced debugging options.

C.

Enabling debugging options for the current user and visually inspecting the Salesforce debug logs.

D.

Placing a System.debug() statement anywhere in the class being debugged.

E.

Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions.

Buy Now
Questions 26

What is a valid way of referencing the global cc_api_CartExtentsion apex class via

subscriber code?

Options:

A.

ccrz__cc_api_CartExtension

B.

c__cc_api_CartExtension

C.

cloudcraze.cc_api_CartExtension

D.

ccrz.cc_api_CartExtension

Buy Now
Questions 27

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?

Options:

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

Buy Now
Questions 28

How is a price group dynamically set?

Options:

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

Buy Now
Questions 29

In which two ways can events fired from Lightning web components be handled?

Options:

A.

Programmatically adding event listeners

B.

Adding callbacks to components

C.

Listening for all possible events at the document root

D.

Attaching handlers to DOM elements

Buy Now
Questions 30

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

Options:

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.

Buy Now
Questions 31

A query containing a subquery is executed. What is appended to the subquery name

as part of its transformation by default in Salesforce B2B Commerce?

Options:

A.

A subscriber-supplied token

B.

"__ccrz"

C.

The "*" symbol

D.

The letter "S"

Buy Now
Questions 32

What tool can a developer use to investigate errors during development? 07m 42s

Options:

A.

Streaming API Subscription Channel for Commerce Diagnostics Event Logging

B.

Commerce Diagnostics Event Logging JavaScript Console

C.

Lightning Web Component for Commerce Diagnostics Event Logging

D.

Custom Log Levels

Buy Now
Questions 33

Which two are considered discrete units of work (code units) within a transaction in the debug logs?

Options:

A.

Validation rule

B.

Lightning component load

C.

Web service invocation

D.

Apex class

Buy Now
Questions 34

A developer is writing custom code to compare External Prices and Sales Prices for cart items. What should be returned if the External Prices are the same as Sales Prices for Products in the Cart? ~.

Options:

A.

sfdc_checkout.IntegrationStatus.Status.SUCCESS

B.

sfdc_checkout.IntegrationStatus.Status.SUCCEEDED

C.

sfdc_checkout.IntegrationStatus.Status.ERROR

D.

sfdc_checkout.IntegrationStatus.Success.FAILED

Buy Now
Questions 35

What are three ways to implement custom post Order processing? (3 answers)

Options:

A.

Use a Salesforce workflow rule that executes when an Order record is created.

B.

Extend cc_hk_invoice tohandle custom business logic post Order processing

C.

Use cc_hk_Order.placeTarget to define a new Order Confirmation page which executes additional business logic.

D.

Modify or add custom Cart formula fields to handle logic.

E.

Use Process builder to implement business processes that execute when an Order record is created.

Buy Now
Questions 36

An administrator has just provided a developer with a completely new org and a username. Assuming the username is me@my-new-org.org, what is the correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components?

Options:

A.

Run the command: 'sfdx force:login -r "https://login.salesforce.com'' and supply the credentials in the browser when it opens.

B.

Run the command 'sfdx force:auth:web:login -a "https://login.salesforce.com'"' and then supply the credentials in the browser when it opens.

C.

Run the command: 'sfdx force:auth:web:login -r "https://login.salesforce.com" and then supply the credentials in the ^ browser when it opens ^

D.

Run the command 'sfdx force:auth:web:login -r "https://login.salesforce.com" -username^'mefaJmy-new-org.org"'

Buy Now
Questions 37

How does a project implement the process to persist payment information datain the

Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?

Options:

A.

Trigger a remote action when the process payment button is selected to capture the payment.

B.

Trigger a remote action to store the payment information in the URL query parameters.

C.

Trigger the processPayment event and pass in the payment information object as an argument.

D.

Trigger the externalprocessedPayment and pass in the payment information object as an argument.

Buy Now
Questions 38

A developer has the task to create custom Lightning web components (LWCs). Which two steps must a developer take when creating custom LWCs?

Options:

A.

Create an Apex class.

B.

Authorize an org for an SFDX project.

C.

CloneaLWC.

D.

Deploy a custom component.

Buy Now
Questions 39

Why is the use of a standard Visualforce control such as apex:form discouraged in

Salesforce B2B Commerce page includes and subscriber pages?

Options:

A.

Visualforce "scopes" controls that are present on a page and scope of the control will be set to "ccrz"

B.

Apex:form render DOM components slowly

C.

The CCRZ Javascript object is not accessible within an apex:form control.

D.

Javascript events are not supported within an apex:form control

Buy Now
Questions 40

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

B2B-Commerce-Developer Question 40

A)

B2B-Commerce-Developer Question 40

B)

B2B-Commerce-Developer Question 40

C)

B2B-Commerce-Developer Question 40

D)

B2B-Commerce-Developer Question 40

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now