After installing a Magento extension that implements a new class for a site and deploying this to an integration environment, you see it is not working.
In the logs, you discover the following error:
The specified /app/generated/code/MyCompany/MyModule/MyClassFactory.php could not be written failed to open stream: Read-only file system How do you fix this?
A. A support ticket should be filed with Magento Commerce Cloud to fix the filesystem issue.
B. The extension should be modified so it does not write to generated at runtime.
C. The file should be generated locally and pushed via Git.
D. The GENERATED_CODE_WRITABLE variable should be set to true whenever using extensions.
Correct Answer: B