Share Latest Aug-2022 B2C-Commerce-Developer DUMP with 175 Questions and Answers [Q80-Q95]

Share

Share Latest Aug-2022 B2C-Commerce-Developer DUMP with 175 Questions and Answers

PDF Dumps 2022 Exam Questions with Practice Test

NEW QUESTION 80
Given the customer basket described below:
* A customer has an existing basket that consists of multiple items.
* One of the items is identified as a gift item by an attribute at the product line item.
The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.
Four hooks are required to make the modification, beginning with modifyGETRespone and ending with validatebasket.
* Dw.ocapi.shop.basket.modifyGETResponse
* -- missing hook -
* -- missing hook --
* dw.ocapi.shop.basket.validateBasket
What are the two missing hooks in the middle?

  • A. dw.ocapi.shop.basket.shipment.afterDELETE
  • B. dw.ocapi.shop.basket.shipment.beforePATCH
  • C. dw.ocapi.shop.baskep.shopment.beforePOST
  • D. dw.ocapi.shop.basket.shipment.beforeDELETE

Answer: B,C

Explanation:
Estos indican antes de actualizar y antes de introducir

 

NEW QUESTION 81
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.sellable
  • B. prod.extended.sellable
  • C. prod.persistable.sellable
  • D. prod.custom.sellable

Answer: D

 

NEW QUESTION 82
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. Right-click on the component in UX Studio and view the caching properties of the file.
  • B. Hover over the caching icons now present on the storefront.
  • C. Open the Request Logs to view the caching information.
  • D. Start a pipeline debugging session and view the caching information provided.

Answer: B

 

NEW QUESTION 83
A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? (Choose two.)

  • A. Modify the code that makes the request to the external service to be wrapped in a try / catch block.
  • B. Increase the web service time out.
  • C. Change the code that makes the request to set the throwOnError attribute, of the service, to be true.
  • D. Update the external service to have a faster response time.

Answer: A,D

 

NEW QUESTION 84
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?

  • A. Add layout_type_exclusion in the other asset components json configuration
  • B. Add component_type_inclusion in the layout json configuration
  • C. Add layout_type_inclusion in the target components json configurations
  • D. Add component_type_exclusions in the layout json configuration

Answer: B

Explanation:
Explanation/Reference:

 

NEW QUESTION 85
Universal Containers recently completed updates to their storefront shopping cart page. A problem has been discovered since the update. Users are no longer able to submit coupon codes on this page. Additionally, authenticated users who try to add a coupon are logged out.
The following processing code is found in the Cart.js controller file:

What should the Developer verify to identify the issue?

  • A. The CSRF settings in Business Manager are properly configured.
  • B. The CSRF cartridge is included in the site's cartridge path.
  • C. The CSRF token is present in the form and is being submitted in the request.
  • D. The form group has the secure attribute set to true.

Answer: C

 

NEW QUESTION 86
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.properties in the default locale folder
  • B. de_checkout.properties in resources folder
  • C. checkout_de.properties in resources folder
  • D. checkout.properties in the de locale folder

Answer: B

 

NEW QUESTION 87
A Digital Developer is requesting product information for an external integration. The following Open Commerce API (OCAPI) request is NOT functioning correctly:

How should the Developer change the request?

  • A. Change the HTTP method to PUT.
  • B. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
  • C. Change the HTTP method to GET.
  • D. Include an authentication token in the request.

Answer: C

 

NEW QUESTION 88
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.

Answer: C

 

NEW QUESTION 89
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.

Answer: C

 

NEW QUESTION 90
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. Avoid using an Iterator and use a Collection instead.
  • D. Break the process into separate loops.

Answer: B

 

NEW QUESTION 91
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 Username
  • C. Keystore Password
  • D. Instance Hostname
  • E. Business Manager Password

Answer: C,D,E

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

 

NEW QUESTION 92
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. de_checkout.propertiesin resourcesfolder
  • B. checkout_de.propertiesin resourcesfolder
  • C. checkout.propertiesin the delocale folder
  • D. checkout.propertiesin the defaultlocale folder

Answer: A

 

NEW QUESTION 93
A developer is given a task to implement a new Page Designer layout component that doesn't accept certain asset components.
How should the developer achieve the above task?

  • A. Add layout_type_exclusion in the other asset components json configuration.
  • B. Add component_type_Exclusions in the layout json configuration
  • C. Add layout_type_inclusion in the target components json configurations.
  • D. Add component_type_inclusion in the layout json configuration

Answer: B

 

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

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

Answer: A,B,D

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

 

NEW QUESTION 95
......

Dumps for Free B2C-Commerce-Developer Practice Exam Questions: https://www.easy4engine.com/B2C-Commerce-Developer-test-engine.html

B2C-Commerce-Developer Dumps PDF And Certification Training: https://drive.google.com/open?id=1SUiAEAT1_sZuGE2qma4rH18MEF8GobOH