Question 6

An Adobe Commerce developer is developing a custom module. As part of their implementation they have decided that all instances of their Custom\Module\Model\Example class should receive a new instance of Magento\Filestem\adapter\local.
How would the developer achieve this using di. xml?
A)

B)

C)
  • Question 7

    An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria:

    Which snippet of code would produce the desired SQL query?
    A)

    B)

    C)
  • Question 8

    You are implementing a customization of the sales management within a module MyCompany_MySalesProcess. You have created several event observers to add the custom functionality. Each observer is a separate class, but they require some common functionality.
    How do you implement the common functionality in the event observers, keeping maintainability and testability in mind?
  • Question 9

    A merchant sells shoes with multiple variations such as a color and size. A shoe is represented by a configurable product. There are seven different colors and four sizes.
    What is the minimal amount of simple products that represent a combination of color and size needs to be created in order to make a shoe salable?
  • Question 10

    You are building a report using complex SQL aggregations to locate the required data.
    In what type of class do you put these SQL statements?