Salesforce B2B Commerce for Developers Accredited Professional Sample Questions:
1. How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
A) Parameters are filtered out before the request is processed
B) Parameters are separated, but unused
C) Parameters are passed through the service handlers
D) An exception is generated for unknown API keys
2. 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?
A) Override the computePricingCart methos in ccrz.cc_api_CartExtension and make the callout in this method.
B) Override the computePricingReview method in ccrz.cc_CartExtension and make the callout in this method.
C) None of the above
D) Override the computePricingCart method in ccrz.cc_api_PriceAdjustoment and make the callout in this method.
3. Which two guidelines should a developer consider when migrating aura components to LWC?
A) Migrate one component and then determine whether additional effort would make sense
B) Force all developers to write any new components using Lightning web components
C) Start with migrating trees of components (components within components)
D) Start with simple components that only render Ul
4. What is a best practice when passing query parameters from user interface to an apex controller?
A) Query parameters should be stored on a backbone model prior to passing them to the server
B) String parameters should be trimmed using String.trim().
C) Query parameters should be passed only to Salesforce B2B Commerce classes that you are extending.
D) Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForce Page or Component.
5. Which orders can a user view on Order List Component (Aura) for B2B stores?
A) Orders placed in the current storefront and related to the current effective account
B) Orders placed in the current storefront and related to the current user's account
C) Orders placed in any storefront and related to the current effective account
D) Orders placed in any storefront and related to the current user's account
Solutions:
| Question # 1 Answer: C | Question # 2 Answer: A | Question # 3 Answer: A,D | Question # 4 Answer: D | Question # 5 Answer: A |
We're so confident of our products that we provide no hassle product exchange.


By Kenneth

