
Exam Questions and Answers for B2B-Commerce-Developer Study Guide Questions and Answers!
Salesforce Accredited B2B Commerce Developer Certification Sample Questions and Practice Exam
NEW QUESTION 33
Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)
- A. The current storefront is accessible via this class
- B. The Salesforce session is accessible via the getSession method
- C. The userLocale variable returns the current Locale for storefront.
- D. The class can be used internally within Salesforce B2B Commerce and in subscriber code to access context level parameters
Answer: A,D
NEW QUESTION 34
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 35
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 36
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 37
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 38
The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)
- A. Refetch data (used on some Logic classes)
- B. Related Query to call (sub queries or direct queries)
- C. Object type casting
- D. Override static DAO classes and methods
- E. Return formats as Map<String, Object> or SObjects lists
Answer: A,B,E
NEW QUESTION 39
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 40
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 41
A Developer created a custom field that a project wants to expose on a given page.
How does the Developer ensure that the field is available to display on a given page?
- A. Create a new Service Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class
- B. Create a new Logic Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class
- C. Override the Service Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class.
- D. Override the Logic Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class
Answer: C
NEW QUESTION 42
A user wants to have a customized experience for adding items to the cart. The user also wants the mini cart module to reflect changes to the state of the cart afterwords. How should this requirement be fulfilled?
- A. Leverage the Add to Cart Global API which add items to the cart and also refreshes the page with the new data.
- B. Trigger the global "cartChange" event after the Add to Cart Action on the custom button.
- C. Trigger the global "cartChange" event and then trigger "changeMiniCart" event after the Add to Cart Action on the custom button.
- D. Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header.
Answer: A
NEW QUESTION 43
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?
- A. view:*:rendered
- B. view:*:onload
- C. view:*:refresh
- D. view:*:load
Answer: C
NEW QUESTION 44
Which out of the box Salesforce B2B Commerce page can give instructions to web crawlers from accessing specific Salesforce B2B Commerce pages?
- A. CCPage
- B. CCCat?SiteMap
- C. cc_RobotsTxT
- D. CCSiteIndex
Answer: C
NEW QUESTION 45
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 46
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 47
What are three ways to test the value of Page Label on any Salesforce B2B Commerce Community Page? (3 answers)
- A. Execute CCRZ.processPageLabelMap('PAGE_LABEL_NAME') in the JavaScript console.
- B. Access the source HTML for the page via the browser developer tools.
- C. Execute (('PAGE_LABEL_NAME')) in the JavaScript console
- D. Execute CCRZ.pagevars.pageLabels['PAGE_LABEL_NAME') in the JavaScript console.
- E. Enable the 'display page label names' in cc admin.
Answer: A,D,E
NEW QUESTION 48
Which two aspects are applicable to Page Includes? (2 answers)
- A. Page Includes can be configured as Body Includes Begin.
- B. Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled
- C. Standard Visualforce controls such as apex:form should not be used within a page include
- D. If a controller is used for an included page, then a merge variable must be present on the page.
Answer: C,D
NEW QUESTION 49
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
- A. Parameters are passed through the service handlers
- B. An exception is generated for unknown API keys
- C. Parameters are separated, but unused
- D. Parameters are filtered out before the request is processed
Answer: A
NEW QUESTION 50
A query containing a subquery is executed. What is appended to the subquery name as part of its transformation by default in Salesforce B2B Commerce?
- A. The letter "S"
- B. "__ccrz"
- C. The "*" symbol
- D. A subscriber-supplied token
Answer: A
NEW QUESTION 51
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 52
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 53
Numerous flags when set, have a direct impact on the result set provided by the Global API's. Which conversion flag allows for sObjects to be returned from the Global API's when provided as a Boolean parameter with a value of true?
- A. ccrz.ccAPISizing.SOBJECT
- B. ccrz.ccAPISizing.SKIPTRZ
- C. ccrz.ccAPI.SZ_SOBJECT
- D. ccrz.ccAPI.SZ_SKIPTRZ
Answer: D
NEW QUESTION 54
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 55
......
B2B-Commerce-Developer certification dumps - Salesforce Developer B2B-Commerce-Developer guides - 100% valid: https://www.dumpstillvalid.com/B2B-Commerce-Developer-prep4sure-review.html
100% Pass Your B2B-Commerce-Developer at First Attempt with DumpStillValid: https://drive.google.com/open?id=18__Z_h-p2tjdqWS7ptzHdCYbhquv-7TV
