Skip to main content

B2B-Commerce-Developer Salesforce Accredited B2B Commerce Developer

  • Salesforce
  • 9 free sample questions

About this exam

B2B-Commerce-Developer is the Salesforce exam Salesforce Accredited B2B Commerce Developer. Paid practice material for this exam is not available yet, but you can try its free sample questions.

Exam code
B2B-Commerce-Developer
Vendor
Salesforce
Practice questions
Not available yet
Free sample questions
9
Question bank last updated
Not available yet

Try 2 sample questions

Taken from the free sample set for B2B-Commerce-Developer.

Question 1

How are version related upgrades passed on to subscriber API extensions/overrides?


  1. Option A:
    APIs callback with specific versions specified; the user must know which version number to use.


  2. Option B:
    Copy and paste of specific code is "built-in"


  3. Option C:
    Extensions and overridden APIs don't support-related upgrades.


  4. Option D:
    The "delegate" allows inherited method calls access to the most recentlyspecified service version


Show answer and explanation

Correct answer: D

Version related upgrades are passed on to subscriber API extensions/overrides by using the
“delegate” keyword, which allows inherited method calls access to the most recently specified
service version. For example, delegate.getCart() will invoke the getCart() method of the latest service
version that is available for the current storefront. This way, extensions and overrides can leverage
the new features and enhancements of the upgraded service versions without modifying their code.

Question 2

How are variables bound when services use the ccSercviceDao classto execute queries?


  1. Option A:
    Global variables


  2. Option B:
    Apex local variables


  3. Option C:
    String substitution


  4. Option D:
    Apex class variables
Show answer and explanation

Correct answer: C

When services use the ccServiceDao class to execute queries, variables are bound by string
substitution. This means that the query string contains placeholders for variables that are replaced by
their values at runtime. For example, ccrz.ccServiceDao.getQuery('SELECT Id FROM Account WHERE
Name = :name') will replace :name with the value of the name variable.
See all 9 free sample questions