Free B2C-Commerce-Developer Exam Braindumps

Pass your Salesforce Certified B2C Commerce Developer (WI20) exam with these free Questions and Answers

Page 2 of 42
QUESTION 1

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?

  1. A. checkout_de.properties in resources folder
  2. B. checkout.properties in the de locale folder
  3. C. checkout.properties in the default locale folder
  4. D. de_checkout.properties in resources folder

Correct Answer: D

QUESTION 2

A Digital Developer has identified that the code segment below is causing performance problems.
B2C-Commerce-Developer dumps exhibit
What should the Developer do to improve the code?

  1. A. Use a system attribute instead of the isOnSaleFlag custom attribute.
  2. B. Avoid post-processing and use the isOnSaleFlag attribute as a search refinement.
  3. C. Breaks the process into separate loops.
  4. D. Avoid using an Iterator and use a Collection instead.

Correct Answer: C

QUESTION 3

Universal Containers requires that a new order comments attribute is added to the existing SiteGenesis checkout flow. This new attribute needs to be included as part of the standard order export.
Aside from updating the HTML markup and form definition, which option contains all necessary steps to achieve this task?

  1. A.

Correct Answer: B

QUESTION 4

A Digital Developer needs to add logging to the following code:
B2C-Commerce-Developer dumps exhibit
Which statement logs the HTTP status code to a debug-level custom log file?

  1. A. logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: ", http.statusCode);
  2. B. logger.debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  3. C. Logger.getLogger().debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);
  4. D. Logger.getLogger(‘profile’).debug("Error retrieving profile email, Status Code: {0} was returned.", http.statusCode);

Correct Answer: B

QUESTION 5

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?

  1. A. ISML.renderTemlpate ( "helloworld.isml", { "myProduct": "product" });
  2. B. ISML.renderTemlpate ( "helloworld.isml", { "product": myProduct });
  3. C. ISML.renderTemlpate ( "helloworld.isml", { product: myProduct });
  4. D. ISML.renderTemlpate ( "helloworld.isml", { myProduct: product });

Correct Answer: A

Page 2 of 42

Post your Comments and Discuss Salesforce B2C-Commerce-Developer exam with other Community members: