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
Q80: A company is hosting a web application
Q81: A Security team requires all Amazon EBS
Q82: A DevOps Engineer is researching the least-expensive
Q83: A company has established tagging and configuration
Q84: A DevOps Engineer manages a web application
Q86: A web application with multiple services runs
Q87: An n-tier application requires a table in
Q88: A DevOps Engineer is working on a
Q89: A DevOps Engineer has several legacy applications
Q90: A DevOps Engineer is implementing a mechanism
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents