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

Salesforce B2B Commerce Developer Exam Sample Question | 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
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
B. ccrz
C. ccrz
D. SZ_SKIPTRZcorrect
E. ccrz
F. SZ_SOBJECT
View answer
Correct Answer: D
Question #2
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
B. ccrz
C. ccrz
D. SZ_SKIPTRZcorrect
E. ccrz
F. SZ_SOBJECT
View answer
Correct Answer: D
Question #3
What are the templating, Javascript, and CSS frameworks what the cloudcraze managed package leverages?
A. Angularjs, Backbonejs, and handlebarsjs
B. Bootstrap, Backbonejs, and handlebarsjscorrect
C. Bootstrap, Angularjs, and Backbonejs
D. Angularjs, react
View answer
Correct Answer: B
Question #4
When a user buys 10 units of product B, the user wants 1 unit of Product A to be automatically added to the cart. How can this requirement be fulfilled?
A. Override the AllowCheckout method in ccrz
B. Override the prepareForSave method in ccrz
C. Override the preprocess method in ccrz
D. Override the prepareToAdd method in ccrz
View answer
Correct Answer: D
Question #5
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?
A. Leverage the Addto Cart Global API which add items to the cart and also refreshes the page with the new data
B. Trigger the global ?cartChange" event and then trigger ?changeMiniCart" event after the Add to Cart Action on the custom button
C. Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header
D. Trigger the global ?cartChange" event after the Add to Cart Action on the custom button
View answer
Correct Answer: D
Question #6
How is a price group dynamically set?
A. By overriding the ccLogicProductPrice class
B. By using contract pricing
C. By extending the ccApiPriceList API
D. By extending the cc_hk_priceing hookcorrect
View answer
Correct Answer: D
Question #7
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 #8
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 #9
What are three advantages of using ccLog over the Salesforce standard System.debug class? (3 answers)
A. There is no need to use string concatenation to easily tag log statements with a subject
B. ccLog can debug syntax errors found in the JavaScript
C. There is no need to create a User Trace Flag
D. Append #ccLog= to the end of the storefront URL in order to get logs in the inspector console
E. There is no need to manually set a cookie to debug with the Site Guest User
View answer
Correct Answer: ADE
Question #10
In which three ways should useful debugging information in Salesforce B2B Commerce implementation be garnered? (3 answers) A) Enabling the logging token via
A. Admin andsubsequently inspecting the logs via the browser console
B. Logging a case with Salesforce support to enable advanced debugging options
C. Enabling debugging options for the current user and visually inspecting the Salesforce debug logs
D. Placing a System
E. Logging into the community as a system administrator to identify any potential permissions or Visualforce exceptions
View answer
Correct Answer: ACE
Question #11
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 #12
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 #13
What are three ways to test the value of Page Label on any Salesforce B2B Commerce Community Page? (3 answers)
A. Access the source HTML for the page viathe browser developer tools
B. Execute CCRcorrect
C. pagevars
D. Execute CCRcorrect
E. processPageLabelMap('PAGE_LABEL_NAME') in the JavaScript console
F. Enable the 'display page label names' in cc admin
G. Execute (('PAGE_LABEL_NAME')) in the JavaScript console
View answer
Correct Answer: ABCD
Question #14
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. The customer wants to reference multiple storefront sitemap indexes in a single robots
B. The customer wants to reference a custom sitemap index
C. The customer wants to have multiple robot
D. The customer's store is not located at the rootof their domain
E. robot
View answer
Correct Answer: ABD
Question #15
What is a valid way of referencing the CC Cart Object whose API name is E_Cart__c in a SOQL query?
A. _Cart__c
B. c
C. ccrz__E_Cart__ccorrect
D. cloudcraze__E_Cart__c
View answer
Correct Answer: C
Question #16
What is a best practice when passing query parameters from user interface to an apex controller?
A. Query parameters should be properly sanitized by using JSINHTMLENCODE within the VisualForcePage or Component
B. String parameters should be trimmed using String
C. Query parameters should be passed only to Salesforce B2B Commerce classes that you are extending
D. Query parameters should be stored on a backbone model prior to passing them to the server
View answer
Correct Answer: A
Question #17
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
B. ccrz
C. ccrz
D. ccrz
View answer
Correct Answer: AD
Question #18
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 #19
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 #20
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?
A. Page Include
B. Subscriber Page (CC Page)correct
C. Subscriber Template
D. Body Include Begin
View answer
Correct Answer: B
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
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 #23
Which cookie stores the effective account ID when effective account is enabled?
A. apex__cclgtkn
B. apex__effacccorrect
C. apex__currCartId
D. apex__cc_anonymous_Country
View answer
Correct Answer: B
Question #24
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 #25
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?
A. Gross Layout Overridecorrect
B. Subscriber Template
C. Page Include
D. HandleBar Template Override
View answer
Correct Answer: A
Question #26
What are three ways to implement custom post Order processing? (3 answers)
A. Use a Salesforce workflow rule that executes when an Order record is created
B. Extend cc_hk_invoice tohandle custom business logic post Order processingcorrect
C. Use cc_hk_Order
D. Modify or add custom Cart formula fields to handle logic
E. Use Process builder to implement business processes that execute when an Order record is created
View answer
Correct Answer: ABCE
Question #27
What is true regarding adding more Configuration Settings to Salesforce B2B Commerce?
A. Metadata can be added to existing modules, but you cannot add new modules
B. Configuration settings can only be extended through API's
C. Select "New"in your storefront's Configuration Settings and create a custom setting
D. More modules and metadata can be added to Salesforce B2B Commerce
View answer
Correct Answer: D
Question #28
How are variables bound when services use the ccSercviceDao classto execute queries?
A. Global variables
B. Apex local variables
C. String substitutioncorrect
D. Apex class variables
View answer
Correct Answer: C
Question #29
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 #30
Which cookie stores the effective account ID when effective account is enabled?
A. apex__cclgtkn
B. apex__effacccorrect
C. apex__currCartId
D. apex__cc_anonymous_Country
View answer
Correct Answer: B

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: