AD0-E725 practice question 1 of 10
A Developer working on an Adobe Commerce Cloud project encounters an issue with the database service that requires investigation. To troubleshoot the issue, the Developer decides to securely access the cloud services from the local machine to directly interact with the services and run diagnostic commands. Which command step is required to achieve this?
Full set: 50 questionsThe magento-cloud tunnel:open command is the correct and standard method provided by the Adobe Commerce Cloud CLI to establish a secure SSH tunnel. This tunnel connects a local port on the developer's machine to a specific service (like a database or Redis) within the cloud environment. This allows the developer to use local clients and tools to directly and securely interact with the remote service for troubleshooting and diagnostics, as described in the scenario.
A. The php bin/magento executable is used for Magento application-specific commands, not for managing the cloud infrastructure or establishing network connections like SSH tunnels.
B. The command magento-cloud service:connect is not a valid command within the Adobe Commerce Cloud CLI toolset. The correct command group for this functionality is tunnel.
1. Adobe Commerce on Cloud Infrastructure Guide: In the section "Connect to the database," the guide explicitly instructs developers to use the magento-cloud tunnel:open command to create a secure connection to the database service. (See Adobe Commerce Developer Guide -> Cloud for Adobe Commerce -> Develop -> Connect to the database).
2. Adobe Commerce Cloud CLI Reference: The official documentation for the Cloud CLI lists tunnel:open as the command to "Open a tunnel to a service in the environment." It details the usage and arguments for connecting to services like database, redis, or elasticsearch. (See Adobe Commerce Developer Guide -> Cloud for Adobe Commerce -> Reference -> Cloud CLI reference -> CLI commands -> tunnel:open).
Keep practicing
Take the free AD0-E725 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AD0-E725 practice questions
- Question 2A Developer is tasked with creating a new index. The custom indexer is not automatically …
- Question 3An Adobe Commerce Developer is approached to disable several cron jobs from a customizati…
- Question 4An Adobe Commerce Developer is tasked to frequently send data to a third-party API. The A…
- Question 5A Developer creates daily cron jobs to automate a client’s business processes, including …
- Question 6A client wants to calculate tax differently when an order is billed for a range of partic…
- Question 7A client requests changes to their Pro Staging and Production environments. They supply a…
