Updated Oct-2021 Test Engine to Practice Test for B2B-Commerce-Developer Exam Questions and Answers! [Q19-Q43]

Share

Updated Oct-2021 Test Engine to Practice Test for B2B-Commerce-Developer Exam Questions and Answers!

Salesforce Accredited B2B Commerce Developer Certification Sample Questions and Practice Exam

NEW QUESTION 19
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 20
What is a valid way of referencing the global cc_api_CartExtentsion apex class via subscriber code?

  • A. cloudcraze.cc_api_CartExtension
  • B. ccrz__cc_api_CartExtension
  • C. ccrz.cc_api_CartExtension
  • D. c__cc_api_CartExtension

Answer: C

 

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

  • A. cc_hk_Menu extension to pre-process which menu items are cached
  • B. cc_hk_Category extension to pre-process which category items are cached as menu items
  • C. cc_hk_Menu extension to post-process any cached menu items
  • D. cc_hk_Category extension to post-process any cached menu items

Answer: C

 

NEW QUESTION 22
Which three attributes are true regarding Subscriber pages? (3 answers)

  • A. Standard Salesforce B2B Commerce components are automatically included on the page e.g. Header links, images, menu items, containers, etc.
  • B. Out of the Box, Subscriber Pages are completely blank HTML pages.
  • C. Subscriber pages can include additional standard Salesforce B2B Commerce components such as featured products, category tree, and mini cart.
  • D. Subscriber pages allow customers to quickly create new custom pages for their storefront.
  • E. All the user interface components must be created manually.

Answer: A,C,D

 

NEW QUESTION 23
Which two steps are necessary to enable Salesforce B2B Commerce
logging in the managed package?

  • A. Turn On the Checkbox "Cloudcraze Logging" in CC Admin.
  • B. Set a cookie with the Id of the user accessing the storefront in CC Admin
  • C. Ensure the value saved in the Logging token field is appended to the ccLog query parameter.
  • D. Ensure you save a value in the Logging Token input field in the Global Settings section of CC Admin.

Answer: C,D

 

NEW QUESTION 24
Which three pages should be enabled for the Guest user profile for a storefront to have anonymous checkout?
(3 answers)

  • A. CCPaymentInfo
  • B. OrderConfirmation
  • C. OrderView
  • D. Checkout
  • E. CheckoutNew

Answer: A,B,E

 

NEW QUESTION 25
What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

  • A. Schema-less queries
  • B. SOQL
  • C. SQL
  • D. SOSL

Answer: B,D

 

NEW QUESTION 26
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 27
Which Salesforce B2B Commerce object needs to have a record added when defining a new Subscriber Pages to be rendered in a CC Page?

  • A. CC Page Sections
  • B. CC Admin
  • C. CC Storefront Assosiation
  • D. CC Subscriber Pages

Answer: D

 

NEW QUESTION 28
When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart. How can this requirement be fulfilled?

  • A. Override the prepareForSave method in ccrz.cc_api_CartExtension
  • B. Override the AllowCheckout method in ccrz.cc_api_CartExtension
  • C. Override the prepareToAdd method in ccrz.cc_api_CartExtension
  • D. Override the preprocess method in ccrz.cc_api_CartExtension

Answer: D

 

NEW QUESTION 29
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 30
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 31
Which three steps are necessary to have subscriber page added to Salesforce B2B Commerce after creating a custom Visualforce page? (3 answers)

  • A. Enable the Subscriber Page in CC Admin.
  • B. Create a new Visualforce page, and manually import the Salesforce B2B Commerce JavaScript libraries.
    Run in Anonymous Apex ccrz.cc_util_Reflection.upsertPageUIKey([arg1],[arg2],[arg3]);
  • C. Create a new CC Subscriber Page record that points to your custom Visualforce page.
  • D. Refresh the Page Keys Index in CC Admin.

Answer: A,C,D

 

NEW QUESTION 32
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 33
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 34
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 35
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 36
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 37
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 event that the Map is null, empty, or an object is not found for that key?

  • A. ccrz.ccUtil.... (Map<String.Object> mp, String key, Object ob)
  • B. ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob)
  • C. ccrz.ccUtil.defaultValue(Map<String.Object> mp, String key , Object ob)
  • D. ccrz.ccUtil.defv (Map<String.Object> mp, String key , Object ob)

Answer: D

 

NEW QUESTION 38
What is the recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works?

  • A. Override the autoComplete.search_input.minLength value in the CCRZ.uiProperties file
  • B. Override and extend the autoComplete method in cc_hk_Catalog.
  • C. Update the...minLength property in CC Admin, then build and activate a new cache.
  • D. Override the autocomplete template and create and register a new handlebars helper.

Answer: A

 

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

  • A. ccrz__E_Cart__c
  • B. c.E_Cart__c
  • C. cloudcraze__E_Cart__c
  • D. _Cart__c

Answer: A

 

NEW QUESTION 40
Which two statement are true for Mass Order (2 answers)

  • A. Mass Order pricing is done via a batch job.
  • B. Mass order works with the default wishlists
  • C. The variation product is leveraged for SKUs.
  • D. Mass Order is mobile ready with the ccrz templates.

Answer: A,C

 

NEW QUESTION 41
What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?

  • A. Bootstrap, Backbonejs, and handlebarsjs
  • B. Angularjs, react.js, and handlebarsjs
  • C. Bootstrap, Angularjs, and Backbonejs
  • D. Angularjs, Backbonejs, and handlebarsjs

Answer: A

 

NEW QUESTION 42
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 43
......

Certification dumps Salesforce Developer B2B-Commerce-Developer guides - 100% valid: https://www.2pass4sure.com/Salesforce-Developer/B2B-Commerce-Developer-actual-exam-braindumps.html

100% Pass Your B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer at First Attempt with 2Pass4sure: https://drive.google.com/open?id=1rC__NN8CYdnjMdAbqwZm-4Fca3WOaZRe