DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Latest Salesforce B2B Commerce Developer Exam Questions and Answers, 2025 Update | SPOTO

SPOTO's latest exam dumps on the homepage, with a 100% pass rate! SPOTO delivers authentic Cisco CCNA, CCNP study materials, CCIE Lab solutions, PMP, CISA, CISM, AWS, and Palo Alto exam dumps. Our comprehensive study materials are meticulously aligned with the latest exam objectives. With a proven track record, we have enabled thousands of candidates worldwide to pass their IT certifications on their first attempt. Over the past 20+ years, SPOTO has successfully placed numerous IT professionals in Fortune 500 companies.
Take other online exams

Question #1
Where are handlebar Templates defined in the Cloudcraze managed package?
A. uiProperties filecorrect
B. Configuration Setting configuration
C. cc_hk_UserInterface extension
D. Page Settings configuration
View answer
Correct Answer: A
Question #2
Inwhich three different ways can a theme be enabled in Salesforce B2B Commerce? (3 answers)
A. A Storefront settingcorrect
B. An Account Group field valuecorrect
C. A per user setting
D. Account
E. Dynamically through a hookcorrect
View answer
Correct Answer: ABE
Question #3
In which threeways can Salesforce B2B Commerce API sizing blocks support multiple API sizing requests? (3 answers)
A. When different entities are specified in the method invocation
B. The sizing block is not removed
C. SZ_ASSC is used
D. The sizing block is removedafter the first handler
E. SZ_ASSC is not used
View answer
Correct Answer: ACE
Question #4
What is the recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works?
A. Override and extend the autoComplete method in cc_hk_Catalog
B. Override theautoComplete
C. uiProperties file
D. Override the autocomplete template and create and register a new handlebars helper
E. Update the
View answer
Correct Answer: B
Question #5
A developer is creating a component to implement a custom Terms and Conditions checkbox at checkout in the Aura Commerce template. Which method should the developer implement on the Lightning web component to ensure the user accepts the terms and conditions?
A. Validate
B. CheckValidity
C. SaveCheckout
D. ComponentValidity
View answer
Correct Answer: A
Question #6
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 method in ccrz
B. None of the above
C. Override the computePricingReview method in ccrz
D. Override the computePricingCart methos in ccrz
View answer
Correct Answer: D
Question #7
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 fromPageReference
B. Executing dynamic SOQL inside a without sharing class with a bind variable from theUserInfo class
C. Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference
D. Executing dynamic SOQL inside a without sharing class with a bind variable fromcc_RemoteActionContentex class
E. Executing dynamic SOQL inside a without sharing class with a bind variable fromccAP
F. CURRENT_VERSIO
View answer
Correct Answer: ACD
Question #8
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)
A. Override the getFieldsMap method and add subscriber specific code
B. Ensure that any helper methods are defined as private andstatic only
C. Create a global with sharing class that extends ccrz
D. Create a public with sharing class that extends ccrz
E. Override the fetch method and add your subscriber specific code here
View answer
Correct Answer: ACE
Question #9
What is default behavior for how theSalesforce B2B Commerce Global APIs transform Salesforce data?
A. Fields names are returned using the Salesforce naming convention
B. Fields names are returned with ?c
C. Fields names are returned with a lowercase first letter,camelcase conventioncorrect
D. Fields names can be mapped to any naming convention desired
View answer
Correct Answer: C
Question #10
Where is the API-based record creation generally handled in Salesforce B2B Commerce?
A. In the methods available in extension hooks
B. The service-layer responsible for the entitycorrect
C. Data creation is not allowed
D. Logic classes that implement the businesslogic for create operations
View answer
Correct Answer: B
Question #11
What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?
A. The theme needs to be set as a Custom Setting in Salesforce
B. The theme needs to be set in the Configuration Settings
C. The theme needs to have "theme" in the name of the Static Resource
D. The theme needs to be referred to in the head element on the page
View answer
Correct Answer: C
Question #12
What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?
A. ccrz
B. ccrz
C. UserInfo
D.
View answer
Correct Answer: B
Question #13
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 fromPageReference
B. Executing dynamic SOQL inside a without sharing class with a bind variable from theUserInfo class
C. Executing dynamic SOQL inside a without sharing class with a bind variable fromPageReference
D. Executing dynamic SOQL inside a without sharing class with a bind variable fromcc_RemoteActionContentex class
E. Executing dynamic SOQL inside a without sharing class with a bind variable fromccAP
F. CURRENT_VERSIO
View answer
Correct Answer: ACD
Question #14
Which event is invoked by any CCRZ Salesforce B2B CommeceView after the view is rendered?
A. view:*:load
B. view:*:refresh
C. view:*:onload
D. view:*:renderedcorrect
View answer
Correct Answer: D
Question #15
What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)
A. SOSLcorrect
B. SQL
C. SOQLcorrect
D. Schema-less queriescorrect
View answer
Correct Answer: ACD
Question #16
Numerous flags ... have a directimpact 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
B. SZ_RELcorrect
C. ccrz
D. SZ_ASSC
E. ccrz
F. ccrz
View answer
Correct Answer: B
Question #17
The sizing keys used in the Salesforce B2B Commerce Global APIs five distinct operations. What are three of these operations? (3 answers)
A. Refetch data (used on some Logic classes)correct
B. Return formats as Map or SObjects lists
C. Override static DAO classes and methods
D. Related Query to call (sub queries or direct queries)correct
E. Object type castingcorrect
View answer
Correct Answer: ADE
Question #18
How does a project implement the process to persist payment information datain the Checkout flow for Salesforce B2B Commerce version 4.2 and beyond?
A. Trigger a remote action when the process payment button is selected to capture the payment
B. Trigger a remote action to store the payment information in the URL query parameters
C. Trigger the processPayment event and pass in the payment information object as an argument
D. Trigger the externalprocessedPayment and pass in the payment information object as an argument
View answer
Correct Answer: C
Question #19
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. *
B. Cart
C. Checkout
D. *
E. *
View answer
Correct Answer: ADE
Question #20
A developer is trying to troubleshoot why a field is not displaying on the Product Detail Page. What should be typed in the Developer Tools Console in the browser to view the fields available for the Product Detail Page?
A. CCR
B. productSearchView
C. CCRcorrect
D. cartView
E. CCR
F. productDetailModel
G. CCR
H. productDetailView
View answer
Correct Answer: C
Question #21
What isthe difference between Gross Layout Overrides and Subscriber Templates?
A. Gross Layout Overrides allow modification to CSS of a page, while Subscriber Templates allows for modification of the entire page including header and footer
B. Subscriber Templates allows for modification of the header, the footer and the content in between them
C. Subscriber Templates allow for modification of the header and the footer, while Gross Layout Overrides allow for modification everything inside the header and footer
D. Gross Layout Overrides allow for the modification of the footer, while Subscriber Templates allow for modification of everything inside the header and footer
View answer
Correct Answer: C
Question #22
Which event is triggered within Salesforce B2B Commerce whenever a cart's statechanges?
A. cartChangecorrect
B. cart
C. pageMessage
D. cartState
View answer
Correct Answer: A
Question #23
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)
A. Override the getFieldsMap method and add subscriber specific code
B. Ensure that any helper methods are defined as private andstatic only
C. Create a global with sharing class that extends ccrz
D. Create a public with sharing class that extends ccrz
E. Override the fetch method and add your subscriber specific code here
View answer
Correct Answer: ACE
Question #24
What is essential for a Salesforce B2B Commerce theme to show up in the theme section in CC Admin?
A. The theme needs to be set as a Custom Setting in Salesforce
B. The theme needs to be set in the Configuration Settings
C. The theme needs to have "theme" in the name of the Static Resource
D. The theme needs to be referred to in the head element on the page
View answer
Correct Answer: C
Question #25
How do the REST APIs in Salesforce B2B Commerce support pass-through parameter handling
A. An exception is generated for unknown API keys
B. Parameters are passed through the service handlerscorrect
C. Parameters are filtered out before the request is processed
D. Parameters are separated, but unused
View answer
Correct Answer: B
Question #26
The ccrz.cc_hk_UserInterface apex class, HTMLHead Include Begin and HTML Head Include End Cloudcraze Page Include sections allow additional content to be added to the HTML tag. What are two reasons that is it preferred to use the ccrz.cc_hk_UserInterface extension over the Cloudcraze Page Include sections? (2 answers)
A. Salesforce apex:include is wrapped in tags
B. HTML does not support
tags inside the
C. Salesforce apex:include is wrapped in tags
D. HTML does not support tags inside the correct
View answer
Correct Answer: AD
Question #27
How can the display of CC Menu Items be customized for different users?
A. cc_hk_Category extension to pre-process which category items are cached as menu items
B. cc_hk_Menu extension to post-process any cached menu itemscorrect
C. cc_hk_Menu extension to pre-process which menu items are cached
D. cc_hk_Category extension to post-process any cached menu items
View answer
Correct Answer: B
Question #28
How are version related upgrades passed on to subscriber API extensions/overrides?
A. APIs callback with specific versions specified; the user must know which version number to use
B. Copy and paste of specific code is "built-in"
C. Extensions and overridden APIs don't support-related upgrades
D. The "delegate" allows inherited method calls access to the most recentlyspecified service versioncorrect
View answer
Correct Answer: D
Question #29
For which two reasons is it preferable to extend the Salesforce B2B Commerce remote invocation object instead of using the standard Salesforce remote action invocation manager (2 answers)
A. A standard remote action will not have access to Salesforce B2B Commerce objects
B. The APEX method called by the remote action will be passed as a Salesforce B2B Commerce context object
C. Salesforce B2B Commerce includes do not support standard SalesForce remote actions
D. The Salesforce B2B Commerce logger cannot be utilized in standard remote actionscorrect
View answer
Correct Answer: ABD
Question #30
What is a valid way of referencing the global cc_api_CartExtentsion apex class via subscriber code?
A. ccrz__cc_api_CartExtension
B. c__cc_api_CartExtension
C. cloudcraze
D. ccrz
View answer
Correct Answer: D

View The Updated Salesforce Exam Questions

SPOTO Provides 100% Real Salesforce Exam Questions for You to Pass Your Salesforce Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: