QuestionQ110

VerifiedSecurity

A company has an application that is hosted on Amazon EC2 instances. The application stores objects in an Amazon S3 bucket and allows users to download objects from the S3 bucket. A developer turns on S3 Block Public Access for the S3 bucket. After this change, users report errors when they attempt to download objects. The developer needs to implement a solution so that only users who are signed in to the application can access objects in the S3 bucket.

Which combination of steps will meet these requirements in the MOST secure way?

Choose two
Explanation

Option A: EC2 instance profiles with IAM roles provide secure credentials for the application to access S3 (no keys stored on instances). Option C: GeneratePresignedUrl API creates time-limited URLs that authenticated users can use to download objects directly from S3, bypassing the application. Together they satisfy both requirements: secure EC2 access and user-specific temporary access. Storing keys on instances (B) is insecure; GetObject/delegation (D, E) make the application a bottleneck.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!