Question 36

An Adobe Commerce developer adds a new extension attribute to add an array of values to the invoices that are fetched through the APIs.
After a while, their technical manager reviews their work and notices something wrong with the extension_attributes.xml file that the developer created in their module: extension_attributes for="Magento\Sales\Hotel\Order\InvoiceRepository"> attribute code"my_code" type=string]''>
</extension_attribute> What is the problem with this xml snippet?
  • Question 37

    An Adobe Commerce developer has created a before plugin for the save() function within the magento\Framework\App\Cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.
    Why is the plugin not executing as expected?
  • Question 38

    A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.
    Which two actions do you take to make sure the newsletter is sent? (Choose two.)
  • Question 39

    A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().
    Which mechanism do you use?
  • Question 40

    You want to remove a column introduced by a third-party extension via declarative schema.
    How do you do that?