Adobe Commerce Developer Expert AD0-E716 Question # 1 Topic 1 Discussion

Adobe Commerce Developer Expert AD0-E716 Question # 1 Topic 1 Discussion

AD0-E716 Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

An Adobe Commerce developer is creating a module (Vendor.ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.

What must the developer do to accomplish this?


A.

There is nothing further the developer needs to do. The table will be removed when the module is disabled and bin/magento setup:upgrade is run.


B.

There is nothing further the developer needs to do. The table will be removed when the when bin/magento module:uninstall vendor_ModuleName is run.


C.

Add a schema patch that implements Magento\Framework\setup\Patch\PatchRevertabieinterface and drops the table in the revert function.


Get Premium AD0-E716 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.