A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module’s schema updates have been applied.
How is this accomplished?
A. Write a plugin intercepting MagentoSetupModelInstaller::handleDBSchemaData
B. Create an UpgradeSchemaAfter class which implements InstallSchemaInterface
C. Update the module’s setup_priority in etc/modules.xml
D. Create a Recurring class which implements InstallSchemaInterface
Answer:- D
Magento executes your module’s recurring schema event class after every schema installation or upgrade stage. This class makes final modifications to the database schema after it has been installed or updated.
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/prepare/lifecycle.html#recurring-schema-event
Correct Answer D
https://aureatelabs.com/magento-2/recurring-setup-script-in-magento-2/