
[Jul 03, 2021] B2B-Commerce-Developer Ultimate Study Guide - ExamsLabs
Ultimate Guide to Prepare B2B-Commerce-Developer Certification Exam for Salesforce Developer in 2021
NEW QUESTION 16
A user wants the pricing to reflect the price values stored in an external ERP during the checkout flow. In what way can this requirement be satisfied?
- A. Override the computePricingCart method in ccrz.cc_api_PriceAdjustoment and make the callout in this method.
- B. Override the computePricingReview method in ccrz.cc_CartExtension and make the callout in this method.
- C. Override the computePricingCart methos in ccrz.cc_api_CartExtension and make the callout in this method.
- D. None of the above
Answer: D
NEW QUESTION 17
What are two guidelines for logging that are used within the core Salesforce B2B Commerce product? (2 answers)
- A. No calls to ccrz.ccLog can be made before cc_CallContext.initRemoteContext is executed.
- B. Items or data within computational intensive loops should be logged.
- C. The close method of ccrz.ccLog must be called at the end of the remote action.
- D. It is okay to log any data on the server that is already logged on the client side.
Answer: A,C
NEW QUESTION 18
Which method is used to override when extending the Salesforce B2B Commerce logic providers?
- A. fetch
- B. doLogic
- C. doAction
- D. process
Answer: D
NEW QUESTION 19
What is true regarding adding more Configuration Settings
to Salesforce B2B Commerce?
- A. Configuration settings can only be extended through API's
- B. Metadata can be added to existing modules, but you cannot add new modules.
- C. More modules and metadata can be added to Salesforce B2B Commerce.
- D. Select "New" in your storefront's Configuration Settings and create a custom setting.
Answer: C
NEW QUESTION 20
What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?
- A. The theme needs to have "theme" in the name of the Static Resource.
- B. The theme needs to be set as a Custom Setting in Salesforce.
- C. The theme needs to be referred to in the head element on the page
- D. The theme needs to be set in the Configuration Settings.
Answer: A
NEW QUESTION 21
A configuration value, CO.NewOrder, is set to TRUE. What is one way of
preventing an existing payment page from being shown on the checkout payment page?
- A. Override the front end template and modify the way the embedded payment page gets loaded from the payment list configuration.
- B. Delete the Visualforce page from the code base.
- C. Remove the payment type associated with the payment page from CO.pmts, then rebuild and activate a new cache.
- D. Remove the value matching the page name from the pmt.whitelist configuration setting, then rebuild and activate a new Configuration cache
Answer: D
NEW QUESTION 22
A user wants to have a Contact Us page in the storefront. This page will be a web-tolead form and it should have the header and footer, essentially the same look and feel as all the pages in the application. How can this requirement be fulfilled?
- A. Page Include
- B. Subscriber Template
- C. Subscriber Page (CC Page)
- D. Body Include Begin
Answer: C
NEW QUESTION 23
Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
- A. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object
- B. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders
- C. crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')
- D. ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation
Answer: C,D
NEW QUESTION 24
How does a project implement the process to persist payment information data in 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 the processPayment event and pass in the payment information object as an argument.
- C. Trigger the externalprocessedPayment and pass in the payment information object as an argument.
- D. Trigger a remote action to store the payment information in the URL query parameters.
Answer: B
NEW QUESTION 25
Which method signature is used in the Global API's?
- A. Changes based on API and Method name
- B. List<List<Object>>
- C. Map<String, Object>
- D. ccrz.cc_Output (ccrz:cc_Input input)
Answer: C
NEW QUESTION 26
Which two statements are true about Global API's in Salesforce B2B Commerce? (2 answers)
- A. Global APIs will catch any Exceptions that are thrown as part of missing parameters.
- B. Global APIs will handle Transaction scope, and the Subscriber calling it does not need to handle scope.
- C. Each global API method takes in a Map<String, Object> as a single parameter and returns a Map<String, Object>
- D. Global APIs are versioned.
Answer: C,D
NEW QUESTION 27
In which three different ways can a theme be enabled in
Salesforce B2B Commerce? (3 answers)
- A. A Storefront setting
- B. Dynamically through a hook
- C. Account
- D. A per user setting
- E. An Account Group field value
Answer: A,B,E
NEW QUESTION 28
Numerous flags, when set, have a direct impact on the result set provided by the Global API's. What is the default Global API DataSizing convention flag that is used by the API's unless otherwise specified?
- A. CCRZ.ccPAI.SZ_S
- B. CCRZ.ccPAI.SZ_XL
- C. CCRZ.ccPAI.SZ_M
- D. CCRZ.ccPAI.SZ_L
Answer: D
NEW QUESTION 29
Numerous flags, when set, have a direct impact on the result set provided by the Global API's.
What is the default Global API DataSizing convention flag that is used by the API's unless otherwise specified?
- A. CCRZ.ccPAI.SZ_S
- B. CCRZ.ccPAI.SZ_XL
- C. CCRZ.ccPAI.SZ_M
- D. CCRZ.ccPAI.SZ_L
Answer: D
NEW QUESTION 30
What is default behavior for how the Salesforce B2B Commerce Global APIs transform Salesforce data?
- 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
Answer: C
NEW QUESTION 31
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 ccAPI.CURRENT_VERSION.
- 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.getParameters().
- D. Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getCookies().
- E. Executing dynamic SOQL inside a without sharing class with a bind variable from cc_RemoteActionContentex class.
Answer: C,D,E
NEW QUESTION 32
What is a best practice when passing query parameters from user interface to an apex controller?
- A. Query parameters should be passed only to Salesforce B2B Commerce classes that you are extending.
- B. Query parameters should be stored on a backbone model prior to passing them to the server
- C. String parameters should be trimmed using String.trim().
- D. Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.
Answer: D
NEW QUESTION 33
In which three ways should useful debugging information in Salesforce B2B Commerce implementation be garnered? (3 answers) A) Enabling the logging token via
- A. Logging a case with Salesforce support to enable advanced debugging options.
- B. Placing a System.debug() statement anywhere in the class being debugged.
- C. Enabling debugging options for the current user and visually inspecting the Salesforce debug logs.
- D. Admin and subsequently inspecting the logs via the browser console.
- E. Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions.
Answer: B,C,D
NEW QUESTION 34
Which three statements are true regarding event handling in the Salesforce B2B Commerce managed package?
(3 answers)
- A. CCRZ.pubSub extends the Backbone.Events JavaScript object.
- B. Salesforce B2B Commerce relies on a central event channel for communication across various Salesforce B2B Commerce Backbone Views and Models called CCRZ.pubSub.
- C. Salesforce B2B Commerce relies on a series of Javascript click listener events.
- D. CCRZ.pubSub defines the following three functions which can be used for event handling: trigger, on, and once.
- E. Writing directly to your own custom Backbone JS Views and Models automatically integrates that data into the Salesforce B2B Commerce Backbone Views and Models.
Answer: A,B,D
NEW QUESTION 35
How is a price group dynamically set?
- A. By using contract pricing
- B. By overriding the ccLogicProductPrice class
- C. By extending the ccApiPriceList API
- D. By extending the cc_hk_priceing hook
Answer: B
NEW QUESTION 36
Where is the API-based record creation generally handled in Salesforce B2B Commerce?
- A. In the methods available in extension hooks
- B. Data creation is not allowed
- C. The service-layer responsible for the entity
- D. Logic classes that implement the business logic for create operations
Answer: C
NEW QUESTION 37
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. Salesforce B2B Commerce includes do not support standard SalesForce remote actions.
- B. The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
- C. The Salesforce B2B Commerce logger cannot be utilized in standard remote actions
- D. A standard remote action will not have access to Salesforce B2B Commerce objects.
Answer: B,C
NEW QUESTION 38
Why is the use of a standard Visualforce control such as apex:form discouraged in Salesforce B2B Commerce page includes and subscriber pages?
- A. Apex:form render DOM components slowly
- B. Visualforce "scopes" controls that are present on a page and scope of the control will be set to "ccrz"
- C. Javascript events are not supported within an apex:form control
- D. The CCRZ Javascript object is not accessible within an apex:form control.
Answer: B
NEW QUESTION 39
What is the difference between Gross Layout Overrides and Subscriber Templates?
- A. Subscriber Templates allow for modification of the header and the footer, while Gross Layout Overrides allow for modification everything inside the header and footer.
- B. Gross Layout Overrides allow for the modification of the footer, while Subscriber Templates allow for modification of everything inside the header and footer.
- C. Subscriber Templates allows for modification of the header, the footer and the content in between them.
Gross Layout Overrides only allow for modification of the header and footer. - D. Gross Layout Overrides allow modification to CSS of a page, while Subscriber Templates allows for modification of the entire page including header and footer.
Answer: B
NEW QUESTION 40
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. UserInfo.getUserType()
- C. ... UserType
- D. ccrz.cc_CallContext.isGuest
Answer: D
NEW QUESTION 41
......
Salesforce Developer Fundamentals-B2B-Commerce-Developer Exam-Practice-Dumps: https://www.examslabs.com/Salesforce/Salesforce-Developer/best-B2B-Commerce-Developer-exam-dumps.html
Use Real B2B-Commerce-Developer Dumps - Salesforce Correct Answers: https://drive.google.com/open?id=1DPGNkdyDBC_JlTMdX2lLRAlZEVDA8GTL