AWS Certified Developer – Associate — Question 194
A development team sets up a project's file directory structure in AWS CodeCommit. The team plans to use AWS CodeBuild and AWS CodeDeploy. The team creates the necessary configuration files for CodeBuild and CodeDeploy. The team wants to name and place these files according to service defaults.
Where should the team place the CodeBuild and CodeDeploy files?
Answer options
- A. A directory named "aws" under the route source directory
- B. A directory named "deploy" under the root source directory
- C. A directory named "scripts" under the root source directory
- D. The root of the source directory
Correct answer: D
Explanation
The correct answer is D, as AWS CodeBuild and AWS CodeDeploy configuration files should be placed at the root of the source directory to be automatically detected by the services. Options A, B, and C suggest placing files in specific subdirectories, which do not align with the default service expectations for file locations.