Multiple Choice
A company is using an AWS CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple AWS accounts. The buildspec.yml file contains the following: The DevOps Engineer has noticed that anybody with an AWS account is able to download the artifacts. What steps should the DevOps Engineer take to stop this?
A) Modify the post_build to command to use --acl public-read and configure a bucket policy that grants read access to the relevant AWS accounts only. Modify the post_build to command to use --acl public-read and configure a bucket policy that grants read access to the relevant AWS accounts only.
B) Configure a default ACL for the S3 bucket that defines the set of authenticated users as the relevant AWS accounts only and grants read-only access.
C) Create an S3 bucket policy that grants read access to the relevant AWS accounts and denies read access to the principal "*"
D) Modify the post_build command to remove --acl authenticated-read and configure a bucket policy that allows read access to the relevant AWS accounts only. post_build command to remove --acl authenticated-read and configure a bucket policy that allows read access to the relevant AWS accounts only.
Correct Answer:

Verified
Correct Answer:
Verified
Q481: A retail company is currently hosting a
Q482: What does it mean if you have
Q483: A government agency has multiple AWS accounts,
Q484: A company is required to collect user
Q485: A company is testing a web application
Q487: A DevOps Engineer is setting up a
Q488: An IT department manages a portfolio with
Q489: A company has developed a Node.js web
Q490: When thinking of AWS Elastic Beanstalk, which
Q491: You are hosting multiple environments in multiple