Salesforce Certified B2B Commerce Developer Practice Test - Questions Answers, Page 5

List of questions
Question 41

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?
The conversion flag that allows for sObjects to be returned from the Global API's when provided as a Boolean parameter with a value of true is ccrz.ccAPI.SZ_SOBJECT. This flag indicates that the API should return the raw sObjects instead of the transformed objects that are usually returned by the API. For example,ccrz.ccServiceProduct.getProducts(ccrz.ccAPI.SZ_SOBJECT,true)will return the Product2 sObjects instead of the ccrz__E_Product__c objects. Salesforce
Reference:B2B Commerce and D2C Commerce Developer Guide,Data Sizing Conventions
Question 42

A query containing a subquery is executed. What is appended to the subquery name as part of its transformation by default in Salesforce B2B Commerce?
A query containing a subquery is executed. By default, in Salesforce B2B Commerce, ''__ccrz'' is appended to the subquery name as part of its transformation. This is done to avoid conflicts with the standard Salesforce fields and relationships. For example,SELECT Id, Name, (SELECT Id, Name FROM Contacts) FROM Accountwill be transformed toSELECT Id, Name, (SELECT Id, Name FROM Contacts__ccrz) FROM Account__ccrz. Salesforce
Reference:B2B Commerce and D2C Commerce Developer Guide,Query Transformation
Question 43

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 customer can create its own robots.txt file for three valid reasons:
The customer wants to reference multiple storefront sitemap indexes in a single robots.txt file. This can be useful if the customer has multiple storefronts under the same domain and wants to provide a single entry point for search engines to crawl their sitemaps.
The customer wants to reference a custom sitemap index. This can be useful if the customer has created their own sitemap index that contains custom sitemaps or sitemaps from other sources.
The customer's store is not located at the root of their domain. This can be useful if the customer has their store under a subdirectory or a subdomain and wants to specify a different robots.txt file for their store than for their main domain. Salesforce
Reference:B2B Commerce and D2C Commerce Developer Guide,Robots.txt File
Question 44

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)
Question 45

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

A user wants the pricing to reflect the price values stored in an external ERP during the checkoutflow. In what way can this requirement be satisfied?
Question 47

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?
Question 48

A user wants to have a customized experience for adding items to the cart. The user also wants the mini cart module to reflect changes to the state of the cart afterwords. How should this requirement be fulfilled?
Question 49

A user wants to leverage a three columnlayout 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?
Question 50

What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?
Question