Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 238

    A developer is working on an application that is deployed on an Amazon EC2 instance. The developer needs a solution that will securely transfer files from the application to an Amazon S3 bucket.

    What should the developer do to meet these requirements in the MOST secure way?

    • Create an IAM user. Create an access key for the IAM user. Store the access key in the application’s environment variables.

    • Create an IAM role. Create an access key for the IAM role. Store the access key in the application’s environment variables.

    • Create an IAM role. Configure the IAM role to access the specific Amazon S3 API calls the application requires. Associate the IAM role with the EC2 instance.

    • Configure an S3 bucket policy for the S3 bucket. Configure the S3 bucket policy to allow access for the EC2 instance ID.


    シャッフルモード