ExamGecko
Ask Question

Salesforce Certified B2C Commerce Developer Practice Test - Questions Answers, Page 12

Add to Whishlist

List of questions

Question 111

Report Export Collapse

Given the sandbox with:

Service configured and assigned to its profile and credential

A code version that uses that service

And given the requirement to limit the number of success or error calls the code can perform to a restricted number of calls per second.

Which configuration should the developer perform?

Become a Premium Member for full access
  Unlock Premium Member

Question 112

Report Export Collapse

Given the following ISML example, how should a developer reference the product object in the current iteration of the basket?

Salesforce Certified B2C Commerce Developer image Question 112 59922 09232024001900000000

Become a Premium Member for full access
  Unlock Premium Member

Question 113

Report Export Collapse

A developer working on a simple web service integration is asked to add appropriate logging to allow future troubleshooting.

According to logging best practices, which code should the developer write to log when an operation succeeds, but has an unexpected outcome that may produce side effects?

Become a Premium Member for full access
  Unlock Premium Member

Question 114

Report Export Collapse

A developer is tasked with the development of a new Page Designer Page Type, as requested by the merchant.

How should they define the rendering logic of the page?

Become a Premium Member for full access
  Unlock Premium Member

Question 115

Report Export Collapse

A developer needs to perform the same additional checks before completing multiple routes in a custom controller, in order to decide whether to render a template or redirect the user to a different page.

According to SFRA best practices, what is the correct approach to improve code reusability in this scenario?

Become a Premium Member for full access
  Unlock Premium Member

Question 116

Report Export Collapse

A client has two B2C Commerce sites in the same instance: one for the U.S. market, the other for the European market. They offer free gift wrapping on a selection of products. For each order, five products can be wrapped in the U.S., but only three products can be wrapped in the European region.

How should a developer allow the merchant to independently adjust this number?

Become a Premium Member for full access
  Unlock Premium Member

Question 117

Report Export Collapse

A developer needs to show only car accessories when shoppers use the search term car accessories and exclude technology accessories and household accessories.

Given the above requirement, what is the recommended approach using the Search Dictionaries Dashboard?

Become a Premium Member for full access
  Unlock Premium Member

Question 118

Report Export Collapse

To ensure SFRA best practices and protect against request forgery, the developer introduced CSRF token generation in the customer address form.

Salesforce Certified B2C Commerce Developer image Question 118 59928 09232024001900000000

To implement CSRF protection when the form is submitted, the developer needs to introduce the CSRF validation using one or both of these methods as applicable: validateRequest validateAjaxRequest

Where in the code does the developer need to add this CSRF validation check?

Become a Premium Member for full access
  Unlock Premium Member

Question 119

Report Export Collapse

A developer is asked to write a job that is responsible for updating the customer order based upon a trigger from the Order Management System (OMS). While all the information for the order remains the same, the Order number provided by the OMS needs to replace the existing Order Number.

The developer chooses to use the B2C OCAPI hooks to update the order to achieve the above requirement.

According to best practices which OCAPI call should the developer use along with which OCAPI hook?

Become a Premium Member for full access
  Unlock Premium Member

Question 120

Report Export Collapse

A developer has a specification to integrate with a REST API for retrieving traffic conditions. The service expects parameters to be form encoded.

Which service type should the developer register?

Become a Premium Member for full access
  Unlock Premium Member
Total 209 questions
Go to page: of 21
Search

Related questions