Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

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

Questions 4

A developer is implementing an Inventory class for checkout. All the error states have been handled and now the developer needs to take the next step to indicate that inventory is available for all of the items and amounts in the cart. What should the next step be?

Options:

A.

Return TRUE

B.

Return sfde_checkout.InventoryStatus. SUCCESS

C.

Return sfdc_checkout.IntegrationStatus. Status. SUCCESS

D.

Return sfdc_checkout.InventoryStatus.Status. SUCCESS

Buy Now
Questions 5

A user wants to leverage a three columnlayout on a page. The user also wants to move the mini-cart widget from the right to the center column. How can this requirement be fulfilled?

Options:

A.

Gross Layout Override

B.

Subscriber Template

C.

Page Include

D.

HandleBar Template Override

Buy Now
Questions 6

Which element can be used to pass HTML from a parent component to a child component? 03m 19s

Options:

A.

<html></html>

B.

<template></template>

C.

D.

Buy Now
Questions 7

Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?

Options:

A.

Subscribe()

B.

stopListener()

C.

startListener()

D.

unsubscribe()

Buy Now
Questions 8

Which three components should a developer use on the product page to replace the out-of-the-box Product Detail Card component?

Options:

A.

Product Detail Breadcrumbs component

B.

Product Fields Short component

C.

Product Field Long component

D.

Product Detail Purchase Options component

E.

Product Detail Image Gallery component

Buy Now
Questions 9

When a user buys 10 units of product B, the user wants 1 unit of Product A to be

automatically added to the cart. How can this requirement be fulfilled?

Options:

A.

Override the AllowCheckout method in ccrz.cc_api_CartExtension

B.

Override the prepareForSave method in ccrz.cc_api_CartExtension

C.

Override the preprocess method in ccrz.cc_api_CartExtension

D.

Override the prepareToAdd method in ccrz.cc_api_CartExtension

Buy Now
Questions 10

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 11

Which technique is used by Lightning Web Components to provide areas of swappable, customizable content?

Options:

A.

elements

B.

JQuery templates

C.

MutationObservers

D.

CSS classes

Buy Now
Questions 12

Which two different types of services do Salesforce B2B

Options:

A.

Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.

B.

Global services which are responsible for querying and transforming data from entities

C.

Data services which are responsible for querying and transforming data from entities

D.

Hook services which are extension points for subscribers to tie into.

Buy Now
Questions 13

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 14

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 15

Which three statements are true regarding event handling in the Salesforce B2B Commerce managed package? (3 answers)

Options:

A.

Salesforce B2B Commerce relies on a series of Javascript click listener events.

B.

Writing directly to your own custom Backbone JS Views and Models automatically integrates that data into the Salesforce B2B Commerce Backbone Views and Models.

C.

Salesforce B2B Commerce relies on a central event channel for communication across various Salesforce B2B Commerce Backbone Views and Models called CCRZ.pubSub.

D.

CCRZ.pubSub defines the following three functions which can be used for event handling: trigger, on, and once.

E.

CCRZ.pubSub extends the Backbone.Events JavaScript object.

Buy Now
Questions 16

What are two maintainable ways that Lightning Web Components can be made mobile ready? 33m 215

Options:

A.

Create a Lightning app page and add the component to the mobile navigation

B.

Import a third party JavaScript library

C.

Install the mobile extensions plug-in for VS Code

D.

Decorate templates with mobile-ready

Buy Now
Questions 17

Which event should be triggered when user facing info, warning or error messages

need to be displayed on a Visualforce page?

Options:

A.

showMessage

B.

displayPageMessage

C.

displayMessage

D.

pageMessage

Buy Now
Questions 18

A developer is debugging a flow and needs to watch all the variables changing as the checkout process is executed, but nothing is displaying. Which two features did the developer forget to enable?

Options:

A.

Set up a debug tog to show the details of what is executed

B.

Show the details of what is executed and render flow in Lightning Runtime

C.

Run the latest version of each flow called by subtle w elements

D.

Show the details of what is executed and render flow in Lightning Experience.

Buy Now
Questions 19

Which three are considered code units, or discrete units of work within a transaction in the debug logs?

Options:

A.

Validation rule

B.

Apex class

C.

Web service invocation

D.

Lightning component load

E.

Workflow invocations

Buy Now
Questions 20

Which three actions must a developer take, in a B2B Commerce store, to accept credit card payments using a client's chosen payment provider?

Options:

A.

Create a named credential for authentication with the payment provider.

B.

Create a RegisteredExternalService record for the custom payment provider class.

C.

Create an Apex class that implements the sfdc_checkout.PaymentGatewayAdapter

D.

Create a PaymentProviderGateway record for the custom payment provider class.

E.

Create an Apex class that implements the commercepayments.PaymentGatewayAdapter.

Buy Now
Questions 21

A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API.

Which lifecycle hook should the developer use to make the API call?

Options:

A.

connectedCallback

B.

renderedCallback

C.

errorCallback

D.

disconnectedCallback

Buy Now
Questions 22

A developer suspects that a defect exists in 30 lines of Apex code. How can the developer add debug statements, run the block of apex code in isolation and observe the immediate results?

Options:

A.

Click the Check Out button in the storefront

B.

Use the Execute Anonymous window

C.

Activate Chrome dev tools and click the Check Out button in the Storefront

D.

Use the Execute Immediate window

Buy Now
Questions 23

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?

Options:

A.

<template>

B.

<article>

C.

<body>

D.

<html>

Buy Now
Questions 24

Which three data types are supported for custom fields while using CSV file format for importing data for a store?

Options:

A.

Text Area(Long)

B.

Picklist (Multi-Select)

C.

Lookup Relationship

D.

Address

E.

Currency

Buy Now
Questions 25

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 26

Which two event settings are required for a custom event called CustomEvent to fire from the Lightning web component and propagate up to the DOM?

Options:

A.

bubbles: true

B.

composed: true

C.

cancelable: true

D.

composed: false

Buy Now
Questions 27

What is default behavior for how theSalesforce B2B Commerce Global APIs transform Salesforce data?

Options:

A.

Fields names are returned using the Salesforce naming convention.

B.

Fields names are returned with „c." prepended in their name.

C.

Fields names are returned with a lowercase first letter,camelcase convention

D.

Fields names can be mapped to any naming convention desired

Buy Now
Questions 28

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

Options:

A.

doLogic

B.

process

C.

doAction

D.

fetch

Buy Now
Questions 29

What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?

Options:

A.

The theme needs to be set as a Custom Setting in Salesforce.

B.

The theme needs to be set in the Configuration Settings.

C.

The theme needs to have "theme" in the name of the Static Resource.

D.

The theme needs to be referred to in the head element on the page

Buy Now
Questions 30

Which tool should a developer use to author automated tests for custom Lightning web components?

Options:

A.

Visual Studio Code

B.

Salesforce CLI

C.

Jest

D.

Salesforce Developer Console

Buy Now
Questions 31

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 31

A)

B2B-Commerce-Developer Question 31

B)

B2B-Commerce-Developer Question 31

C)

B2B-Commerce-Developer Question 31

D)

B2B-Commerce-Developer Question 31

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 32

Which Salesforce B2BCommerce object needs to have a record added when defining

a new Subscriber Pages to be rendered in a CC Page?

Options:

A.

CC Storefront Assosiation

B.

CC Admin

C.

CC Page Sections

D.

CC Subscriber Pages

Buy Now
Questions 33

What are three standard page reference types?

Options:

A.

standard__app

B.

standard__component

C.

standard__pageNamed

D.

comm_loginPage

E.

standard__recordDetailPage

Buy Now
Questions 34

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

Buy Now
Questions 35

Which interface does a developer have to implement to override Inventory in Checkout?

Options:

A.

sfdc_commerce.ValidationCartinventory

B.

sfdc_commerce.CartinventoryValidation

C.

sfdc_checkout.InventoryCartVvalidation

D.

sfdc_checkout.CartinventoryValidation

Buy Now
Questions 36

Inwhich three different ways can a theme be enabled in

Salesforce B2B Commerce? (3 answers)

Options:

A.

A Storefront setting

B.

An Account Group field value

C.

A per user setting

D.

Account

E.

Dynamically through a hook

Buy Now
Questions 37

When a developer configures a tax integration for a store, what happens to the previously calculated tax entries during the checkout flow?

Options:

A.

Ignored during recalculation

B.

Saved prior to recalculation

C.

Deleted from the Cart

D.

Modified with the new tax calculation

Buy Now
Questions 38

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?

Options:

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

Buy Now
Questions 39

Which two methods from the platformResourceLoader module are relevant for including third party JavaScript and CSS in a Lightning web component?

Options:

A.

loadClientScript

B.

loadScript

C.

loadCss

D.

loadStyle

Buy Now
Questions 40

Which tool is used to retrieve and manipulate Salesforce data in a Lightning Web Component?

Options:

A.

Aura requests

B.

Wire adapters

C.

Proxy adapters

D.

XHR requests

Buy Now
Questions 41

In what way can a developer's code subscribe to platform events?

Options:

A.

Flows and Apex Triggers

B.

Flows

C.

Apex Triggers

D.

Process Builder, Apex Triggers and Flows

Buy Now
Questions 42

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 43

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

Buy Now
Questions 44

Which three considerations should a developer keep in mind when creating a tax provider?

Options:

A.

What events to fire in the Lightning Web Component

B.

Whether to use JSON or XML

C.

Success criteria

D.

Whether an AppExchange package already exists

E.

How to handle errors

Buy Now
Questions 45

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?

Options:

A.

Big objects

B.

Lightning Canvas

C.

External objects

D.

Lightning Out

Buy Now
Questions 46

What interface must a developer implement to override Tax in Checkout?

Options:

A.

sfdc.checkout.CartTaxCalculations

B.

sfdc.commerce.TaxCalculations

C.

sfdc_commerce.CartTaxCalculations

D.

sfdc_checkout.TaxCalculations

E.

sfdc.commerce.CheckoutTaxCalculations

Buy Now
Questions 47

A developer is working in Visual Studio Code on a previously deployed project which is rather large and deployments are time consuming. The developer wants to know if a CSS file containing small changes was actually deployed to the org. What is one way this can be accomplished?

Options:

A.

Right-click the CSS file and choose Diff File Against Org

B.

Click the Tools menu and select Diff Styles Against Org...

C.

Right-click the folder for the component and choose Diff Styles Against Org

D.

Right-click the folder for the component and choose Diff Files Against Org

Buy Now
Questions 48

Which option is the correct syntax to render a property in a Lightning web component template?

Options:

A.

Surround the property with curly braces: {property}

B.

Surround the property with brackets: [property]

C.

Surround the property with an exclamation point and curly braces: {property}

D.

Surround the property with curly braces and exclamation point: {{property}

Buy Now
Questions 49

Northern Tail Outfitters (NTO) is converting an existing aura component into a Lightning Web Component. The aura component has the following source code:

B2B-Commerce-Developer Question 49

What is the equivalent of this code in a Lightning Web Component?

A)

B2B-Commerce-Developer Question 49

B)

B2B-Commerce-Developer Question 49

C)

B2B-Commerce-Developer Question 49

D)

B2B-Commerce-Developer Question 49

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 50

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 51

How can a developer bring in a checkout flow step to another sequence order?

Options:

A.

drag and drop checkout Screens in main checkout flow

B.

drag and drop subflows in main checkout flow

C.

Adjust next-state in previous subflow configuration

D.

Reorder step in checkoutSteps.xml

Buy Now
Questions 52

What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?

Options:

A.

_Cart__c

B.

c.E_Cart__c

C.

ccrz__E_Cart__c

D.

cloudcraze__E_Cart__c

Buy Now
Questions 53

For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)

Options:

A.

A standard remote action will not have access to Salesforce B2B Commerce objects.

B.

The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.

C.

Salesforce B2B Commerce includes do not support standard SalesForce remote actions.

D.

The Salesforce B2B Commerce logger cannot be utilized in standard remote actions

Buy Now
Questions 54

Universal Containers (UC) needs to display data from standard objects (entities) in a different format than what

comes with B2B Commerce out of the box. In doing this, what is one advantage of using the Lightning Data

Service vs using a custom Controller class?

Options:

A.

Lightning Data Service translates the developer's component implementation to a VisualForce page for backward compatibility.

B.

JavaScript proxies for transport objects are created in the developer's IDE automatically.

C.

The developer can read, create, or modify single records or metadata without writing Apex code.

D.

There is a Visual Studio add-in that accelerates the layout process

Buy Now
Questions 55

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

Options:

A.

getObjectMetadata

B.

getObjectlnfo

C.

getObject

D.

getObjectDescribe

Buy Now
Questions 56

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 57

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 58

Which service method should be overridden in order to allow "without sharing" queries?

Options:

A.

ccrz.ccService.queryWithoutSharing()

B.

ccrz.ccAPI.queryService()

C.

ccrz.ccService.query()

D.

ccrz.ccService.initSVCDAO()

Buy Now
Questions 59

The ccUtil apex class in Salesforce B2B Commerce provides numerous utility

functions that can be leveraged in subscriber classes. Which command will return the

value in the given Map if found or a default value in the event that the Map is null,

empty, or an object is not found for that key?

Options:

A.

ccrz.ccUtil.defv (Map mp, String key , Object ob)

B.

ccrz.ccUtil.defVal (Map mp, String key, Object ob)

C.

ccrz.ccUtil.... (Map mp, String key, Object ob)

D.

ccrz.ccUtil.defaultValue(Map mp, String key , Object ob)

Buy Now
Questions 60

A dev at Northern Trail Outfitters (NTO) exported Order Summary records via Data Loader, but noticed that some orders were missing. What is the most likely cause?

Options:

A.

The export job did not fully complete

B.

Order Life Cycle Type was Managed

C.

The user does not have rights to some of the records

D.

The Status was still set to Draft

Buy Now
Questions 61

How can a developer establish communication between components that are not in the same DOM (Document Object Model) tree?

Options:

A.

Use publish-subscribe pattern.

B.

Configure targets property.

C.

Use dispatch events.

D.

Use @api decorators.

Buy Now
Questions 62

What target does a developer need to set in the js-meta.xml file when creating a custom LWC component for use in the Checkout Flow?

Options:

A.

lightning_FlowScreen

B.

lightning__CheckoutFlow

C.

Iwe__FlowComponent

D.

lwe__flow

Buy Now
Questions 63

How can the display of CC Menu Items be customized for different users?

Options:

A.

cc_hk_Category extension to pre-process which category items are cached as menu items

B.

cc_hk_Menu extension to post-process any cached menu items

C.

cc_hk_Menu extension to pre-process which menu items are cached

D.

cc_hk_Category extension to post-process any cached menu items

Buy Now
Questions 64

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)

Buy Now
Questions 65

A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What should be typed in the Developer Tools Console in the browser to view the fields available for the Product Detail Page?

Options:

A.

CCRZ.productSearchView

B.

CCRZ.cartView

C.

CCRZ.productDetailModel

D.

CCRZ.productDetailView

Buy Now
Questions 66

Northern Trail Outfitters (NTO) has a requirement to schedule a reusable data import across multiple orgs for customer demo purposes. NTO also has a requirement to seed data of related objects—ProductCatalog, ProductCategory, Product2, and ProductCategoryProduct— while preserving its relationships and without purchasing additional licenses or using thirdparty tools.

What is the recommended tool a developer should select to address the requirement?

Options:

A.

Dataloader.io

B.

Bulk Import Using Command Line Interface

C.

Commerce Product Data Import

D.

Data Import Wizard

Buy Now
Exam Name: Salesforce Accredited B2B Commerce Developer (SP25)
Last Update: Jul 13, 2025
Questions: 220

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90