Magento Certified Professional Cloud Developer — Question 3
You are setting up a third-party integration only for the Production environment, which connects to an external RabbitMQ server.
Where do you put the configuration?
Answer options
- A. In the app/etc/env.php file
- B. In the QUEUE_CONFIGURATION variable added in the Project Web UI or magento-cloud CLI
- C. In the env:QUEUE_CONFIGURATION variable added in the Project Web UI or magento-cloud CLI
- D. In the QUEUE_CONFIGURATION variable in the .magento.env.yaml file
Correct answer: B
Explanation
The correct answer is B, as the QUEUE_CONFIGURATION variable must be set up in the Project Web UI or through the magento-cloud CLI for accessing the external RabbitMQ server in the Production environment. Options A and D do not apply because they refer to incorrect files for this configuration, while option C incorrectly includes 'env:' which is not the required syntax for this specific variable.