exam questions

Exam AD0-E722 All Questions

View all questions & answers for the AD0-E722 exam

Exam AD0-E722 topic 1 question 4 discussion

Actual exam question from Adobe's AD0-E722
Question #: 4
Topic #: 1
[All AD0-E722 Questions]

In a custom module, an Architect wants to define a new xml configuration file. The module should be able to read all the xml configuration files declared in the system, merge them together, and use their values in PHP class.
Which two steps should the Architect make to meet this requirement? (Choose two.)

  • A. Inject a “reader” dependency for “Magento\Framework\Config\Data” in di.xml
  • B. Write a plugin for \Magento\Framework\Config\Data::get() and read the custom xml files
  • C. Create a Data class that implements “\Magento\Framework\Config\Data”
  • D. Append the custom xml file name in “Magento\Config\Model\Config\Structure\Reader” in di.xml
  • E. Make a Reader class that implements “\Magento\Framework\Config\Reader\Filesystem”
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
crino
2 months ago
Selected Answer: CE
The correct answers are: C. Create a Data class that implements \Magento\Framework\Config\Data E. Make a Reader class that implements \Magento\Framework\Config\Reader\Filesystem Explanation: In Magento, defining a new XML configuration file involves creating a system to read and merge these XML files and then make the data available to the system. This requires implementing specific components of Magento's configuration framework.
upvoted 1 times
...
abhilash198
8 months, 3 weeks ago
A and D are correct answers
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago