ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 407 - SCS-C01 discussion

Report
Export

A company is hosting sensitive data in an AWS S3 bucket. It needs to be ensured that the bucket always remains private. How can this be ensured continually? Choose 2 answers from the options given below Please select:

A.
Use AWS Config to monitor changes to the AWS Bucket
Answers
A.
Use AWS Config to monitor changes to the AWS Bucket
B.
Use AWS Lambda function to change the bucket policy
Answers
B.
Use AWS Lambda function to change the bucket policy
C.
Use AWS Trusted Advisor API to monitor the changes to the AWS Bucket
Answers
C.
Use AWS Trusted Advisor API to monitor the changes to the AWS Bucket
D.
Use AWS Lambda function to change the bucket ACL
Answers
D.
Use AWS Lambda function to change the bucket ACL
Suggested answer: A, D

Explanation:

One of the AWS Blogs mentions the usage of AWS Config and Lambda to achieve this. Below is the diagram representation of this

Option C is invalid because the Trusted Advisor API cannot be used to monitor changes to the AWS Bucket Option B doesn't seems to be the most appropriate.

1. If the object is in a bucket in which all the objects need to be private and the object is not private anymore, the Lambda function makes a PutObjectAcI call to S3 to make the object private. |https://aws.amazon.com/blogs/security/how-to-detect-and-automatically-remediate-unintendedpermissions-in-amazon-s3-bbiect-acls-with-cloudwatch-events/

The following link also specifies thatCreate a new Lambda function to examine an Amazon S3 buckets ACL and bucket policy. If the bucket ACL is found to al public access, the Lambda function overwrites it to be private. If a bucket policy is found, the Lambda function creatt an SNS message, puts the policy in the message body, and publishes it to the Amazon SNS topic we created. Bucket policies can be complex, and overwriting your policy may cause unexpected loss of access, so this Lambda function doesn't attempt to alter your policy in any way.

https://aws.amazon.com/blogs/security/how-to-use-aws-config-to-monitor-for-and-respond-toamazon-s3-buckets-allowinj Based on these facts Option D seems to be more appropriate then Option B.

For more information on implementation of this use case, please refer to the Link:

https://aws.amazon.com/blogs/security/how-to-use-aws-config-to-monitor-for-and-respond-toamazon-s3-buckets-allowinj The correct answers are: Use AWS Config to monitor changes to the AWS Bucket Use AWS Lambda function to change the bucket ACL

asked 16/09/2024
Sukhpreet Sidhu
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first