B2C-Commerce-Developer Exam Question 11

A developer is working on a new site for the U.S based on an existing Canadian site. One of the requirements is a change to the address form. The current Canadian form has an <options> list with the correct two-letter abbreviation for the provinces.
The U.S. requirements are to:
* Have an <options> list with the correct two-letter abbreviation for the states in place of the province field.
* Set the U.S site locale.
* Add the options list field definition to the XML file.
How should the developer set up the files before making the required edits?
  • B2C-Commerce-Developer Exam Question 12

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

    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?
  • B2C-Commerce-Developer Exam Question 13

    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?
  • B2C-Commerce-Developer Exam Question 14

    A Digital Developer has detected storefront pages being rendered with an error message. After inspecting the log files, the Developer discovered that an enforced quota is being exceeded.
    What action should the Developer take to stop the quota violation?
  • B2C-Commerce-Developer Exam Question 15

    A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
    Which code sample should the Developer use to make sure that HTTPS is used?