
Answer-first summary for fast verification
Answer: Give AWS CodeBuild permissions to upload the build output to your Amazon S3 bucket
Give AWS CodeBuild permissions to upload the build output to your Amazon S3 bucket If you choose ProjectArtifacts and your value type is S3 then the build project stores build output in Amazon Simple Storage Service (Amazon S3). For that, you will need to give AWS CodeBuild permissions to upload. Incorrect options: Configure AWS CodeBuild to store output artifacts on EC2 servers - EC2 servers are not a valid output location, so this option is ruled out. Give AWS CodeCommit permissions to upload the build output to your Amazon S3 bucket - AWS CodeCommit is the repository that holds source code and has no control over compiling the source code, so this option is incorrect. Contact AWS Support to allow AWS CodePipeline to manage build outputs - You can set AWS CodePipeline to manage its build output locations instead of AWS CodeBuild. There is no need to contact AWS Support. Reference: https://docs.aws.amazon.com/codebuild/latest/userguide/create-project.html#create-project-cli
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have been hired as an experienced developer at a company that requires assistance with establishing a continuous integration/continuous delivery (CI/CD) workflow on AWS. You have set up the company’s workflow to trigger an AWS CodePipeline pipeline whenever there are changes in the application’s source code, which is stored in a repository hosted on AWS CodeCommit. Additionally, the source code compilation is handled by AWS CodeBuild. You are currently in the process of configuring the ProjectArtifacts in the build stage.
What should you do next?
A
Give AWS CodeCommit permissions to upload the build output to your Amazon S3 bucket
B
Give AWS CodeBuild permissions to upload the build output to your Amazon S3 bucket
C
Configure AWS CodeBuild to store output artifacts on EC2 servers
D
Contact AWS Support to allow AWS CodePipeline to manage build outputs