
Guaranteed Success in Salesforce Developer B2B-Commerce-Developer Exam Dumps
Salesforce B2B-Commerce-Developer Daily Practice Exam New 2021 Updated 80 Questions
NEW QUESTION 16
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_L
- C. CCRZ.ccPAI.SZ_M
- D. CCRZ.ccPAI.SZ_XL
Answer: B
NEW QUESTION 17
When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart. How can this requirement be fulfilled?
- A. Override the AllowCheckout method in ccrz.cc_api_CartExtension
- B. Override the prepareForSave method in ccrz.cc_api_CartExtension
- C. Override the preprocess method in ccrz.cc_api_CartExtension
- D. Override the prepareToAdd method in ccrz.cc_api_CartExtension
Answer: C
NEW QUESTION 18
Which service method should be overridden in order to allow "without sharing" queries?
- A. ccrz.ccService.queryWithoutSharing()
- B. ccrz.ccService.query()
- C. ccrz.ccService.initSVCDAO()
- D. ccrz.ccAPI.queryService()
Answer: C
NEW QUESTION 19
What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?
- A. Angularjs, Backbonejs, and handlebarsjs
- B. Bootstrap, Backbonejs, and handlebarsjs
- C. Bootstrap, Angularjs, and Backbonejs
- D. Angularjs, react.js, and handlebarsjs
Answer: B
NEW QUESTION 20
Which two statement are true for Mass Order (2 answers)
- A. Mass Order pricing is done via a batch job.
- B. Mass order works with the default wishlists
- C. Mass Order is mobile ready with the ccrz templates.
- D. The variation product is leveraged for SKUs.
Answer: A,D
NEW QUESTION 21
How does a project implement the process to persist payment information data in the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?
- A. Trigger the externalprocessedPayment and pass in the payment information object as an argument.
- B. Trigger a remote action when the process payment button is selected to capture the payment.
- C. Trigger the processPayment event and pass in the payment information object as an argument.
- D. Trigger a remote action to store the payment information in the URL query parameters.
Answer: C
NEW QUESTION 22
What is true regarding adding more Configuration Settings
to Salesforce B2B Commerce?
- A. More modules and metadata can be added to Salesforce B2B Commerce.
- B. Select "New" in your storefront's Configuration Settings and create a custom setting.
- C. Metadata can be added to existing modules, but you cannot add new modules.
- D. Configuration settings can only be extended through API's
Answer: A
NEW QUESTION 23
Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
- A. crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')
- B. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object
- C. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders
- D. ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation
Answer: A,D
NEW QUESTION 24
A configuration value, CO.NewOrder, is set to TRUE. What is one way of
preventing an existing payment page from being shown on the checkout payment page?
- A. Delete the Visualforce page from the code base.
- B. Override the front end template and modify the way the embedded payment page gets loaded from the payment list configuration.
- C. Remove the payment type associated with the payment page from CO.pmts, then rebuild and activate a new cache.
- D. Remove the value matching the page name from the pmt.whitelist configuration setting, then rebuild and activate a new Configuration cache
Answer: D
NEW QUESTION 25
In which three different ways can a theme be enabled in
Salesforce B2B Commerce? (3 answers)
- A. A per user setting
- B. An Account Group field value
- C. A Storefront setting
- D. Account
- E. Dynamically through a hook
Answer: B,C,E
NEW QUESTION 26
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. myRelationshipNameR=>(myName: value)
- B. myrelationshipname.myname: value
- C. My_Relationship_Name__r.My_Name__c: value
- D. myRelationshipName.myName: value
Answer: A
NEW QUESTION 27
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 properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.
- C. String parameters should be trimmed using String.trim().
- D. Query parameters should be stored on a backbone model prior to passing them to the server
Answer: B
NEW QUESTION 28
How is a price group dynamically set?
- A. By extending the cc_hk_priceing hook
- B. By overriding the ccLogicProductPrice class
- C. By using contract pricing
- D. By extending the ccApiPriceList API
Answer: B
NEW QUESTION 29
What are three advantages of using ccLog over the Salesforce
standard System.debug class? (3 answers)
- A. There is no need to manually set a cookie to debug with the Site Guest User.
- B. ccLog can debug syntax errors found in the JavaScript.
- C. There is no need to create a User Trace Flag.
- D. There is no need to use string concatenation to easily tag log statements with a subject.
- E. Append #ccLog=<Logging Token Name> to the end of the storefront URL in order to get logs in the inspector console.
Answer: A,C,D
NEW QUESTION 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)
- A. Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getCookies().
- B. Executing dynamic SOQL inside a without sharing class with a bind variable from cc_RemoteActionContentex class.
- C. Executing dynamic SOQL inside a without sharing class with a bind variable from the UserInfo class.
- D. Executing dynamic SOQL inside a without sharing class with a bind variable from PageReference.getParameters().
- E. Executing dynamic SOQL inside a without sharing class with a bind variable from ccAPI.CURRENT_VERSION.
Answer: A,B,D
NEW QUESTION 31
The ccUtil apex class in Salesforce B2B Commerce provides numerous utility functions that can be leveraged in subscriber classes.
What are two ways to check the input or return data of the Global API's? (2 answers)
- A. ccrz.ccUtil.isNotValid(Map<String, Object>) and
ccrz.ccUtil.isNotValid(List<Object>) - B. ccrz.ccUtil.isNotEmpty(Map<String, Object>) and
ccrz.ccUtil.isNotEmpty(List<Object>) - C. ccrz.ccUtil.isValid(Map<String, Object>) and ccrz.ccUtil.isValid(List<Object>)
- D. ccrz.ccUtil.isEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(List<Object>)
Answer: B,D
NEW QUESTION 32
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. robot.txt only works if there is one storefront in the org
- B. The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file
- C. The customer wants to have multiple robot.txt files in a single Salesforce Community.
- D. The customer's store is not located at the root of their domain.
- E. The customer wants to reference a custom sitemap index.
Answer: B,D,E
NEW QUESTION 33
In which three ways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)
- A. SZ_ASSC is used.
- B. SZ_ASSC is not used.
- C. The sizing block is removed after the first handler.
- D. The sizing block is not removed.
- E. When different entities are specified in the method invocation.
Answer: B,C,E
NEW QUESTION 34
......
Test Engine to Practice B2B-Commerce-Developer Test Questions: https://www.crampdf.com/B2B-Commerce-Developer-exam-prep-dumps.html
Use Valid B2B-Commerce-Developer Exam - Actual Exam Question & Answer: https://drive.google.com/open?id=1ZvhoFKSNNCLuj6RC2TLuBW2bQ52eMmQ-