A custom module that adds a new console command for bin/magento has just been built. Deploying this to the Production environment on your Pro plan site causes the build phase to fail.

A custom module that adds a new console command for bin/magento has just been built. Deploying this to the Production environment on your Pro plan site causes the build phase to fail.
You find this occurs when you inject certain Magento core classes in your console command class. The command works on your local environment.
Why does this occur?
A. The injected class logged to the exception log file, but a different logging implementation is used during deployment.
B. Files were written to the root Magento directory, which is read-only on Magento Commerce Cloud.
C. A connection to the database was attempted, which is not available during the build phase.
D. The three webservers generated different content, which causes the build to be rolled back for safety.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.