ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 169 - SCS-C02 discussion

Report
Export

A web application gives users the ability to log in verify their membership's validity and browse artifacts that are stored in an Amazon S3 bucket. When a user attempts to download an object, the application must verify the permission to access the object and allow the user to download the object from a custom domain name such as example com.

What is the MOST secure way for a security engineer to implement this functionality?

A.
Configure read-only access to the object by using a bucket ACL. Remove the access after a set time has elapsed.
Answers
A.
Configure read-only access to the object by using a bucket ACL. Remove the access after a set time has elapsed.
B.
Implement an IAM policy to give the user read access to the S3 bucket.
Answers
B.
Implement an IAM policy to give the user read access to the S3 bucket.
C.
Create an S3 presigned URL Provide the S3 presigned URL to the user through the application.
Answers
C.
Create an S3 presigned URL Provide the S3 presigned URL to the user through the application.
D.
Create an Amazon CloudFront signed URL. Provide the CloudFront signed URL to the user through the application.
Answers
D.
Create an Amazon CloudFront signed URL. Provide the CloudFront signed URL to the user through the application.
Suggested answer: D

Explanation:

For this scenario you would need to set up static website hosting because a custom domain name is listed as a requirement. 'Amazon S3 website endpoints do not support HTTPS or access points. If you want to use HTTPS, you can use Amazon CloudFront to serve a static website hosted on Amazon S3.' This is not secure. https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html CloudFront signed URLs allow much more fine-grained control as well as HTTPS access with custom domain names: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html

asked 16/09/2024
M Kumar
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first