Demo Preview

DEV-101 Safe Question Preview

This public preview shows limited demo-safe questions only. Correct answers, full explanations, paid-only media, private IDs, and attempt data are not included.

Application DevelopmentWork With a B2C SiteData Management Using Business Manager UsageMultiple ChoiceMulti Select

Preview Questions

Multiple ChoiceApplication Development
Question 1. 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?
A. In the controller function that displays the form
B. In the middleware chain of the controller post route
C. In the controller function that handles the submitted form
D. In the model function that persists the form data
Multiple ChoiceWork With a B2C Site
Question 2. A developer has a B2C site and a merchant requirement to add a new locale to it. What are the steps to enable the locale in the Storefront?
A. Create and configure the locale under Global Preferences section and activate it in Site Preferences.
B. Create, configure, and activate the locale under Global Preferences section.
C. Add an alias for the new locale and then create and configure the locale itself under Global Preferences section.
Multiple ChoiceApplication Development
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?
A. • Add the new attribute to the "Order" system object. • Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Order" object.
B. • Modify the "COPIaceOrder" controller to update a CSV file in the IMPEX WebDAV directory with the order ID and comments. • Modify the order export process to read information in the CSV file and include it as part of the export.
C. • Add the new attribute to the "Customer" system object. • Modify the "COPIaceOrder" controller to add this new attribute to the current session's "Customer" object.
D. • Create a new custom object type for order comments that contains the attributes: order ID and comments. • Modify the "COPIaceOrder" controller to create a new order comments custom object upon order completion.
Multiple ChoiceApplication Development
Question 4. 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?
A. HTML Form
B. SOAP Form
C. POST Form
D. HTTP Form
Multi SelectData Management Using Business Manager Usage
Question 5. Which two object types can a developer import using the Merchant Tools > Content > Import & Export module in Business Manager? (Choose two.)
A. Content slots
B. Images and other static assets
C. Products
D. Folders
E. Content assets