
B2B-Commerce-Developer Certification - The Ultimate Guide [Updated 2022]
B2B-Commerce-Developer Practice Exam and Study Guides - Verified By PracticeVCE
NEW QUESTION 16
Which format is the custom Salesforce field with the API name
"My_Fiels_Name__c" transformed onto by default in Salesforce B2B Commerce?
- A. myFieldName
- B. My_Field_Name__c
- C. MyFieldName
- D. myfieldname
Answer: A
NEW QUESTION 17
Which three actions are applicable when modifying the number of steps required in the Salesforce Commerce Checkout flow? (3 answers)
- A. Build and activate a new configuration cache setting via CC admin.
- B. Add a page include to the checkout page.
- C. Set the value of the configuration setting defined as CO.overrideFlow to TRUE.
- D. Perform a template override on the Checkout page.
- E. Set the value of the configuration setting defined as CO.useDef to TRUE
Answer: A,B,C
NEW QUESTION 18
A new payment type for the Checkout flow has been implemented. Which three descriptors follow best practice for possible configuration metadata are needed to enable a flow? (3 answers)
- A. Cart
- B. *.pay
- C. *.Edit
- D. Checkout
- E. *.New
Answer: B,C,E
NEW QUESTION 19
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. _Cart__c
- D. cloudcraze__E_Cart__c
Answer: A
NEW QUESTION 20
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. Salesforce apex:include is wrapped in <span> tags.
- B. HTML does not support <span> tags inside the <head>
- C. Salesforce apex:include is wrapped in tags.
- D. HTML does not support <div> tags inside the <head>
Answer: A,B
NEW QUESTION 21
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. Create a global with sharing class that extends ccrz.ccServiceProduct.
- B. Override the getFieldsMap method and add subscriber specific code.
- C. Create a public with sharing class that extends ccrz.ccServiceProduct.
- D. Override the fetch method and add your subscriber specific code here.
- E. Ensure that any helper methods are defined as private and static only.
Answer: A,B,D
NEW QUESTION 22
Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)
- A. The class can be used internally within Salesforce B2B Commerce and in subscriber code to access context level parameters
- B. The current storefront is accessible via this class
- C. The userLocale variable returns the current Locale for storefront.
- D. The Salesforce session is accessible via the getSession method
Answer: A,B
NEW QUESTION 23
Which Global JavaScript Object should be extended when
writing custom Remote Actions?
- A. CCRZ.RemoteInvocation
- B. CCRZ.cc_CallContext
- C. CCRZ.
- D. CCRZ.cc
Answer: A
NEW QUESTION 24
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
- A. An exception is generated for unknown API keys
- B. Parameters are passed through the service handlers
- C. Parameters are filtered out before the request is processed
- D. Parameters are separated, but unused
Answer: B
NEW QUESTION 25
What are three ways to test the value of Page Label on any Salesforce B2B Commerce Community Page? (3 answers)
- A. Execute CCRZ.pagevars.pageLabels['PAGE_LABEL_NAME') in the JavaScript console.
- B. Execute CCRZ.processPageLabelMap('PAGE_LABEL_NAME') in the JavaScript console.
- C. Enable the 'display page label names' in cc admin.
- D. Execute (('PAGE_LABEL_NAME')) in the JavaScript console
- E. Access the source HTML for the page via the browser developer tools.
Answer: A,B,C
NEW QUESTION 26
Which method is used to override when extending the Salesforce B2B Commerce logic providers?
- A. fetch
- B. doAction
- C. doLogic
- D. process
Answer: D
NEW QUESTION 27
What are three advantages of using ccLog over the Salesforce
standard System.debug class? (3 answers)
- A. Append #ccLog=<Logging Token Name> to the end of the storefront URL in order to get logs in the inspector console.
- B. There is no need to create a User Trace Flag.
- C. There is no need to manually set a cookie to debug with the Site Guest User.
- D. ccLog can debug syntax errors found in the JavaScript.
- E. There is no need to use string concatenation to easily tag log statements with a subject.
Answer: B,C,E
NEW QUESTION 28
Which two aspects are applicable to Page Includes? (2 answers)
- A. If a controller is used for an included page, then a merge variable must be present on the page.
- B. Page Includes can be configured as Body Includes Begin.
- C. Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled
- D. Standard Visualforce controls such as apex:form should not be used within a page include
Answer: A,D
NEW QUESTION 29
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 have multiple robot.txt files in a single Salesforce Community.
- B. The customer wants to reference a custom sitemap index.
- C. The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file
- D. The customer's store is not located at the root of their domain.
- E. robot.txt only works if there is one storefront in the org
Answer: B,C,D
NEW QUESTION 30
Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
- A. ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation
- B. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders
- C. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object
- D. crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')
Answer: A,D
NEW QUESTION 31
In which three different ways can a theme be enabled in
Salesforce B2B Commerce? (3 answers)
- A. A Storefront setting
- B. An Account Group field value
- C. Account
- D. Dynamically through a hook
- E. A per user setting
Answer: A,B,D
NEW QUESTION 32
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 33
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.cartView
- B. CCRZ.productDetailModel
- C. CCRZ.productSearchView
- D. CCRZ.productDetailView
Answer: B
NEW QUESTION 34
Which two Salesforce B2B Commerce visualforce pages must be enabled at a Salesforce Community level to make the out of the box SEO functionality available? (2 answers)
- A. ProductMap
- B. SizeMap
- C. CCSizeIndex
- D. CCCatSiteMap
Answer: C,D
NEW QUESTION 35
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.defaultValue(Map<String.Object> mp, String key , Object ob)
- C. ccrz.ccUtil.defVal (Map<String.Object> mp, String key, Object ob)
- D. ccrz.ccUtil.defv (Map<String.Object> mp, String key , Object ob)
Answer: D
NEW QUESTION 36
How are version related upgrades passed on to subscriber API extensions/overrides?
- A. Extensions and overridden APIs don't support-related upgrades.
- B. APIs callback with specific versions specified; the user must know which version number to use.
- C. Copy and paste of specific code is "built-in"
- D. The "delegate" allows inherited method calls access to the most recently specified service version
Answer: D
NEW QUESTION 37
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. Refresh the Page Keys Index in CC Admin.
- C. 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]); - D. Create a new CC Subscriber Page record that points to your custom Visualforce page.
Answer: A,B,D
NEW QUESTION 38
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 39
......
Ultimate Guide to the B2B-Commerce-Developer - Latest Edition Available Now: https://vceplus.practicevce.com/Salesforce/B2B-Commerce-Developer-practice-exam-dumps.html