ExamGecko
Question list
Search
Search

Related questions











Question 499 - CLF-C01 discussion

Report
Export

According to security best practices, how should an Amazon EC2 instance be given access to an Amazon S3 bucket?

A.
Hard code an IAM user's secret key and access key directly in the application, and upload the file.
Answers
A.
Hard code an IAM user's secret key and access key directly in the application, and upload the file.
B.
Store the IAM user's secret key and access key in a text file on the EC2 Instance, read the keys, then upload the file.
Answers
B.
Store the IAM user's secret key and access key in a text file on the EC2 Instance, read the keys, then upload the file.
C.
Have the EC2 instance assume a role to obtain the privileges to upload the file.
Answers
C.
Have the EC2 instance assume a role to obtain the privileges to upload the file.
D.
Modify the S3 bucket policy so that any service can upload to it at any time.
Answers
D.
Modify the S3 bucket policy so that any service can upload to it at any time.
Suggested answer: C
asked 16/09/2024
christopher tenney
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first