Pass4itsure > Salesforce > Salesforce Certifications > B2B-COMMERCE-DEVELOPER > B2B-COMMERCE-DEVELOPER Online Practice Questions and Answers

B2B-COMMERCE-DEVELOPER Online Practice Questions and Answers

Questions 4

Although Salesforce B2B Commerce and Salesforce recommend against using "without sharing classes" whenever possible, sometimes it is unavoidable. Which three items will open up a major security hole? (3 answers)

A. Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getParameters().

B. Executing dynamic SOQL inside a without sharing class with a bind variable from the UserInfo class.

C. Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getCookies().

D. Executing dynamic SOQL inside a without sharing class with a bind variable from cc_RemoteActionContentex class.

E. Executing dynamic SOQL inside a without sharing class with a bind variable from ccAPI.CURRENT_VERSION.

Buy Now
Questions 5

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.

Buy Now
Questions 6

What are two ways to check the input or return data of the Global API's? (2 answers)

A. ccrz.ccUtil.isNotEmpty(Map) and ccrz.ccUtil.isNotEmpty(List)

B. ccrz.ccUtil.isNotValid(Map) and ccrz.ccUtil.isNotValid(List)

C. ccrz.ccUtil.isValid(Map) and ccrz.ccUtil.isValid(List)

D. ccrz.ccUtil.isEmpty(Map) and ccrz.ccUtil.isEmpty(List)

Buy Now
Questions 7

Which three actions are applicable when extendinga default Salesforce B2B Commerce page via a page include? (3 answers)

A. Create a Service Class override to query the new page include.

B. Create the VisualForce page you wish to include to the Salesforce b2B Commerce page.

C. Prepend "c." to the name ofthe page referenced in the configuration setting.

D. Create a configuration setting for enabling the page include and assigning the new page include via CC admin.

E. Build and activate a new configuration cache setting via CC admin.

Buy Now
Questions 8

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?

A. CCRZ.productSearchView

B. CCRZ.cartView

C. CCRZ.productDetailModel

D. CCRZ.productDetailView

Buy Now
Questions 9

Which two different types of services do Salesforce B2B

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 10

Which format is the custom Salesforce relationship with the API name, "My_Relationship_Name__r.My_Name__c" queried and transformed into dy default in Salesforce B2B Commerce?

A. myrelationshipname.myname: value

B. myRelationshipName.myName: value

C. myRelationshipNameR=>(myName: value)

D. My_Relationship_Name__r.My_Name__c: value

Buy Now
Questions 11

A configuration value, CO.NewOrder, is set to TRUE. What is one way of preventing anexisting payment page from being shown on the checkout payment page?

A. Delete the Visualforce page from the code base.

B. Remove the value matching the page name from the pmt.whitelist configuration setting, then rebuild and activate a new Configuration cache

C. Remove the payment type associated with the payment page from CO.pmts, then rebuild and activate a new cache.

D. Override the front end template and modify the way the embedded payment page gets loaded from the payment list configuration.

Buy Now
Questions 12

How does a project implement the process to persist payment information datain the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?

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 13

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

Buy Now
Exam Name: Salesforce Accredited B2B Commerce Developer
Last Update: Jan 03, 2025
Questions: 79
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99