- An application hosted on an EC2 instance needs to write data into an S3 bucket, using the PUT method of the S3 API. What is the most secure way to authenticate s3:PutObject requests initiated by the application?
A: Create an IAM user with the s3:PutObject permission and configure the access key and secret key of this user in the application to access the bucket for writing objects.
B: Create an IAM role with the s3:PutObject permission and assign this role to the S3 bucket, where data needs to be stored.
C: Create an IAM role with the s3:PutObject permission and assign this role to the EC2 instance where the application is hosted.
D: Create a bucket policy that allows the s3:PutObject permission for everybody.
- What is visibility timeout in an SQS queue?
A: When a message is sent to the queue by a producer, visibility timeout is triggered and the message is automatically...