AWS Certified DevOps Engineer – Professional — Question 50
A software company wants to automate the build process for a project where the code is stored in GitHub. When the repository is updated, source code should be compiled, tested, and pushed to Amazon S3.
Which combination of steps would address these requirements? (Choose three.)
Answer options
- A. Add a buildspec.yml file to the source code with build instructions.
- B. Configure a GitHub webhook to trigger a build every time a code change is pushed to the repository.
- C. Create an AWS CodeBuild project with GitHub as the source repository.
- D. Create an AWS CodeDeploy application with the Amazon EC2/On-Premises compute platform.
- E. Create an AWS OpsWorks deployment with the install dependencies command.
- F. Provision an Amazon EC2 instance to perform the build.
Correct answer: A, B, C
Explanation
The correct steps A, B, and C are essential for automating the build process: A provides the necessary instructions, B triggers the build upon updates, and C sets up the environment using GitHub as the source. Options D, E, and F are irrelevant to the specific automation of the build process as described in the requirements.