
Updated Sep-2021 Test Engine to Practice Test for B2B-Commerce-Developer Exam Questions and Answers!
Salesforce Accredited B2B Commerce Developer Certification Sample Questions and Practice Exam
NEW QUESTION 46
Which two different types of services do Salesforce B2B
- A. Commerce APIs leverage? (2 answers) A) Logic services which are responsible for implementing business logic associated with entities.
- B. Data services which are responsible for querying and transforming data from entities
- C. Hook services which are extension points for subscribers to tie into.
- D. Global services which are responsible for querying and transforming data from entities
Answer: A,B
NEW QUESTION 47
Numerous flags ... have a direct impact on the result set provided by the Global API's. What Global API Data-Sizing convention flag prevents an API request from propagating to further requests when provided as a Boolean parameter with a value of true?
- A. ccrz.ccAPI.SZ_ASSC
- B. ccrz.ccAPI.SZ_REL
- C. ccrz.ccAPISizing.REL
- D. ccrz.ccAPISizing.ASSC
Answer: A
NEW QUESTION 48
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 49
What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?
- A. The theme needs to have "theme" in the name of the Static Resource.
- B. The theme needs to be set as a Custom Setting in Salesforce.
- C. The theme needs to be referred to in the head element on the page
- D. The theme needs to be set in the Configuration Settings.
Answer: A
NEW QUESTION 50
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. 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 manually set a cookie to debug with the Site Guest User.
- E. There is no need to use string concatenation to easily tag log statements with a subject.
Answer: C,D,E
NEW QUESTION 51
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 52
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 53
Which two steps are necessary to enable Salesforce B2B Commerce
logging in the managed package?
- A. Turn On the Checkbox "Cloudcraze Logging" in CC Admin.
- B. Set a cookie with the Id of the user accessing the storefront in CC Admin
- C. Ensure the value saved in the Logging token field is appended to the ccLog query parameter.
- D. Ensure you save a value in the Logging Token input field in the Global Settings section of CC Admin.
Answer: C,D
NEW QUESTION 54
What are three ways to implement custom post Order processing? (3 answers)
- A. Use cc_hk_Order.placeTarget to define a new Order Confirmation page which executes additional business logic.
- B. Use a Salesforce workflow rule that executes when an Order record is created.
- C. Extend cc_hk_invoice to handle custom business logic post Order processing
- D. Use Process builder to implement business processes that execute when an Order record is created.
- E. Modify or add custom Cart formula fields to handle logic.
Answer: A,B,D
NEW QUESTION 55
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 56
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 57
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 58
Which two statements are true regarding the cc_CallContext class in Salesforce B2B Commerce? (2 answers)
- A. The current storefront is accessible via this class
- B. The Salesforce session is accessible via the getSession method
- C. The userLocale variable returns the current Locale for storefront.
- D. The class can be used internally within Salesforce B2B Commerce and in subscriber code to access context level parameters
Answer: A,D
NEW QUESTION 59
Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
- A. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrder', myOrder), where myOrder is an order object
- B. crz.ccLog.log(System.LoggingLevel.DEBUG, 'D:myOrderList', myOrderList), where myOrderList is a list of orders
- C. crz.ccLog.log(System.LoggingLevel.WARN, 'D:something', 'Something unexpected occurred: The data we were expecting for pl was not there,')
- D. ccrz.ccLog.log(System.LoggingLevel.ERROR, 'D:something', myCallToGetMessage(pl) ), where myCallToGetMessage(pl) is a method invocation
Answer: C,D
NEW QUESTION 60
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.isEmpty(Map<String, Object>) and ccrz.ccUtil.isEmpty(List<Object>)
- B. ccrz.ccUtil.isNotEmpty(Map<String, Object>) and
ccrz.ccUtil.isNotEmpty(List<Object>) - C. ccrz.ccUtil.isNotValid(Map<String, Object>) and
ccrz.ccUtil.isNotValid(List<Object>) - D. ccrz.ccUtil.isValid(Map<String, Object>) and ccrz.ccUtil.isValid(List<Object>)
Answer: A,B
NEW QUESTION 61
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. Override the front end template and modify the way the embedded payment page gets loaded from the payment list configuration.
- B. Delete the Visualforce page from the code base.
- 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 62
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. *.New
- C. *.Edit
- D. Checkout
- E. *.pay
Answer: B,C,E
NEW QUESTION 63
In which three ways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)
- A. The sizing block is not removed.
- B. SZ_ASSC is used.
- C. The sizing block is removed after the first handler.
- D. SZ_ASSC is not used.
- E. When different entities are specified in the method invocation.
Answer: C,D,E
NEW QUESTION 64
......
Certification dumps Salesforce Developer B2B-Commerce-Developer guides - 100% valid: https://www.torrentvalid.com/B2B-Commerce-Developer-valid-braindumps-torrent.html
100% Pass Your B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer at First Attempt with TorrentValid: https://drive.google.com/open?id=1q6fTgWWA6OCIBU6_yIRWCJapOp7YfJUb