AWS Certified Developer – Associate — Question 225
A developer is using AWS CodeDeploy to automate a company's application deployments to Amazon EC2.
Which application specification file properties are required to ensure the software deployments do not fail? (Choose two.)
Answer options
- A. The file must be a JSON-formatted file named appspec.json.
- B. The file must be a YAML-formatted file named appspec.yml.
- C. The file must be stored in AWS CodeBuild and referenced from the application's source code.
- D. The file must be placed in the root of the directory structure of the application's source code.
- E. The file must be stored in Amazon S3 and referenced from the application's source code.
Correct answer: B, D
Explanation
The correct answers are B and D because the application specification file must be in YAML format and named appspec.yml, and it needs to be placed in the root directory of the application's source code for AWS CodeDeploy to function properly. Options A, C, and E are incorrect as they do not meet the required format or location criteria for the appspec file.