This page was exported from Best Free Exam Guide [ http://free.exams4sures.com ] Export date:Sat Mar 15 20:02:45 2025 / +0000 GMT ___________________________________________________ Title: 2022 Valid B2B-Commerce-Developer test answers & Salesforce Exam PDF [Q19-Q39] --------------------------------------------------- 2022 Valid B2B-Commerce-Developer test answers & Salesforce Exam PDF Free Salesforce B2B-Commerce-Developer Exam Questions and Answer from Training Expert Exams4sures Salesforce B2B-Commerce-Developer Exam Syllabus Topics: TopicDetailsTopic 1Trigger events by leveraging JavaScript libraries and custom Remote ActionsWrite business logic customizations using Apex classes that will use SOQL and DML alongwith leveraging B2B Commerce's RESTful API'sTopic 2Generate Dynamic views using Handlebar Helpers and creating subscriber views, models, classes, and pages Understand basic Salesforce concepts and functionalityTopic 3Program with an object-oriented programming language Understand basic data modeling for relational databasesTopic 4Write programmatic customizations to both the business logic and user interface layers using Apex and VisualForce   NO.19 What are two guidelines for logging that are used within the core Salesforce B2B Commerce product? (2 answers)  Items or data within computational intensive loops should be logged.  The close method of ccrz.ccLog must be called at the end of the remote action.  No calls to ccrz.ccLog can be made before cc_CallContext.initRemoteContext is executed.  It is okay to log any data on the server that is already logged on the client side. NO.20 Which method is used to override when extending the Salesforce B2B Commerce logic providers?  doLogic  process  doAction  fetch NO.21 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?  Gross Layout Override  Subscriber Template  Page Include  HandleBar Template Override NO.22 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)  Salesforce apex:include is wrapped in <span> tags.  HTML does not support <div> tags inside the <head>  Salesforce apex:include is wrapped in tags.  HTML does not support <span> tags inside the <head> NO.23 How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling  An exception is generated for unknown API keys  Parameters are passed through the service handlers  Parameters are filtered out before the request is processed  Parameters are separated, but unused NO.24 Which event is triggered within Salesforce B2B Commerce whenever a cart’s state changes?  cartChange  cart  pageMessage  cartState NO.25 Why is the use of a standard Visualforce control such as apex:form discouraged in Salesforce B2B Commerce page includes and subscriber pages?  Visualforce “scopes” controls that are present on a page and scope of the control will be set to “ccrz”  Apex:form render DOM components slowly  The CCRZ Javascript object is not accessible within an apex:form control.  Javascript events are not supported within an apex:form control NO.26 What is a best practice when passing query parameters from user interface to an apex controller?  Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.  String parameters should be trimmed using String.trim().  Query parameters should be passed only to Salesforce B2B Commerce classes that you are extending.  Query parameters should be stored on a backbone model prior to passing them to the server NO.27 Which two aspects are applicable to Page Includes? (2 answers)  Standard Visualforce controls such as apex:form should not be used within a page include  Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled  Page Includes can be configured as Body Includes Begin.  If a controller is used for an included page, then a merge variable must be present on the page. NO.28 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 standard remote action will not have access to Salesforce B2B Commerce objects.  The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object.  Salesforce B2B Commerce includes do not support standard SalesForce remote actions.  The Salesforce B2B Commerce logger cannot be utilized in standard remote actions NO.29 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)  Override the getFieldsMap method and add subscriber specific code.  Ensure that any helper methods are defined as private and static only.  Create a global with sharing class that extends ccrz.ccServiceProduct.  Create a public with sharing class that extends ccrz.ccServiceProduct.  Override the fetch method and add your subscriber specific code here. NO.30 Although Salesforce B2B Commerce and Salesforce recommend against using“without sharing classes” whenever possible, sometimes it is unavoidable. Which three items will open up a major security hole? (3 answers)  Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getParameters().  Executing dynamic SOQL inside a without sharing class with a bind variable from the UserInfo class.  Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getCookies().  Executing dynamic SOQL inside a without sharing class with a bind variable from cc_RemoteActionContentex class.  Executing dynamic SOQL inside a without sharing class with a bind variable from ccAPI.CURRENT_VERSION. NO.31 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?  Page Include  Subscriber Page (CC Page)  Subscriber Template  Body Include Begin NO.32 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?  myrelationshipname.myname: value  myRelationshipName.myName: value  myRelationshipNameR=>(myName: value)  My_Relationship_Name__r.My_Name__c: value NO.33 Which event should be triggered when user facing info, warning or error messages need to be displayed on a Visualforce page?  showMessage  displayPageMessage  displayMessage  pageMessage NO.34 Which two different types of services do Salesforce B2B  Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.  Global services which are responsible for querying and transforming data from entities  Data services which are responsible for querying and transforming data from entities  Hook services which are extension points for subscribers to tie into. NO.35 In which three ways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)  When different entities are specified in the method invocation.  The sizing block is not removed.  SZ_ASSC is used.  The sizing block is removed after the first handler.  SZ_ASSC is not used. NO.36 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?  CCRZ.ccPAI.SZ_S  CCRZ.ccPAI.SZ_L  CCRZ.ccPAI.SZ_M  CCRZ.ccPAI.SZ_XL NO.37 Where are handlebar Templates defined in the Cloudcraze managed package?  uiProperties file  Configuration Setting configuration  cc_hk_UserInterface extension  Page Settings configuration NO.38 What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?  _Cart__c  c.E_Cart__c  ccrz__E_Cart__c  cloudcraze__E_Cart__c NO.39 Which handlebars helper expression is used in Salesforce B2B Commerce pages and components to toggle the display of a block of markup?  {{#ifStoreSetting ‘Field__c’}} … {{/ifStoreSetting}}  {{#ifSetting ‘Page.cfg}} … {{/ifSetting}}  {{#ifConfig ‘Field__c’}} … {{/ifConfig}}  {{#ifDisplay ‘Page.cfg’}} … {{/ifDisplay}}  Loading … Top Salesforce B2B-Commerce-Developer Courses Online: https://www.exams4sures.com/Salesforce/B2B-Commerce-Developer-practice-exam-dumps.html --------------------------------------------------- Images: https://free.exams4sures.com/wp-content/plugins/watu/loading.gif https://free.exams4sures.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-05-12 11:15:44 Post date GMT: 2022-05-12 11:15:44 Post modified date: 2022-05-12 11:15:44 Post modified date GMT: 2022-05-12 11:15:44