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 114 discussion

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

A developer is adding a feature to a client-side application so that users can upload videos to an Amazon S3 bucket.
What is the MOST secure way to give the application the ability to write files to the S3 bucket?

  • A. Update the S3 bucket policy to allow public write access. Allow any user to upload videos by removing the need to handle user authentication within the client- side application.
  • B. Create a new IAM policy and a corresponding IAM user with permissions to write to the S3 bucket. Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads.
  • C. Configure the API layer of the application to have a new endpoint that creates signed URLs that allow an object to be put into the S3 bucket. Generate a presigned URL through this API call in the client application. Upload the video by using the signed URL.
  • D. Generate a new IAM key and a corresponding secret by using the AWS account root user credentials. Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
t33me
Highly Voted 3 years, 6 months ago
Selected Answer: C
Looks like correct answer is "C"
upvoted 9 times
...
Ibrahim24
Most Recent 1 year, 3 months ago
Selected Answer: C
https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html
upvoted 1 times
...
rcaliandro
2 years ago
Selected Answer: C
The most secure way to guarantee access to S3 is by using presinged URLs that have also a limited access to resources. C is correct.
upvoted 1 times
...
sichilam
2 years, 5 months ago
C is correct
upvoted 1 times
...
k1kavi1
2 years, 7 months ago
Selected Answer: C
https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html
upvoted 1 times
...
successzy
3 years, 5 months ago
Answer should be C
upvoted 2 times
...
ersahinco
3 years, 5 months ago
Selected Answer: C
Answer: C
upvoted 2 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 ...