exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 53 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 53
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer is storing JSON files in an Amazon S3 bucket. The developer wants to securely share an object with a specific group of people.
How can the developer securely provide temporary access to the objects that are stored in the S3 bucket?

  • A. Set object retention on the files. Use the AWS software development kit (SDK) to restore the object before subsequent requests. Provide the bucket's S3 URL.
  • B. Use the AWS software development kit (SDK) to generate a presigned URL. Provide the presigned URL.
  • C. Set a bucket policy that restricts access after a period of time. Provide the bucket's S3 URL.
  • D. Configure static web hosting on the S3 bucket. Provide the bucket's web URL.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
denccc
Highly Voted 3 years, 3 months ago
It's B
upvoted 11 times
...
dave0808
Highly Voted 3 years, 3 months ago
also B, https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html All objects by default are private. Only the object owner has permission to access these objects. However, the object owner can optionally share objects with others by creating a presigned URL, using their own security credentials, to grant time-limited permission to download the objects.
upvoted 5 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: B
B) Correct - A presigned URL is a secure way to grant temporary access to objects in an S3 bucket without exposing credentials or altering the bucket's access permissions. The presigned URL is generated programmatically using the AWS SDK or CLI and includes a limited validity period. Once the URL expires, access to the object is denied.
upvoted 2 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: B
When you see share object securely, always go with presided URL if it is in option, key point
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: B
Only the object owner can access to a private object in an S3 bucket. He can create a presigned URL for guarantee access to other people by using his credentials. Furthemore, the presigned URLs will expired after a configurable period of time. The answer is defenitely B
upvoted 2 times
...
imvb88
1 year, 11 months ago
Selected Answer: B
You see S3 and time-limited/temporary access, you go for presigned URL.
upvoted 2 times
...
MMaquis
2 years, 2 months ago
Selected Answer: B
Answer is B
upvoted 2 times
...
robotgeek
2 years, 2 months ago
Selected Answer: C
Guys it can not be B, I don't get it "Anyone who receives the presigned URL can then access the object." Anyone?
upvoted 1 times
JonasKahnwald
4 months, 1 week ago
Same with C. With C, people can access the entire bucket, not just a specific file. Also bucket links are permanent, while presigned urls can expire.
upvoted 1 times
...
cdm2009
1 year, 6 months ago
The same issue would apply to C - anyone with the S3 URL would have access for that amount of time. The difference is, with B, when that signed URL is expired, it's done for good, and to share with a different set of people you generate a new signed URL. With C, to share with a new set of people you would re-open the S3 bucket... meaning the original set of people would regain access as well.
upvoted 2 times
...
...
KiDe
2 years, 10 months ago
Ans: B
upvoted 3 times
...
mohamedba
2 years, 10 months ago
Answer is pre-signed URL, so B
upvoted 2 times
...
JP_PA
3 years, 2 months ago
Selected Answer: B
ANS: B
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago