ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 10 - AD0-E718 discussion

Report
Export

An Architect is reviewing a custom module that is logging customer activity data on storefront using observers. The client reports that logs were recorded while the client was previewing storefront catalog pages from Admin Panel for a future scheduled campaign, using Adobe Commerce staging preview functionality.

What should the Architect check first to address this issue9

A.
The plugin for the public method isAllowedObserver() from\Magento\Staging\Model\Event\Manager that alters the return value
Answers
A.
The plugin for the public method isAllowedObserver() from\Magento\Staging\Model\Event\Manager that alters the return value
B.
The logging observers being copied from etc\events.xml to etc\adminhtml\events.xml with the attribute disabled=’’true"
Answers
B.
The logging observers being copied from etc\events.xml to etc\adminhtml\events.xml with the attribute disabled=’’true"
C.
The list of logging observers in bannedObservers parameter of\Magento\staging\Model\Event\Managertype in di.xml
Answers
C.
The list of logging observers in bannedObservers parameter of\Magento\staging\Model\Event\Managertype in di.xml
Suggested answer: C

Explanation:

It will allow you to exclude logging observers from being executed during staging preview functionality by adding them to bannedObservers parameter of

\Magento\staging\Model\Event\Manager type in di.xml file. This will prevent customer activity data from being logged while previewing storefront catalog pages from Admin Panel for a future scheduled campaign.

asked 02/10/2024
Kareem Dadoul
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first