Try Before You Buy

Download a free sample of any of our exam questions and answers

  • 24/7 customer support, Secure shopping site
  • Free One year updates to match real exam scenarios
  • If you failed your exam after buying our products we will refund the full amount back to you.

[2022] Valid B2C-Commerce-Developer test answers & Salesforce B2C-Commerce-Developer exam pdf [Q67-Q85]

Share

[2022] Valid B2C-Commerce-Developer test answers & Salesforce B2C-Commerce-Developer exam pdf

Verified B2C-Commerce-Developer dumps Q&As - Pass Guarantee or Full Refund

NEW QUESTION 67
A developer is asked to improve the maintainability of a page by reducing its code repetition.
What are two techniques the developer should implement to achieve this?
Choose 2 answers.

  • A. Use local template includes
  • B. Implement template decorators paired with replace tags
  • C. Require and render templates with <isscript> tags
  • D. Embed partial files using ISML expressions

Answer: A,B

 

NEW QUESTION 68
Once the Cache Information tool of the storefront toolkit is enabled, how can a Digital Developer view caching information for a particular component of the page?

  • A. Open the Request Logs to view the caching information.
  • B. Hover over the caching icons now present on the storefront.
  • C. Start a pipeline debugging session and view the caching information provided.
  • D. Right-click on the component in UX Studio and view the caching properties of the file.

Answer: B

 

NEW QUESTION 69
A Digital Developer is tasked with setting up a new Digital Server Connection using UX Studio in their sandbox.
Which three items are required to accomplish this task? (Choose three.)

  • A. Instance Version
  • B. Business Manager Password
  • C. Keystore Password
  • D. Instance Hostname
  • E. Business Manager Username

Answer: B,C,D

Explanation:
Explanation/Reference: https://medium.com/@fsjohnny/lets-develop-with-salesforce-commerce-cloud-part-1-setting-up- your-development-environment-b16044708d09

 

NEW QUESTION 70
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 "read_attributes" value to: " (items) ".
  • B. Change the "write_attributes" value to: " (+items) ".
  • C. Change the "resource_id" value to: "/baskets/*/items".
  • D. Change the "methods" value to: ["get", "post"].

Answer: C

 

NEW QUESTION 71
Universal Containers wants to associate a region code value with an order to indicate the general area of its destination. This region code must be accessible whenever the order history is displayed.
What is required to accomplish this?

  • A. Store the region code value in a session variable.
  • B. Define a custom object type to store the username with the region code.
  • C. Store the region code value in the geolocation system attribute of the Order.
  • D. Define a custom attribute on the Order system object type to store the region code value.

Answer: D

 

NEW QUESTION 72
Given a job step configured in the steptype.json, a developer needs to add a custom status code "No_FILES_FOUND".
Which code snippet will complete the requirement?

  • A. var status = require('dw/system/status');
    return new Status(Status.OK, 'NO_FILES_FOUND');
  • B. this.status = 'NO_FILES_FOUND'
    return this;
  • C. return 'NO_FILES_FOUND
  • D. var status = {success: 'OK'. Message: 'NO_FILES_FOUND'};
    return status;

Answer: A

Explanation:

 

NEW QUESTION 73
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 the remote upload capability of the Site Import & Export module of Business Manager.
  • B. Use the import capability of the Site Import & Export module of Business Manager.
  • C. Use Business Manager to upload and import a copy of the export file obtained from the original Developer.
  • D. Use the Business Manager Data Replication module to replicate the catalog from the original Developer's sandbox.

Answer: B

 

NEW QUESTION 74
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. methods
  • C. resource_id
  • D. ecom-inventory

Answer: C

 

NEW QUESTION 75
A merchant has a requirement to render personalized content to n a category page via a Content Slot that targets VIP high-spending customers during a specific promotional period.
Which two items should the developer create to achieve the specified requirements?
Choose 2 answers:

  • A. Rendering Template
  • B. Page Template
  • C. Slot Configuration
  • D. VIP Customer Group

Answer: A,C

 

NEW QUESTION 76
Which three object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose three.)

  • A. Folders
  • B. Content assets
  • C. Images and other static assets
  • D. Content slots
  • E. Products

Answer: A,D,E

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

 

NEW QUESTION 77
A developer customized the Cart-Show controller route with a LINK cartridge that adds social media data.
There is a new requirement to add a dataLayer object to the Cart-Show controller route.
How should the developer achieve this to ensure that no code change will be needed if the client decides to remove the LINK cartridge?

  • A. Replace the existing viewData variable with the dataLayer object in the Cart-Show controller route
  • B. Append Cart-Show controller route in the client cartridge and add dataLayer object to the viewData variable
  • C. Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable
  • D. Replace the Cart-Show controller route in client cartridge and add dataLayer object to the viewData variable. Ensure that the client cartridge is on the left of the LINK cartridge in cartridge path

Answer: D

 

NEW QUESTION 78
A Digital Developer extends a system object, Product, and adds a Boolean attribute, "sellable," to it. Assuming
"prod" is the variable name handling the product, what code can the Developer use to access it?

  • A. prod.persistable.sellable
  • B. prod.custom.sellable
  • C. prod.sellable
  • D. prod.extended.sellable

Answer: C

 

NEW QUESTION 79
Universal Containers calls the following combination of products "The Basics" and sells the combination as a unique product ID:
* One Model 103 container
* Five Model 611 container
* Tree Model 201 container
The Developer created these three products in the catalog.
What is the next step in Business Manager to create "The Basics" as a combination?

  • A. In the Products module, create a product named "The Basics" and add the products to the Product Bundles tab.
  • B. In the Product Sets module, create a product set named "The Basics".
  • C. In the Products module, create a product named "The Basics" and add the products to the Product Sets tab.
  • D. In the Product Bundles module, create a bundle named "The Basics".

Answer: A

 

NEW QUESTION 80
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. Archive old log files to make room in the log directory.
  • B. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.
  • C. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
  • D. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.

Answer: A,C

 

NEW QUESTION 81
Which method is efficient and scalable because it uses the product search index rather than searching the database?

  • A. ProductIndexModel.getOrderableProductsOnly()
  • B. ProductAvailabilityModel.isOrderable()
  • C. ProductSearchModel().getProductSearchHits()
  • D. ProductVariationModel.getVariants()

Answer: C

Explanation:
Explanation/Reference:
Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC2/topic/com.demandware.dochelp/ DWAPI/scriptapi/html/api/class_dw_catalog_ProductSearchModel.html

 

NEW QUESTION 82
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. Archive old log files to make room in the log directory.
  • B. Ensure that the "login" category is added to the Custom Log Filters in the Log Settings Business Manager module.
  • C. Ensure that the debug log level has been added to the custom log level types in the Global Preferences business manager module.
  • D. Ensure that the debug log level is enabled to write to file in the Custom Log Settings Business Manager module.

Answer: A,C

 

NEW QUESTION 83
An instance has custom logging enabled. The log reaches the file size limit.
What happens in this situation?

  • A. The current log file is archived and a new log file is created.
  • B. The log file Rolls over and the oldest log messages are overwritten
  • C. The log file is deleted and a new log file is created.
  • D. Logging is suspended for the day

Answer: D

 

NEW QUESTION 84
A merchant has a new requirement to accept American Express credit cards on its Storefront. A credit card payment method already exists.
Which step must a developer take in Business Manager to achieve this?

  • A. Add American Express into the Order settings in Site Preferences
  • B. In Payment Processor, create American Express as a payment type
  • C. In Payment Methods, enable American Express as a credit card type
  • D. Add American Express as a Payment Preference in Site Preferences

Answer: D

 

NEW QUESTION 85
......

B2C-Commerce-Developer Exam Questions – Valid B2C-Commerce-Developer Dumps Pdf: https://www.validexam.com/B2C-Commerce-Developer-latest-dumps.html

B2C-Commerce-Developer PDF Dumps Recently Updated Questions: https://drive.google.com/open?id=10bGUjvlZDWygDZtngt14a9lnoQT5uu3f