Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

B2B-Commerce-Developer Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Salesforce B2B-Commerce-Developer B2B Commerce for Developers Accredited Professional (AP-202) certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 3 / 4
Total 220 questions

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

A developer has created a custom Lightning web component to display on the Product Detail page in the store. When the developer goes to add the component to the page in Experience Builder, it is missing from the list of custom components.

Which XML fragment should the developer include in the component's configuration XML file to ensure the custom component is available to add to the page?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

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

A.

ccrz.ccService.queryWithoutSharing()

B.

ccrz.ccAPI.queryService()

C.

ccrz.ccService.query()

D.

ccrz.ccService.initSVCDAO()

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)

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 asa 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

What are three standard page reference types?

A.

standard__app

B.

standard__component

C.

standard__pageNamed

D.

comm_loginPage

E.

standard__recordDetailPage

Which two practices are allowed when it comes to naming a Lightning Web Components folder and associated files?

A.

Beginning with a lowercase letter

B.

Including whitespace

C.

Using a single hyphen (dash)

D.

Using a single underscore

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 eventthat the Map is null,

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

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, Stringkey, Object ob)

D.

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

Numerous flags when set, have a direct impact on the result set provided by the

Global API's. Which conversion flag allows for sObjects to be returnedfrom the

Global API's when provided as a Boolean parameter with a value of true?

A.

ccrz.ccAPISizing.SKIPTRZ

B.

ccrz.ccAPISizing.SOBJECT

C.

ccrz.ccAPI.SZ_SKIPTRZ

D.

ccrz.ccAPI.SZ_SOBJECT

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

A.

Validation rule

B.

Apex class

C.

Web service invocation

D.

Lightning component load

E.

Workflow invocations

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?

A.

Return TRUE

B.

Return sfde_checkout.InventoryStatus. SUCCESS

C.

Return sfdc_checkout.IntegrationStatus. Status. SUCCESS

D.

Return sfdc_checkout.InventoryStatus.Status. SUCCESS

What is a valid way of referencing the global cc_api_CartExtentsionapex class via

subscriber code?

A.

ccrz__cc_api_CartExtension

B.

c__cc_api_CartExtension

C.

cloudcraze.cc_api_CartExtension

D.

ccrz.cc_api_CartExtension

Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?

A.

view:*:load

B.

view:*:refresh

C.

view:*:onload

D.

view:*:rendered

Which handlebars helper function is used on Salesforce B2B Commerce pages and

components for formatting price values?

A.

formatPrice

B.

priceAbs

C.

showprice

D.

price

Which Global JavaScript Object should be extended when

writing custom Remote Actions?

A.

CCRZ.

B.

CCRZ.cc

C.

CCRZ.cc_CallContext

D.

CCRZ.RemoteInvocation

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

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.

A developer used slots to pass content from one Lightning Web Component toanother. 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

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

need to be displayed on a Visualforce page?

A.

showMessage

B.

displayPageMessage

C.

displayMessage

D.

pageMessage

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

A.

Validation rule

B.

Lightningcomponent load

C.

Web service invocation

D.

Apex class

The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)

A.

Refetch data (used on some Logic classes)

B.

Return formats as Map or SObjects lists

C.

Override static DAO classes and methods

D.

Related Query to call (sub queries or direct queries)

E.

Object type casting

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?

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 aContinuation 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

Page: 3 / 4
Total 220 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved