Computer Science, asked by ashokkumarkakarla, 11 months ago

How can you restrict the access to the contents delivered in cloudfront? a) Origin access identity b) bucket policy c) All the options mentioned d) IAM

Answers

Answered by bestanswers
2

The answer to this question is option c) All the options mentioned.

            All the three options come under the features of AWS SDK for Java. CloudFront is an easy to use content delivery service with a high-performance rate. The AWS SDK can easily access any private content on CloudFront for Java.



amitmurarka83: Option C All the options mentioned is not the right answer
amitmurarka83: a) Origin access identity is the right answer
Answered by Arslankincsem
4

Option C is the correct Answer.

One can restrict access to the contents delivered in cloudfront by all the options mentioned: Origin access identity, Bucket policy and IAM. While the direct method applied is on origin access identity, however, if someone is using an Amazon S3 bucket as the origin for a CloudFront distribution, they can either allow everyone to have access to the files there, or restrict it. Furthermore, these policies are attached to an IAM identity.

Here are the steps:

1. Click on the ID of a distribution that has an S3 origin.

2. Choose Distribution Settings.

3. Go to the Origins tab.

4. Choose an origin.  

5. Choose Edit.

6. To Restrict Bucket Access, click on ‘Yes’.

Similar questions