ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 36 - AD0-E718 discussion

Report
Export

A developer needs to uninstall two custom modules as well as the database data and schemas. The developer uses the following command: bin/magento module:uninstall Vendor_SampleMinimal Vendor_SampleModifyContent When the command is run from CLI, the developer fails to remove the database schema and data defined in the module Uninstall class.

Which three requirements should the Architect recommend be checked to troubleshoot this issue?

(Choose three.)

A.
remove-schema and --remove-data options are specified as arguments for the CLI command
Answers
A.
remove-schema and --remove-data options are specified as arguments for the CLI command
B.
bin/magento maintenance: enable command should be run in CLI before
Answers
B.
bin/magento maintenance: enable command should be run in CLI before
C.
composer.json file is present and defines the module as a composer package
Answers
C.
composer.json file is present and defines the module as a composer package
D.
Invoke uninstallData() and uninstallSchema () are defined in the Uninstall class
Answers
D.
Invoke uninstallData() and uninstallSchema () are defined in the Uninstall class
E.
--remove-data option is specified as an argument for the CLI command
Answers
E.
--remove-data option is specified as an argument for the CLI command
F.
invoked uninstall () method is implemented in the Uninstall class
Answers
F.
invoked uninstall () method is implemented in the Uninstall class
Suggested answer: A, D, F

Explanation:

To troubleshoot the issue, the Architect should check that the remove-schema and --remove-data options are specified as arguments for the CLI command, that the Uninstall class defines the uninstallData() and uninstallSchema() methods, and that the invoked uninstall() method is implemented in the Uninstall class.

asked 02/10/2024
Donovan Rodriguez
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first