AD0-E724 · Question #46
What is the primary purpose of the 'services.yaml' file in an Adobe Commerce on cloud infrastructure project?
The correct answer is A. To define the services the application depends on, such as MySQL, Redis, and their versions.. In Adobe Commerce cloud projects, services.yaml is the dedicated configuration file for declaring external services (like MySQL, Redis, Elasticsearch, RabbitMQ) along with their versions and disk allocations - making A correct. Why the distractors are wrong: B describes .magento.
Question
What is the primary purpose of the 'services.yaml' file in an Adobe Commerce on cloud infrastructure project?
Options
- ATo define the services the application depends on, such as MySQL, Redis, and their versions.
- BTo configure the web server properties and writable mount points.
- CTo set environment-specific variables for different stages of deployment.
- DTo define the application's build hooks and deployment phases.
How the community answered
(38 responses)- A74% (28)
- B8% (3)
- C5% (2)
- D13% (5)
Explanation
In Adobe Commerce cloud projects, services.yaml is the dedicated configuration file for declaring external services (like MySQL, Redis, Elasticsearch, RabbitMQ) along with their versions and disk allocations - making A correct.
Why the distractors are wrong:
- B describes
.magento.app.yaml, which handles web server properties, mounts, and application-level configuration. - C describes
.magento.env.yaml(or environment variables set viamagento-cloudCLI), used for stage-specific settings likeCACHE_CONFIGURATIONorDATABASE_CONFIGURATION. - D also describes
.magento.app.yaml, specifically itshookssection (build,deploy,post_deploy).
Memory tip: Think of the files by their names - services.yaml = services (the infrastructure your app depends on), .magento.app.yaml = app configuration (hooks, mounts, web server), and .magento.env.yaml = environment variables. Each file owns its domain.
Topics
Community Discussion
No community discussion yet for this question.