[2022] Use Valid B2B-Commerce-Developer Exam - Actual Exam Question & Answer [Q24-Q46]

Share

[2022] Use Valid B2B-Commerce-Developer Exam - Actual Exam Question & Answer

Test Engine to Practice B2B-Commerce-Developer Test Questions

NEW QUESTION 24
Witch static method invocation is used to initialize ccrz.cc_CallContext with information from ccrz.cc_RemoteActionContext and return an instance of ccrz.cc_RemoteActionResult in an apex
@RemoteAction methos?

  • A. ccrz.cc_CallContext.initializeCallContext(ccrz.cc_RemoteActionContext)
  • B. ccrz.cc_CallContext.init(ccrz.cc_RemoteActionContext)
  • C. ccrz.cc_CallContext.initCallContext(ccrz.cc_RemoteActionContext)
  • D. ccrz.cc_CallContext.initRemoteActionContext(ccrz.cc_RemoteActionContext)

Answer: B

 

NEW QUESTION 25
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. A standard remote action will not have access to Salesforce B2B Commerce objects.
  • B. The Salesforce B2B Commerce logger cannot be utilized in standard remote actions
  • C. The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.
  • D. Salesforce B2B Commerce includes do not support standard SalesForce remote actions.

Answer: B,C

 

NEW QUESTION 26
A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What should be typed in the Developer Tools Console in the browser to view the fields available for the Product Detail Page?

  • A. CCRZ.productSearchView
  • B. CCRZ.productDetailModel
  • C. CCRZ.productDetailView
  • D. CCRZ.cartView

Answer: B

 

NEW QUESTION 27
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. None of the above
  • B. Override the computePricingCart method in ccrz.cc_api_PriceAdjustoment 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. Override the computePricingReview method in ccrz.cc_CartExtension and make the callout in this method.

Answer: A

 

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

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

Answer: D

 

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

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

Answer: A,B,D

 

NEW QUESTION 30
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?

  • A. view:*:rendered
  • B. view:*:refresh
  • C. view:*:load
  • D. view:*:onload

Answer: B

 

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

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

Answer: D

 

NEW QUESTION 32
What are two guidelines for logging that are used within the core Salesforce B2B Commerce product? (2 answers)

  • A. It is okay to log any data on the server that is already logged on the client side.
  • B. No calls to ccrz.ccLog can be made before cc_CallContext.initRemoteContext is executed.
  • C. Items or data within computational intensive loops should be logged.
  • D. The close method of ccrz.ccLog must be called at the end of the remote action.

Answer: B,D

 

NEW QUESTION 33
Which two different types of services do Salesforce B2B

  • A. Data services which are responsible for querying and transforming data from entities
  • B. Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.
  • C. Global services which are responsible for querying and transforming data from entities
  • D. Hook services which are extension points for subscribers to tie into.

Answer: A,B

 

NEW QUESTION 34
Which event should be triggered when user facing info, warning or error messages need to be displayed on a Visualforce page?

  • A. displayPageMessage
  • B. displayMessage
  • C. showMessage
  • D. pageMessage

Answer: D

 

NEW QUESTION 35
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 wants to reference a custom sitemap index.
  • B. The customer's store is not located at the root of their domain.
  • C. The customer wants to have multiple robot.txt files in a single Salesforce Community.
  • D. The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file
  • E. robot.txt only works if there is one storefront in the org

Answer: A,B,D

 

NEW QUESTION 36
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 a lowercase first letter, camelcase convention
  • C. Fields names are returned with "c." prepended in their name.
  • D. Fields names can be mapped to any naming convention desired

Answer: B

 

NEW QUESTION 37
Which handlebars helper expression is used in Salesforce B2B Commerce pages and components to toggle the display of a block of markup?

  • A. {{#ifSetting 'Page.cfg}} ... {{/ifSetting}}
  • B. {{#ifStoreSetting 'Field__c'}} ... {{/ifStoreSetting}}
  • C. {{#ifDisplay 'Page.cfg'}} ... {{/ifDisplay}}
  • D. {{#ifConfig 'Field__c'}} ... {{/ifConfig}}

Answer: C

 

NEW QUESTION 38
What is a best practice when passing query parameters from user interface to an apex controller?

  • A. String parameters should be trimmed using String.trim().
  • B. Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.
  • C. Query parameters should be stored on a backbone model prior to passing them to the server
  • D. Query parameters should be passed only to Salesforce B2B Commerce classes that you are extending.

Answer: B

 

NEW QUESTION 39
Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)

  • A. The Salesforce session is accessible via the getSession method
  • B. The current storefront is accessible via this class
  • C. The class can be used internally within Salesforce B2B Commerce and in subscriber code to access context level parameters
  • D. The userLocale variable returns the current Locale for storefront.

Answer: B,C

 

NEW QUESTION 40
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. 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.
  • 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 Logic Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class
  • D. 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

Answer: A

 

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

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

Answer: B

 

NEW QUESTION 42
The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)

  • A. Return formats as Map<String, Object> or SObjects lists
  • B. Related Query to call (sub queries or direct queries)
  • C. Override static DAO classes and methods
  • D. Object type casting
  • E. Refetch data (used on some Logic classes)

Answer: A,B,E

 

NEW QUESTION 43
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. My_Relationship_Name__r.My_Name__c: value
  • C. myRelationshipName.myName: value
  • D. myRelationshipNameR=>(myName: value)

Answer: D

 

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. CCCat?SiteMap
  • B. CCPage
  • C. cc_RobotsTxT
  • D. CCSiteIndex

Answer: C

 

NEW QUESTION 45
Which method is used to override when extending the Salesforce B2B Commerce logic providers?

  • A. doAction
  • B. process
  • C. fetch
  • D. doLogic

Answer: B

 

NEW QUESTION 46
......


Salesforce B2B-Commerce-Developer Exam Syllabus Topics:

TopicDetails
Topic 1
  • Write programmatic customizations to both the business logic and user interface layers using Apex and VisualForce
Topic 2
  • Program with an object-oriented programming language
  • Understand basic data modeling for relational databases
Topic 3
  • Generate Dynamic views using Handlebar Helpers and creating subscriber views, models, classes, and pages
  • Understand basic Salesforce concepts and functionality
Topic 4
  • Trigger events by leveraging JavaScript libraries and custom Remote Actions
  • Write business logic customizations using Apex classes that will use SOQL and DML alongwith leveraging B2B Commerce's RESTful API's

 

B2B-Commerce-Developer Actual Questions Answers PDF 100% Cover Real Exam Questions: https://www.testkingpass.com/B2B-Commerce-Developer-testking-dumps.html

B2B-Commerce-Developer Real Exam Questions Test Engine Dumps Training With 80 Questions: https://drive.google.com/open?id=10BFybA_DnF82o5fbexFJbUST_ftfz9g8