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 109 discussion

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

A company has a single-page application that was developed in Angular. A DevOps engineer needs to automate deployments of the application to a website that the company hosts on Amazon S3. The solution must provide version control of the source code and must give developers the ability to perform peer review.

Which combination of steps will meet these requirements? (Choose three.)

  • A. Create an AWS CodeCommit repository to store the source code. Create an AWS CodePipeline pipeline that has a source of the CodeCommit repository.
  • B. Create an S3 bucket to act as the source for developers to upload their source code. Create an AWS CodePipeline pipeline that has the S3 bucket as the source.
  • C. In the CodePipeline pipeline, configure an AWS CodeBuild phase that compiles the source code and produces build artifacts.
  • D. In the CodePipeline pipeline, configure an AWS CodeDeploy phase that compiles the source code, produces build artifacts, and then deploys the website.
  • E. In the CodePipeline pipeline, configure an AWS AppConfig deploy action that deploys the build artifacts to the S3 website bucket.
  • F. In the CodePipeline pipeline, configure an S3 deploy action that deploys the build artifacts to the S3 website bucket.
Show Suggested Answer Hide Answer
Suggested Answer: ACF 🗳️

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
bgc1
2 years, 4 months ago
Selected Answer: ACF
A - CodeCommit to store code C - CodeBuild to compile code and build artifact F - S3 deploy action to deploy the S3 website - https://docs.aws.amazon.com/codepipeline/latest/userguide/integrations-action-type.html#integrations-deploy-S3
upvoted 2 times
...
Piccaso
2 years, 5 months ago
Selected Answer: ACE
Between A and B, source of the code should be CodeCommit. C and E are the correct following steps.
upvoted 1 times
...
Bulti
2 years, 5 months ago
Selected Answer: ACF
ACF is correct
upvoted 1 times
...
saeidp
2 years, 6 months ago
Selected Answer: ACF
S3 is a target for Codepipeline
upvoted 1 times
...
Imstack
2 years, 6 months ago
ACF for sure
upvoted 1 times
...
SatenderRathee
2 years, 7 months ago
Selected Answer: ACF
A, C, and F are the correct steps to meet the requirements. To provide version control and peer review, the company can create an AWS CodeCommit repository to store the source code. Then, they can create an AWS CodePipeline pipeline that has the CodeCommit repository as its source. In the CodePipeline pipeline, they can configure an AWS CodeBuild phase to compile the source code and produce build artifacts. This will allow the pipeline to build and package the application code. Finally, they can configure an S3 deploy action in the CodePipeline pipeline to deploy the build artifacts to the S3 website bucket, which will host the website. This will enable the pipeline to automatically deploy the application to the website hosted on S3.
upvoted 3 times
...
nsvijay04b1
2 years, 7 months ago
Selected Answer: ACF
A - peer review C - Build Angular code F - deploy to S3 bucket
upvoted 3 times
...
quixo
2 years, 7 months ago
I will go with ACD
upvoted 1 times
quixo
2 years, 7 months ago
Refer: https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-s3deploy.html
upvoted 1 times
...
...
SmileyCloud
2 years, 7 months ago
Selected Answer: ACF
A - You need source repo C - CodeBuild to compile F - CodePipeline to deploy to S3 E - no need to deploy to AppConfig, S3 is also a target.
upvoted 2 times
quixo
2 years, 7 months ago
Look like answer is ACD ?
upvoted 1 times
...
...
Maygam
2 years, 7 months ago
Selected Answer: ACF
For deployment, i would with Amazon S3 deploy action which is option F
upvoted 1 times
...
adozoo
2 years, 7 months ago
Selected Answer: ACE
Angular is use NPM? need codebuild..i think
upvoted 2 times
quixo
2 years, 7 months ago
E do not mention about codebuid?
upvoted 1 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 ...