🔥 3-day streak
AWS Certified Developer - Associate73 / 150
Question 73 of 150

A developer builds a Java application that runs on an EC2 instance and needs to read objects from an Amazon S3 bucket. During development, the code used long-term IAM user access keys stored in a properties file. Before deploying to production, the developer must eliminate the hardcoded credentials while granting the application least-privilege S3 read access. What is the recommended approach?

Reviewed for accuracy · Report an issueNext question