[Q18-Q43] Latest B2B-Commerce-Developer Exam with Accurate Salesforce Accredited B2B Commerce Developer PDF Questions [Oct 06, 2021]

Share

[Oct 06, 2021] Latest B2B-Commerce-Developer Exam with Accurate Salesforce Accredited B2B Commerce Developer PDF Questions

Practice To B2B-Commerce-Developer - ExamTorrent Remarkable Practice On your Salesforce Accredited B2B Commerce Developer Exam

NEW QUESTION 18
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 19
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 20
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 21
The ccrz.cc_hk_UserInterface apex class, HTML Head Include Begin and HTML Head Include End Cloudcraze Page Include sections allow additional content to be added to the HTML <head> tag. What are two reasons that is it preferred to use the ccrz.cc_hk_UserInterface extension over the Cloudcraze Page Include sections? (2 answers)

  • A. HTML does not support <span> tags inside the <head>
  • B. HTML does not support <div> tags inside the <head>
  • C. Salesforce apex:include is wrapped in tags.
  • D. Salesforce apex:include is wrapped in <span> tags.

Answer: A,D

 

NEW QUESTION 22
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 23
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 24
Salesforce B2B leverages global API's for encapsulating business logic into blocks that can be extended and modified by subscribers. Which three statements are true regarding extending ccServiceProduct and exposing custom fields on the Product Detail Page? (3 answers)

  • A. Ensure that any helper methods are defined as private and static only.
  • B. Override the getFieldsMap method and add subscriber specific code.
  • C. Override the fetch method and add your subscriber specific code here.
  • D. Create a public with sharing class that extends ccrz.ccServiceProduct.
  • E. Create a global with sharing class that extends ccrz.ccServiceProduct.

Answer: B,C,E

 

NEW QUESTION 25
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 26
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 27
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 28
Which three actions are applicable when extending a default Salesforce B2B Commerce page via a page include? (3 answers)

  • A. Prepend "c." to the name of the page referenced in the configuration setting.
  • B. Create a Service Class override to query the new page include.
  • C. Build and activate a new configuration cache setting via CC admin.
  • D. Create a configuration setting for enabling the page include and assigning the new page include via CC admin.
  • E. Create the VisualForce page you wish to include to the Salesforce b2B Commerce page.

Answer: C,D,E

 

NEW QUESTION 29
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 30
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 31
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 32
Which service method should be overridden in order to allow "without sharing" queries?

  • A. ccrz.ccService.queryWithoutSharing()
  • B. ccrz.ccService.initSVCDAO()
  • C. ccrz.ccAPI.queryService()
  • D. ccrz.ccService.query()

Answer: B

 

NEW QUESTION 33
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 34
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 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 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 37
Which handlebars helper function is used on Salesforce B2B Commerce pages and components for formatting price values?

  • A. price
  • B. formatPrice
  • C. showprice
  • D. priceAbs

Answer: A

 

NEW QUESTION 38
Salesforce B2B Commerce natively provides a robots.txt file, however, a customer can also create its own version.Which three scenarios are valid reasons for customer to create their own robots.txt file? (3 answers)

  • A. The customer's store is not located at the root of their domain.
  • B. The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file
  • C. robot.txt only works if there is one storefront in the org
  • D. The customer wants to have multiple robot.txt files in a single Salesforce Community.
  • E. The customer wants to reference a custom sitemap index.

Answer: A,B,E

 

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

Exam Questions and Answers for  B2B-Commerce-Developer Study Guide Questions and Answers!: https://www.examtorrent.com/B2B-Commerce-Developer-valid-vce-dumps.html

Practice To B2B-Commerce-Developer - ExamTorrent Remarkable Practice On your Salesforce Accredited B2B Commerce Developer Exam: https://drive.google.com/open?id=1f_Om-1t8-4PoBDlWZ3oldF0FG0Hh5tnv