Exit demo B2B-COMMERCE-DEVELOPER Salesforce Certified B2B Commerce for Developers Accredited Professional (AP-202) PDF format · free preview

SalesForce B2B-COMMERCE-DEVELOPER - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/b2b-commerce-developer.html

Question 1
Multiple choice

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

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

Question 2
Single choice

What is true regarding adding more Configuration Settings to Salesforce B2B Commerce?

A.

Metadata can be added to existing modules, but you cannot add new modules.

B.

Configuration settings can only be extended through API's

C.

Select "New"in your storefront's Configuration Settings and create a custom setting.

D.

More modules and metadata can be added to Salesforce B2B Commerce.

Question 3
Single choice

Where is the API-based record creation generally handled in Salesforce B2B Commerce?

A.

In the methods available in extension hooks

B.

The service-layer responsible for the entity

C.

Data creation is not allowed

D.

Logic classes that implement the businesslogic for create operations

Question 4
Multiple choice

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.

Question 5
Single choice

Which cookie stores the effective account ID when effective account is enabled?

A.

apex__cclgtkn

B.

apex__effacc

C.

apex__currCartId

D.

apex__cc_anonymous_Country

Question 6
Single choice

What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?

A.

ccrz.cc_CallContext.currUser.isGuest

B.

ccrz.cc_CallContext.isGuest

C.

UserInfo.getUserType()

D.

... UserType

Question 7
Single choice

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

A.

_Cart__c

B.

c.E_Cart__c

C.

ccrz__E_Cart__c

D.

cloudcraze__E_Cart__c

Question 8
Single choice

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

Question 9
Multiple choice

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

Question 10
Single choice

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

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

Showing 10 of 79 questions · Unlock the full set