ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 305 - SCS-C01 discussion

Report
Export

A company stores critical data in an S3 bucket. There is a requirement to ensure that an extra level of security is added to the S3 bucket. In addition , it should be ensured that objects are available in a secondary region if the primary one goes down. Which of the following can help fulfil these requirements? Choose 2 answers from the options given below Please select:

A.
Enable bucket versioning and also enable CRR
Answers
A.
Enable bucket versioning and also enable CRR
B.
Enable bucket versioning and enable Master Pays
Answers
B.
Enable bucket versioning and enable Master Pays
C.
For the Bucket policy add a condition for {"Null": {"aws:MultiFactorAuthAge": true}} i
Answers
C.
For the Bucket policy add a condition for {"Null": {"aws:MultiFactorAuthAge": true}} i
D.
Enable the Bucket ACL and add a condition for {"Null": {"aws:MultiFactorAuthAge": true}}
Answers
D.
Enable the Bucket ACL and add a condition for {"Null": {"aws:MultiFactorAuthAge": true}}
Suggested answer: A, C

Explanation:

The AWS Documentation mentions the following

Adding a Bucket Policy to Require MFA

Amazon S3 supports MFA-protected API access, a feature that can enforce multi-factor authentication (MFA) for access to your Amazon S3 resources. Multi-factor authentication provides an extra level of security you can apply to your AWS environment. It is a security feature that requires users to prove physical possession of an MFA device by providing a valid MFA code. For more information, go to AWS Multi-Factor Authentication. You can require MFA authentication for any requests to access your Amazoi. S3 resources.

You can enforce the MFA authentication requirement using the aws:MultiFactorAuthAge key in a bucket policy. IAM users car access Amazon S3 resources by using temporary credentials issued by the AWS Security Token Service (STS). You provide the MFA code at the time of the STS request.

When Amazon S3 receives a request with MFA authentication, the aws:MultiFactorAuthAge key provides a numeric value indicating how long ago (in seconds) the temporary credential was created. If the temporary credential provided in the request was not created using an MFA device, this key value is null (absent). In a bucket policy, you can add a condition to check this value, as shown in the following example bucket policy. The policy denies any Amazon S3 operation on the /taxdocuments folder in the examplebucket bucket if the request is not MFA authenticated. To learn more about MFA authentication, see Using Multi-Factor Authentication (MFA) in AWS in the IAM User Guide.

Option B is invalid because just enabling bucket versioning will not guarantee replication of objects

Option D is invalid because the condition for the bucket policy needs to be set accordingly For more information on example bucket policies, please visit the following URL:

• https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.htmlAlso versioning and Cross Region replication can ensure that objects will be available in the destination region in case the primary region fails. For more information on CRR, please visit the following URL:

https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.htmlThe correct answers are: Enable bucket versioning and also enable CRR, For the Bucket policy add a condition for {"Null": { "aws:MultiFactorAuthAge": true}}Submit your Feedback/ Queries to our Experts

asked 16/09/2024
Daniel Ramirez
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first