Pass4itsure > Salesforce > Salesforce Certifications > B2C-COMMERCE-DEVELOPER > B2C-COMMERCE-DEVELOPER Online Practice Questions and Answers

B2C-COMMERCE-DEVELOPER Online Practice Questions and Answers

Questions 4

Universal Containers created a site export file from staging in the global export directory. How should the Digital Developer update their sandbox using this staging site export file?

A. Perform a data replication from staging.

B. Use the Site Development > Site Import and Export Business Manager module.

C. Download the site export file and use UX Studio to transfer the data to the sandbox.

D. Use the Site Development > Import and Export Business Manager module.

Buy Now
Questions 5

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

What should the Developer do to improve the code?

A. Use a system attribute instead of the isOnSaleFlag custom attribute.

B. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.

C. Breaks the process into separate loops.

D. Avoid using an Iterator and use a Collection instead.

Buy Now
Questions 6

Universal Containers has expanded its implementation to support German with a locale code of de. The current resource bundle is checkout.properties. To which file should the developer add German string values?

A. checkout_de.properties in resources folder

B. checkout.properties in the de locale folder

C. checkout.properties in the default locale folder

D. de_checkout.properties in resources folder

Buy Now
Questions 7

Which three techniques improve client-side performance in production while following documented best practices? (Choose three.)

A. Use one style sheet for each ISML decorator template.

B. Place CSS outside of templates.

C. Compress CSS.

D. Use inline Javascript.

E. Combine several images into a single image.

Buy Now
Questions 8

A Digital Developer wants to selectively retrieve products and process them from an iPhone. Which action should the Developer take, given that JavaScript controllers CANNOT be used?

A. Use import/export in Business Manager.

B. Create a webservice to retrieve products.

C. Use OCAPI and invoke it in native language.

D. Use WebDAV Client to retrieve products.

Buy Now
Questions 9

A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:

Which modification allows the requests to successfully execute?

A. Change the "resource_id" value to: "/baskets/*/items".

B. Change the "write_attributes" value to: "(+items)".

C. Change the "read_attributes" value to: "(items)".

D. Change the "methods" value to: ["get", "post"].

Buy Now
Questions 10

A Digital Developer adds the following line of code to a script.

The code executes without error; however, the log file on disk does NOT contain the log message. Which two actions should be completed to write the log message to disk? (Choose two.)

A. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.

B. Archive old log files to make room in the log directory.

C. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.

D. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.

Buy Now
Questions 11

A Newsletter controller contains the following route:

Assuming the Custom Object metadata exists, why does this route fail to persist the data submitted in the form beyond the template render lifecycle?

A. Custom Objects can only be created by Job scripts

B. The Custom Object creation is not wrapped in a Transaction

C. The CustomObjectMgr variable should be declared outside of the route

D. The Subscribe route is missing the server.middleware.http middleware

Buy Now
Questions 12

A developer needs to check for product inventory in all inventory lists using the Open Commerce API.

An example request URL is:

http://refarch.demandware.net/dw/data/v18_3/inventory_lists/ecom-inventory/ product_inventory_records/00883408601

Which property should the developer check in the OCAPI settings to confirm the appropriate resource is enabled?

A. client_id

B. resource_id

C. methods

D. ecom-inventory

Buy Now
Questions 13

Recent code changes to an existing cartridge do not appear correctly on a Storefront. The developer confirms that the code is uploaded in the IDE and ensures that the cartridge is associated with the sandbox. Which two additional steps should the developer take to troubleshoot this problem? (Choose two.)

A. Check that the search index was recently rebuilt.

B. Check the Business Manager site cartridge path.

C. Check that the correct code version is selected.

D. Check the Storefront site cartridge path.

Buy Now
Exam Name: Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101)
Last Update: May 25, 2026
Questions: 207
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99