AD0-E716 practice question 8 of 15

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.)

Full set: 69 questions
Answer options
A: Run the magento-cloud relationships CLI Command.
B: Get the data from the Project Web Interface dedicated section.
C: Execute ece-tools env:config:show services Command.
D: Connect to server via SSH and read $_ENV['services'] variable.
Correct Answer:
AD
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’] variable, which contains the same information as the CLI command output. Verified Reference: [Magento 2.4 DevDocs] 3

Scroll to Top