Which mechanism do you use?

A custom module needs to log all calls of MagentoCustomerApiAddressRepositoryInterface::save().
Which mechanism do you use?
A. An observer on the customer_address_repository_save event, which is automatically fired for every repository save
B. A proxy configured to intercept all calls to any public method and log them
C. An extension attribute configured in the extension_attributes.xml
D. A plugin declared for the save() method

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “Which mechanism do you use?

  1. Answer:- D

    tested
    In Magento, i can not found “customer_address_repository_save” event so A answer is wrong
    We can use the after plugin here because the save method is defined as public.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.