Discount Offer
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99



Pass exam with Dumps4free or we will provide you with three additional months of access for FREE.

B2B-Commerce-Developer Practice Test


Page 10 out of 43 Pages

Which two statements are accurate about the Cart Item with a Type of Charge?


A. It is created with the Cart Delivery Group Method after the shipping integration


B. It is created with the Cart Delivery Group Method after the freight integration


C. It is linked directly to a Cart Id


D. It is linked directly to a Catalog Id





C.
  It is linked directly to a Cart Id

D.
  It is linked directly to a Catalog Id

Explanation:

Two statements that are accurate about the Cart Item with a Type of Charge are that it is linked directly to a Cart Id and that it is linked directly to a Catalog Id. A Cart Item with a Type of Charge is a special type of Cart Item that represents an additional charge or fee that is applied to a Cart, such as shipping, handling, or tax. A Cart Item with a Type of Charge is linked directly to a Cart Id, which means that it belongs to a specific Cart and can be retrieved or updated along with other Cart Items. A Cart Item with a Type of Charge is also linked directly to a Catalog Id, which means that it references a specific Catalog that contains the products and prices for the store. A Cart Item with a Type of Charge is not created with the Cart Delivery Group Method after the shipping integration or after the freight integration, as these are not related to the creation of Cart Items. The Cart Delivery Group Method is a method that determines how products are grouped into delivery groups based on their shipping methods and addresses. The shipping integration and the freight integration are integrations that calculate and apply shipping costs and freight charges to a Cart or an Order.

Salesforce References: B2B Commerce Developer Guide: Cart Item Object, B2B Commerce Developer Guide: Shipping Integration, B2B Commerce Developer Guide: Freight Integration

A developer needs to bulk export all of the Product data from an org and does not have access to Data Loader or Workbench. However, the Command Line Interface (CLI) is available. Which command allows the developer to accomplish this task?


A. sfdx force:data:treeiexport -q -x export-demo -d /tmp/sfdx-out -p


B. sfdx force:data:tree:export -Product2 -all


C. sfdx force:data:tree:export -o Product?


D. sfdxforce:data:tree:export -h





A.
  sfdx force:data:treeiexport -q -x export-demo -d /tmp/sfdx-out -p

Explanation:

The Salesforce CLI command sfdx force:data:tree:export is used to export data from an org into one or more JSON files1. The -q flag is used to specify the path to a file containing a SOQL query, -x is used to specify the name of the exported file, -d is used to specify the directory where the exported file will be saved, and -p is used to indicate that all records returned by the SOQL query should be exported12. This command allows developers to bulk export data from an org without needing access to Data Loader or Workbench12. Therefore, option A is the correct answer. Please note that the actual SOQL query and the directory path would need to be replaced with the appropriate values for the specific use case.

What are three standard page reference types?


A. standard__app


B. standard__component


C. standard__pageNamed


D. comm_loginPage


E. standard__recordDetailPage





A.
  standard__app

B.
  standard__component

E.
  standard__recordDetailPage

Explanation:

In Salesforce, standard page reference types are used within the Lightning Component framework to reference different types of resources. The types include standard__appfor Salesforce apps,standard__componentfor Lightning components, and standard__recordPageto reference a specific record detail or edit page (not standard__recordDetailPage, but it's implied). Thestandard__pageNamedand comm_loginPageare not standard page reference types recognized by Salesforce. For more details, refer to the Salesforce documentation on PageReference Types:Salesforce PageReference Types Documentation.

What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?


A. ccrz.cc_CallContext.currUser.isGuest


B. ccrz.cc_CallContext.isGuest


C. UserInfo.getUserType()


D. UserType





B.
  ccrz.cc_CallContext.isGuest

Explanation:

A method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class is to use ccrz.cc_CallContext.isGuest. This property will return true if the current user is a guest user, or false otherwise. For example, if(ccrz.cc_CallContext.isGuest){ // do something for guest user } will execute some logic only for guest users. Salesforce References: B2B Commerce and D2C Commerce Developer Guide, Call Context

Which technique can be used with Lightning web components to expose them outside of an org in another web container?


A. Slot elements


B. Heroku


C. Lightning Out


D. Lightning Canvas





C.
  Lightning Out

Explanation:

According to the Lightning Web Components Developer Guide, Lightning Out is a technique that allows developers to run Lightning web components outside of Salesforce servers, such as in a Node.js app running on Heroku or a department server inside the firewall. Lightning Out uses a script tag to load the Lightning web components framework and the custom components into the web container. Lightning Out also handles authentication, event handling, and data access between the web container and the Salesforce org. Slot elements, Heroku, and Lightning Canvas are not techniques for exposing Lightning web components outside of an org in another web container.

References: Lightning Web Components Developer Guide, Use Components Outside Salesforce, B2B Commerce and D2C Commerce Developer Guide


Page 10 out of 43 Pages
Previous