ExamGecko
Ask Question

Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 2

List of questions

Question 11

Report
Export
Collapse

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.)

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

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC4/index.jsp?topic=%2Fcom.demandware.dochelp%2FSiteDevelopment%2FTroubleshootingStudio.html

asked 23/09/2024
James Williams
34 questions

Question 12

Report
Export
Collapse

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?

Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
Use the remote upload capability of the Site Import & Export module of Business Manager.
Use the remote upload capability of the Site Import & Export module of Business Manager.
Use the import capability of the Site Import & Export module of Business Manager.
Use the import capability of the Site Import & Export module of Business Manager.
Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.
Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.
Suggested answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FImportExport%2FCatalogObjectImportExport.html

asked 23/09/2024
Aidan Lear
49 questions

Question 13

Report
Export
Collapse

The following code ensures that an address ID CANNOT be used if it is already in use by another address in the customer's 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.

Salesforce Certified B2C Commerce Developer image Question 13 59823 09232024001900000000

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

addressForm.invalidateFormElement("addressid");
addressForm.invalidateFormElement("addressid");
addressForm.addresssid.invalidateFormElement = true;
addressForm.addresssid.invalidateFormElement = true;
addressForm.invalidateFormElement(addressForm.addressid);
addressForm.invalidateFormElement(addressForm.addressid);
addressForm.addresssid.invalidateFormElement();
addressForm.addresssid.invalidateFormElement();
Suggested answer: C
asked 23/09/2024
Nicoleta Moglan
37 questions

Question 14

Report
Export
Collapse

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

Salesforce Certified B2C Commerce Developer image Question 14 59824 09232024001900000000

ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
ISML.renderTamplate('cartridge/templates/default/content/custom/customLandingPage');
ISML('content/custom/customLandingPage');
ISML('content/custom/customLandingPage');
ISML.render('content/custom/customLandingPage');
ISML.render('content/custom/customLandingPage');
ISML.renderTemplate('content/custom/customLandingPage');
ISML.renderTemplate('content/custom/customLandingPage');
Suggested answer: D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC4/index.jsp?topic=%2Fcom.demandware.dochelp%2FDWAPI%2Fscriptapi%2Fhtml%2Fapi%2Fclass_dw_template_ISML.html

asked 23/09/2024
Francis Arthur
37 questions

Question 15

Report
Export
Collapse

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?

$include('Page-Include', 'cid', 'terms-and-conditions')$
$include('Page-Include', 'cid', 'terms-and-conditions')$
$http('Content-Page', 'cid', 'terms-and-conditions')$
$http('Content-Page', 'cid', 'terms-and-conditions')$
$httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
$httpUrl('Content-Show', 'cid', 'terms-and-conditions')$
$url('Page-Show', 'cid', 'terms-and-conditions')$
$url('Page-Show', 'cid', 'terms-and-conditions')$
Suggested answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC3/index.jsp?topic=%2Fcom.demandware.dochelp%2FContent%2FContentassetlinkexamples.html

asked 23/09/2024
Thabo Sebola
38 questions

Question 16

Report
Export
Collapse

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

It is more readable code.
It is more readable code.
It has fewer lines of code.
It has fewer lines of code.
It uses the search index.
It uses the search index.
It reduces accesses to the application server.
It reduces accesses to the application server.
Suggested answer: D
asked 23/09/2024
niels valk
41 questions

Question 17

Report
Export
Collapse

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?

templates/de
templates/de
templates/default
templates/default
templates/resources
templates/resources
templates/default/resources
templates/default/resources
Suggested answer: C

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FLocalization%2FLocalizingTemplateResourceBundles.html

asked 23/09/2024
Musoke Kamuzze
30 questions

Question 18

Report
Export
Collapse

Assume the code below is executing:

Salesforce Certified B2C Commerce Developer image Question 18 59828 09232024001900000000

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?

xyz
xyz
custominfo-blade
custominfo-blade
custom-export
custom-export
custom-xyz
custom-xyz
Suggested answer: D
asked 23/09/2024
Alexander Goris
28 questions

Question 19

Report
Export
Collapse

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?

ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });
Suggested answer: A

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2FSGJC%2FPipelinetoControllerConversion.html

asked 23/09/2024
Debaparna Bandyopadhyay
39 questions

Question 20

Report
Export
Collapse

A Digital Developer has identified that the code segment below is causing performance problems.

Salesforce Certified B2C Commerce Developer image Question 20 59830 09232024001900000000

What should the Developer do to improve the code?

Use a system attribute instead of the isOnSaleFlag custom attribute.
Use a system attribute instead of the isOnSaleFlag custom attribute.
Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
Breaks the process into separate loops.
Breaks the process into separate loops.
Avoid using an Iterator and use a Collection instead.
Avoid using an Iterator and use a Collection instead.
Suggested answer: C
asked 23/09/2024
Luis Marino
34 questions
Total 209 questions
Go to page: of 21
Search

Related questions