Salesforce b2c commerce developer practice test

Exam Title: Certified B2C Commerce Developer Exam

Last update: Jan 25 ,2026
Question 1

A Digital Developer is working on a multi-site realm. A new site requires a different layout for the
account landing page. The business logic and data model remain the same. The existing code is in
AccountControl.js and accountlanding.isml in the app_storefront cartridge. The app_storefront
cartridge contains code for all other business functions. The cartridge path for the new site is
currently int_cybersource:int_paypal:app_storefront.
The Developer creates a new cartridge named app_newsite that contains only the
accountlanding.isml template for the new site.
Which modification should be made to the new cartridge path?

  • A. Set the cartridge path so that app_newsite is before app_storefront.
  • B. Set the cartridge path so that app_storefront is before int_cybersource.
  • C. Set the cartridge path to include only app_newsite.
  • D. Set the cartridge path so that app_newsite is after app_storefront.
Answer:

B


vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 2

A Digital Developer creates a B2C Commerce server connection in their UX Studio workspace. The
Developer adds new cartridges to the workspace, but the cartridges do NOT execute as the
Developer expects.
Which three things should the Digital Developer verify to ensure the cartridges are uploaded?
(Choose three.)

  • A. The Auto-Upload setting is enabled for the server connection.
  • B. The Active Server setting is enabled for the server connection.
  • C. The credentials for the server connection are correctly entered.
  • D. The cartridge is for the current version of B2C Commerce.
  • E. The server is configured to accept incoming connections.
Answer:

A,D,E


Explanation:
References:

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 3

Universal Containers specifies a new category hierarchy for navigating the digital commerce
storefront. A Digital Developer uses Business Manager to manually create a catalog with the
specified category hierarchy, then uses the Products & Catalogs > Import & Export module to export
the catalog as a file.

How can other Developers with sandboxes on the same realm create the same catalog in their own
sandboxes?

  • A. Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
  • B. Use the remote upload capability of the Site Import & Export module of Business Manager.
  • C. Use the import capability of the Site Import & Export module of Business Manager.
  • D. Use the Business Manager Data Replication module to replicate the catalog from the original Developers sandbox.
Answer:

C


Explanation:
References:

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 4

The following code ensures that an address ID CANNOT be used if it is already in use by another
address in the customers address book. There is a problem with the code. The error message for an
invalid address ID is never shown to the user on the form field.


How should the Digital Developer resolve this issue so that the error message is displayed on the
address ID form field?

  • A. addressForm.invalidateFormElement("addressid");
  • B. addressForm.addresssid.invalidateFormElement = true;
  • C. addressForm.invalidateFormElement(addressForm.addressid);
  • D. addressForm.addresssid.invalidateFormElement();
Answer:

C


vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 5

Given the file structure below, which ISML method call renders the customLandingPage template?

  • A. ISML.renderTamplate(‘cartridge/templates/default/content/custom/customLandingPage’);
  • B. ISML(‘content/custom/customLandingPage’);
  • C. ISML.render(‘content/custom/customLandingPage’);
  • D. ISML.renderTemplate(content/custom/customLandingPage);
Answer:

D


Explanation:
References:

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 6

A business user wants to add a link to a content page from within the body of another content asset.
The target content asset ID is: terms-and-conditions.
Which link function generates the correct link?

  • A. $include(‘Page-Include’, ‘cid’, ‘terms-and-conditions’)$
  • B. $http(‘Content-Page’, ‘cid’, ‘terms-and-conditions’)$
  • C. $httpUrl(‘Content-Show’, ‘cid’, ‘terms-and-conditions’)$
  • D. $url(‘Page-Show’, ‘cid’, ‘terms-and-conditions’)$
Answer:

C


Explanation:
References:

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 7


Why should a Digital Developer use ProductSearchModel.getProducts() instead of
Category.getOnlineProducts() to access products?

  • A. It is more readable code.
  • B. It has fewer lines of code.
  • C. It uses the search index.
  • D. It reduces accesses to the application server.
Answer:

D


vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 8

A Digital Developer is adding support for an additional language other than the default. The locale
code for the new language is de.
In which folder should the developer place resource bundles?

  • A. templates/de
  • B. templates/default
  • C. templates/resources
  • D. templates/default/resources
Answer:

C


Explanation:
References:

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 9

Assume the code below is executing:

Business Manager has the configuration:
Active Log category is root with log level of info.
Given this information, what is the beginning of the filename in which the log will be written?

  • A. xyz
  • B. custominfo-blade
  • C. custom-export
  • D. custom-xyz
Answer:

D


vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 10

A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load
product on the pipeline dictionary with the name myProduct.

Which code sample will achieve this?

  • A. ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
  • B. ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
  • C. ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
  • D. ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
Answer:

A


Explanation:
References:

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Page 1 out of 14
Viewing questions 1-10 out of 149
Go To
page 2