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
Correct Answer : D
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.
Answer D
must be D
there is no customer_address_repository_save event