Searching the best new exam braindumps which can guarantee you 100% pass rate, you don't need to run about busily by, our latest pass guide materials will be here waiting for you. With our new exam braindumps, you will pass exam surely.

Pass Your B2C-Commerce-Developer Dumps as PDF Updated on 2023 With 207 Questions [Q105-Q123]

Share

Pass Your B2C-Commerce-Developer Dumps as PDF Updated on 2023 With 207 Questions

Salesforce B2C-Commerce-Developer Real Exam Questions and Answers FREE

NEW QUESTION # 105
Given the requirements:
* To integrate with an external web service using HTTP requests
* To create a service for this purpose with the Service framework using the LocalServiceRegistry class.
* To test the servicebefore the external service provider makes the API available Which solution allows the developer to satisfy the requirements?

  • A. Create aservice and implement the mockFill callback and set the service mode to mock.
  • B. Create two services, one mock and the real one, and a Sitepreference that enable the mock or the real one
  • C. Create a service and a Sitepreference that induce the service to respond witch a mock response using a conditional.
  • D. Create a service and implement the mockfull callback and a sitepreference to enable or disable the mock response.

Answer: A


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

Answer: C


NEW QUESTION # 107
A client uses tax tables in Business Manager to calculate tax. They recently started shipping to a new country, Italy, and the taxi s not being calculated correctly on the Storefront What is the likely problem?

  • A. Tax Country is missing
  • B. Tax Locale is configured wrong
  • C. Tax Jurisdiction is missing
  • D. Tax Region is configured wrong.

Answer: B,C


NEW QUESTION # 108
The Home-Show route uses this middleware chain:

The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:

Assuming the code is correct on both functions, what is the expected result?

  • A. The base code executes and then the custom code executes.
  • B. The custom code executes and then the base code executes.
  • C. A RunTime error is thrown, "Error: Params do not match route".
  • D. The base code executes, but the custom code is ignored because the signature lines do not match.

Answer: C


NEW QUESTION # 109
Given the requirements:
* To show the washing Instructions for a clothing product on a dedicated section the detail page
* Washing instructions come from the product Information manager (PIM)
* To have this attribute available to localize in the Storefront
Which action must these requirements?

  • A. Create a custom attribute on the product system object and set it as localizable.
  • B. Add a resource file for every locale for which the attribute needs to be translated.
  • C. set the product system object type as localizable.

Answer: A


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

Answer: B

Explanation:
References:


NEW QUESTION # 111
A Digital Developer is working on a multi-site realm. A new site requires a differentlayout 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 bemade to the new cartridge path?

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

Answer: A


NEW QUESTION # 112
The following sample code is NOT providing the desired results. The Digital Developer needs to add an entry to the logs to debug the problem.

Which statement correctly adds a log entry?

  • A. Logger.error('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • B. Logger.exception('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • C. Logger.fault('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);
  • D. Logger.getErrorLog().log('Unable to find Apple Pay payment instrument for order.'+paymentInstruments);

Answer: B


NEW QUESTION # 113
Which two methods are efficient and scalable? Choose 2 answers

  • A. ProductSearchModel.getProductSearchHits()
  • B. ProductSearchHit.getRepresentedProductsQ
  • C. ProductMgr.queryAllSiteProducts()
  • D. Category.getProducts()

Answer: A


NEW QUESTION # 114
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. custom-export
  • B. xyz
  • C. custom-xyz
  • D. custominfo-blade

Answer: C


NEW QUESTION # 115
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 HTTP method to GET.
  • C. Change the URI to /dw/shop/v18_3/products/creative-zen-v.
  • D. Include an authentication token in the request.

Answer: B

Explanation:
Explanation


NEW QUESTION # 116
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. Use the Site Development > Site Import & Export Business Manager module.
  • B. Perform a data replication from staging.
  • C. Download the site export file and use UX Studio to transfer the data to the sandbox.
  • D. Use the Site Development > Import & Export Business Manager module.

Answer: A

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


NEW QUESTION # 117
A Digital Developer needs to check for product inventory in a specific inventory list using the Open Commerce API.
An example request URL is:

Which resource_id value enables the appropriate resource?

  • A. /products/*
  • B. /inventory_lists/*
  • C. /inventory_list_search
  • D. /inventory_lists/**

Answer: A

Explanation:
References:


NEW QUESTION # 118
Given the following ISML example, how should a developer reference the product object in the current iteration of the basket?
<isloop items ="${pdict.Basket.products}" var="product" status= "loopstatus">
...
</isloop>

  • A. pdict.Basket.products{loopstatus}
  • B. product
  • C. pdict.product
  • D. loopstatus.product

Answer: A

Explanation:


NEW QUESTION # 119
The developer needs to add custom category debug logging into the "contact'' script, to ensure that a third-party service call responds as expected.
Assuming that the logging configurations for the contact category are correctly in place, which line of code should the developer add in the 06 placeholder to meet this requirement?

A)

B)

C)

  • A. Option B
  • B. Option C
  • C. Option A

Answer: C


NEW QUESTION # 120
Business Manager has the configuration:
* Active Log category is "root"
* Log level of WARN
The code below is executing:
var log = Logger.getLogger(''products'');
Using this information, what will be written to the log?

  • A. log.info("This is a warn message");
  • B. log.warn("This is a warn message"); AND log.error("This is an error message");
  • C. log.error("This is an error message"); AND log.info("This is an info message");

Answer: A


NEW QUESTION # 121
The Home-Show route uses this middleware chain:

The developer added Home.;s in another cartridge, which is before the original cartridge in the cartridge path, to extend that route but it does not have the middleware chain:

Assuming the code is correct on both functions, what is the expected result?

  • A. The base code executes and then the custom code executes.
  • B. The custom code executes and thenthe base code executes.
  • C. A RunTime error is thrown, "Error: Params do not match route".
  • D. The base code executes, but the custom code is ignored because the signature lines do not match.

Answer: C


NEW QUESTION # 122
A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?

  • A. CustomObject.createCustomObject(CustomObjectType,primaryKey);
  • B. CustomObject.createCustomObject(primaryKey,CustomObjectType);
  • C. CustomObjectMgr.createCustomObject(CustomObjectType,primaryKey)
  • D. CustomObjectMgr.createCustomObject(primaryKey);

Answer: A


NEW QUESTION # 123
......

Pass Salesforce B2C-Commerce-Developer Exam Info and Free Practice Test: https://passguide.dumpexams.com/B2C-Commerce-Developer-vce-torrent.html