Summer Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

B2B-Commerce-Developer PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

B2B-Commerce-Developer PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: B2B Commerce for Developers Accredited Professional (AP-202)
  • Last Update: Sep 12, 2025
  • Questions and Answers: 220
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

B2B-Commerce-Developer Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

B2B-Commerce-Developer Practice Exam Questions with Answers B2B Commerce for Developers Accredited Professional (AP-202) Certification

Question # 6

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

A.

sfdc.checkout.CartTaxCalculations

B.

sfdc.commerce.TaxCalculations

C.

sfdc_commerce.CartTaxCalculations

D.

sfdc_checkout.TaxCalculations

E.

sfdc.commerce.CheckoutTaxCalculations

Full Access
Question # 7

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

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

Full Access
Question # 8

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

A developer needs to implement a custom Lightning web component (LWC) for the storefront.

The LWC contains language-specific text values.

How should the developer translate the text values?

A.

Import static resources for the text values and add them into the LWC.

B.

Use a CustomLabel xml file in the LWC to add the text values there.

C.

Create custom labels for the text values and import them in the LWC.

D.

Create a custom Metadata object for the text values and query it in the LWC.

Full Access
Question # 10

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?

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.

Full Access
Question # 11

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

What is true about mapping custom fields from Cart to Order Summary?

A.

A custom field must exist in the Cart and Order Summary objects only to be mapped successfully.

B.

The automatic Cart to Order mapping of custom fields can be disabled.

C.

All data types are supported for custom fields to be mapped from Cart to Order.

D.

There is a limit of 25 custom fields on a Cart that can be mapped to Order.

Full Access
Question # 13

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?

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"

Full Access
Question # 14

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

A.

Aura requests

B.

Wire adapters

C.

Proxy adapters

D.

XHR requests

Full Access
Question # 15

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

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.

Full Access
Question # 16

A developer has just deployed a new Lightning web component called myNewLwcComp to an

authorized org. The developer tries to find the component in the Lighting Page Builder, but it

does not come up in searches. Which two steps should the developer take next?

A.

Ensure that the metadata isExposed property is set properly in source code

B.

Redeploy the component

C.

Close the browser and reopen the page

D.

Ensure it has a target of lightning__FlowScreen

Full Access
Question # 17

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

A.

Visual Studio Code

B.

Salesforce CLI

C.

Jest

D.

Salesforce Developer Console

Full Access
Question # 18

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

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

A.

doLogic

B.

process

C.

doAction

D.

fetch

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

A developer used slots to pass content from one Lightning Web Component to another. How can they access the.

DOM for what was passed to those slots?

A.

Call this.template.querySelector() and this.template.querySelectorAll()

B.

Call this.querySelector() passing an id

C.

Call this.querySelector() and this.querySelectorAll()

D.

Call this.template.querySelector() passing an id

Full Access
Question # 22

What are two guidelines for logging that are used within the core Salesforce

B2B Commerce product? (2 answers)

A.

Items or data within computational intensive loops shouldbe logged.

B.

The close method of ccrz.ccLog must be called at the end of the remote action.

C.

No calls to ccrz.ccLog can be made before cc_CallContext.initRemoteContext is executed.

D.

It is okay to log any data on the server that is already logged on the client side.

Full Access
Question # 23

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

A.

Create an Apex class.

B.

Authorize an org for an SFDX project.

C.

CloneaLWC.

D.

Deploy a custom component.

Full Access
Question # 24

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

B2B-Commerce-Developer question answer

A.

{event:handleChange}

B.

javascript:void(0);handleChange();

C.

{handleChange()}

D.

{handleChange}

Full Access
Question # 25

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

A.

sfdc_commerce.ValidationCartinventory

B.

sfdc_commerce.CartinventoryValidation

C.

sfdc_checkout.InventoryCartVvalidation

D.

sfdc_checkout.CartinventoryValidation

Full Access
Question # 26

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

A.

Composition

B.

Inventory

C.

Juggling

D.

Normalization

Full Access
Question # 27

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

A.

Use publish-subscribe pattern.

B.

Configure targets property.

C.

Use dispatch events.

D.

Use @api decorators.

Full Access
Question # 28

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

Salesforce B2B Commerce page includes and subscriber pages?

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

Full Access
Question # 29

Universal Containers (UC) needs to wrap a Lightning Web Component they have created called "lwcContainerComponent” inside an Aura component. Which set of tags is the correct approach?

A)

B2B-Commerce-Developer question answer

B)

B2B-Commerce-Developer question answer

C)

B2B-Commerce-Developer question answer

D)

B2B-Commerce-Developer question answer

A.

Option

B.

Option

C.

Option

D.

Option

Full Access
Question # 30

The ccrz.cc_hk_UserInterface apex class, HTMLHead Include Begin and HTML Head Include End Cloudcraze Page Include sections allow additional content to be added to the HTML tag. What are two reasons that is it preferred to use the ccrz.cc_hk_UserInterface extension over the Cloudcraze Page Include sections? (2 answers)

A.

Salesforce apex:include is wrapped in tags.

B.

HTML does not support

tags inside the

C.

Salesforce apex:include is wrapped in tags.

D.

HTML does not support tags inside the

Full Access
Question # 31

Which format is the custom Salesforce field with the API name

"My_Fiels_Name__c" transformed onto by default in Salesforce B2B Commerce?

A.

MyFieldName

B.

myFieldName

C.

myfieldname

D.

My_Field_Name__c

Full Access
Question # 32

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

A)

B2B-Commerce-Developer question answer

B)

B2B-Commerce-Developer question answer

C)

B2B-Commerce-Developer question answer

D)

B2B-Commerce-Developer question answer

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 33

Which Global JavaScript Object should be extended when

writing custom Remote Actions?

A.

CCRZ.

B.

CCRZ.cc

C.

CCRZ.cc_CallContext

D.

CCRZ.RemoteInvocation

Full Access
Question # 34

A developer needs to loop through a series of child components which are tiles. What is the correct syntax for this if the child component is called appTile?

A)

B2B-Commerce-Developer question answer

B)

B2B-Commerce-Developer question answer

C)

B2B-Commerce-Developer question answer

D)

B2B-Commerce-Developer question answer

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access