ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 46 - AD0-E720 discussion

Report
Export

An Adobe Commerce developer has just installed an extension via composer. When running, bin/magento module: status Vendor_Module, the status is returned as Module is disabled.

Which two CLI commands need to be run to make the extension work properly? (Choose two.)

A.
composer install
Answers
A.
composer install
B.
bin/magento setup:upgrade
Answers
B.
bin/magento setup:upgrade
C.
composer update vendor/module
Answers
C.
composer update vendor/module
D.
bin/magento module:enable Vendor_Module --clear-static-content
Answers
D.
bin/magento module:enable Vendor_Module --clear-static-content
Suggested answer: B, D

Explanation:

The developer needs to run these two CLI commands to make the extension work properly:

bin/magento module:enable Vendor_Module --clear-static-content This command enables the extension and clears any outdated static files that might interfere with its functionality.

bin/magento setup:upgrade This command updates the database schema and data according to the extension's requirements. The other two options are incorrect because they are not necessary to make the extension work properly. The composer install command installs all dependencies specified in the composer.json file, but it does not enable or update any extensions. The composer update vendor/module command updates an existing extension to its latest version, but it does not enable or upgrade it.

asked 02/10/2024
Ayyaz Rehan Ikram
24 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first