exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 9 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 9
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
WhyIronMan
Highly Voted 3 years, 5 months ago
I'll go with A, B, C Reference: https://docs.aws.amazon.com/codebuild/latest/userguide/github-webhook.html
upvoted 15 times
...
sb333
Highly Voted 3 years, 5 months ago
ABC is the correct answer. https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-pull-request.html
upvoted 6 times
...
agbor_tambe
Most Recent 4 months, 3 weeks ago
Selected Answer: ABC
abc is the right answer
upvoted 1 times
...
xhi158
1 year, 5 months ago
To automate the build process for a project where the code is stored in GitHub, the following steps can be taken: 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 These steps will ensure that the source code is compiled, tested, and pushed to Amazon S3 when the repository is updated. https://docs.github.com/en/actions/automating-builds-and-tests
upvoted 1 times
...
mgonblan
1 year, 12 months ago
Https credentials can be used to connect through 3rd party code repositories like github, bitbucket and gitlab https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html
upvoted 1 times
...
hp298
2 years, 1 month ago
Selected Answer: ABC
ABC works
upvoted 1 times
...
Bulti
2 years, 3 months ago
A,B,C is the right answer
upvoted 2 times
...
metavers22
2 years, 4 months ago
Selected Answer: ABC
i'll go with this
upvoted 1 times
...
ducluanxutrieu
2 years, 5 months ago
Selected Answer: ABC
I'll go with A, B, C
upvoted 2 times
...
flavins
2 years, 5 months ago
Selected Answer: ABC
I will go for ABC
upvoted 1 times
...
flavins
2 years, 5 months ago
ABC for me
upvoted 1 times
...
MikeyJ
2 years, 7 months ago
With a webhook in place, each time a Git user pushes a commit, your repository is automatically retrieved, zipped, and uploaded to an Amazon Simple Storage System (Amazon S3) bucket. You can then configure AWS services such as AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy to use the S3 bucket as a source. https://aws.amazon.com/quickstart/architecture/git-to-s3-using-webhooks/
upvoted 3 times
...
colinquek
2 years, 7 months ago
Selected Answer: AB
ABC - although the 3 ans address only the CI part. The other options while looking like they address deployments, actually dont fit in to this scenario.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago