A company is using an flaws CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple flaws accounts. The buildspec.yml file contains the following: The DevOps Engineer has noticed that anybody with an flaws account is able to download the artifacts. What steps should the DevOps Engineer take to stop this?

QuestionsCategory: DOP-C01A company is using an flaws CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple flaws accounts. The buildspec.yml file contains the following: The DevOps Engineer has noticed that anybody with an flaws account is able to download the artifacts. What steps should the DevOps Engineer take to stop this?
Admin Staff asked 7 months ago
A company is using an flaws CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple flaws accounts.
The buildspec.yml file contains the following:
The DevOps Engineer has noticed that anybody with an flaws 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 flaws accounts only.

B. Configure a default ACL for the S3 bucket that defines the set of authenticated users as the relevant flaws accounts only and grants read-only access.

C. Create an S3 bucket policy that grants read access to the relevant flaws 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 flaws accounts only.








 

Correct Answer: A

This question is in DOP-C01 exam
For getting AWS DevOps Engineer - Professional Certificate

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.