ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 253 - SAP-C02 discussion

Report
Export

A company has an application that generates reports and stores them in an Amazon S3 bucket. When a user accesses their report, the application generates a signed URL to allow the user to download the report. The company's security team has discovered that the files are public and that anyone can download them without authentication. The company has suspended the generation of new reports until the problem is resolved. Which set of actions will immediately remediate the security issue without impacting the application's normal workflow?

A.
Create an AWS Lambda function that applies a deny all policy for users who are not authenticated. Create a scheduled event to invoke the Lambda function.
Answers
A.
Create an AWS Lambda function that applies a deny all policy for users who are not authenticated. Create a scheduled event to invoke the Lambda function.
B.
Review the AWS Trusted Advisor bucket permissions check and implement the recommended actions.
Answers
B.
Review the AWS Trusted Advisor bucket permissions check and implement the recommended actions.
C.
Run a script that puts a private ACL on all of the objects in the bucket.
Answers
C.
Run a script that puts a private ACL on all of the objects in the bucket.
D.
Use the Block Public Access feature in Amazon S3 to set the IgnorePublicAcls option to TRUE on the bucket.
Answers
D.
Use the Block Public Access feature in Amazon S3 to set the IgnorePublicAcls option to TRUE on the bucket.
Suggested answer: D

Explanation:

The S3 bucket is allowing public access and this must be immediately disabled. Setting the IgnorePublicAcls option to TRUE causes Amazon S3 to ignore all public ACLs on a bucket and any objects that it contains. The other settings you can configure with the Block Public Access Feature are: o BlockPublicAcls – PUT bucket ACL and PUT objects requests are blocked if granting public access. o BlockPublicPolicy – Rejects requests to PUT a bucket policy if granting public access. o RestrictPublicBuckets – Restricts access to principles in the bucket owners’ AWS account. https://aws.amazon.com/s3/features/block-public-access/

asked 16/09/2024
Venkata Shiva Rajesh Boyinapalli
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first