
[Oct-2021] B2B-Commerce-Developer Pre-Exam Practice Tests | Exam Questions and Answers for Salesforce Developer Study Guide
Salesforce Accredited B2B Commerce Developer Certification Sample Questions
NEW QUESTION 24
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 25
Which three statements are true about Global API versioning? (3 answers)
- A. There is no need to pass API_VERSION to the Global APIs, and based on the Salesforce B2B Commerce Managed Package version, Global APIs are able to figure out what version of the API to use.
- B. The API version is scoped at the Class API level and NOT at the method level.
- C. Calling in with an API version set to lower than 1 will result in an exceptional case where the exception class ccrz.BelowMinAPIVersionException will be returned to callers.
- D. Minimum API_VERSION is 1 and the Maximum API version follows the releases. E.g. The maximum was 4 as of Salesforce B2B Commerce Release-4.5, 5 as of Salesforce B2B Commerce Release 4.6, etc.
- E. Calling in with an API version set to more than current maximum will result in exception case where the exception class ccrz.ExceedsMaxAPIVersionException will be returned to callers.
Answer: C,D,E
NEW QUESTION 26
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 27
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. myRelationshipNameR=>(myName: value)
- C. My_Relationship_Name__r.My_Name__c: value
- D. myRelationshipName.myName: value
Answer: B
NEW QUESTION 28
Where are handlebar Templates defined in the Cloudcraze managed package?
- A. uiProperties file
- B. Configuration Setting configuration
- C. cc_hk_UserInterface extension
- D. Page Settings configuration
Answer: A
NEW QUESTION 29
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. Cart
- B. *.New
- C. *.Edit
- D. Checkout
- E. *.pay
Answer: B,C,E
NEW QUESTION 30
Which cookie stores the effective account ID when effective account is enabled?
- A. apex__cc_anonymous_Country
- B. apex__cclgtkn
- C. apex__effacc
- D. apex__currCartId
Answer: C
NEW QUESTION 31
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. Data services which are responsible for querying and transforming data from entities
- C. Hook services which are extension points for subscribers to tie into.
- D. Global services which are responsible for querying and transforming data from entities
Answer: A,B
NEW QUESTION 32
Which event is triggered within Salesforce B2B Commerce whenever a cart's state changes?
- A. pageMessage
- B. cartState
- C. cart
- D. cartChange
Answer: D
NEW QUESTION 33
How are variables bound when services use the ccSercviceDao class to execute queries?
- A. String substitution
- B. Apex class variables
- C. Apex local variables
- D. Global variables
Answer: B
NEW QUESTION 34
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 35
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. My_Field_Name__c
- D. myFieldName
Answer: D
NEW QUESTION 36
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 37
Which method needs to be implemented when rendering a Salesforce B2B
Commerce view in order to have it called after rendering has finished?
- A. onRender()
- B. postRender()
- C. afterRender()
- D. There are no methods called on the view after rendering has finished
Answer: B
NEW QUESTION 38
Which handlebars helper expression is used in Salesforce B2B Commerce pages and components to toggle the display of a block of markup?
- A. {{#ifConfig 'Field__c'}} ... {{/ifConfig}}
- B. {{#ifSetting 'Page.cfg}} ... {{/ifSetting}}
- C. {{#ifDisplay 'Page.cfg'}} ... {{/ifDisplay}}
- D. {{#ifStoreSetting 'Field__c'}} ... {{/ifStoreSetting}}
Answer: C
NEW QUESTION 39
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 40
A user wants to leverage a three column layout on a page. The user also wants to move the mini-cart widget from the right to the center column. How can this requirement be fulfilled?
- A. Page Include
- B. Subscriber Template
- C. HandleBar Template Override
- D. Gross Layout Override
Answer: B
NEW QUESTION 41
......
Salesforce Exam Practice Test To Gain Brilliante Result: https://www.actualcollection.com/B2B-Commerce-Developer-exam-questions.html
Tested Material Used To B2B-Commerce-Developer: https://drive.google.com/open?id=1Th1fZUnJ3w9zgXFQ536v3wdXG4UhpbhK