exam questions

Exam AD0-E722 All Questions

View all questions & answers for the AD0-E722 exam

Exam AD0-E722 topic 1 question 38 discussion

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

An Adobe Commerce Architect designs and implements functionality that introduces a new Complex Product Type to the existing Adobe Commerce website. Besides visual demonstration of the new product type, the changes include adjustments to the price index.
The website utilizes a multi-dimensional indexer feature to store the price index. The Architect decides to cover it with integration tests. After creating and running one test, the Architect discovers that database storage is not being fully cleaned.
The test method has the following annotation declaration:

Which adjustment should the Architect make to fix this issue?

  • A. Add annotation @magentoAppIsolation enabled to method PHPDoc
  • B. Modify method PHPDoc and change annotation @magentoDbIsoiation to enabled
  • C. Create Custom_ProductType::Test/_files/{fixture_name}_rollback.php for every fixture
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
1 month, 1 week ago
Selected Answer: B
The correct adjustment is to B. Modify method PHPDoc and change annotation @magentoDbIsolation to enabled, as it will ensure proper database isolation and cleanup during integration tests.
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