AD0-E716 · Question #57
A developer is working on an Adobe Commerce Cloud project and wants to get connection data for the environment's deployed services. The developer has all of the necessary permissions to do this…
The correct answer is A. Run the magento-cloud relationships CLI Command. D. Connect to server via SSH and read $_ENV['services'] variable. Two options to get the connection credentials for the environment's deployed services are to run the magento-cloud relationships CLI command and to connect to the server via SSH and read $_ENV['services'] variable. The magento-cloud relationships CLI command displays…
Question
A developer is working on an Adobe Commerce Cloud project and wants to get connection data for the environment's deployed services. The developer has all of the necessary permissions to do this. Which two options would the developer take to get the connection credentials? (Choose Two.)
Options
- ARun the magento-cloud relationships CLI Command.
- BGet the data from the Project Web Interface dedicated section.
- CExecute ece-tools env:config:show services Command.
- DConnect to server via SSH and read $_ENV['services'] variable.
How the community answered
(32 responses)- A88% (28)
- B9% (3)
- C3% (1)
Explanation
Two options to get the connection credentials for the environment's deployed services are to run the magento-cloud relationships CLI command and to connect to the server via SSH and read $_ENV['services'] variable. The magento-cloud relationships CLI command displays information about the relationships between an environment and its services, such as database, cache, search, etc. The developer can use this command to get the connection data for each service in JSON format. Alternatively, the developer can connect to the server via SSH and read the $_ENV['services'] [Magento 2.4 DevDocs] 3
Topics
Community Discussion
No community discussion yet for this question.