Question 275:
You work in the media industry and have deployed a web application on a large EC2 instance where users can upload photos to your website. This web application must be able to call the S3 API to function properly. Where would you store your API credentials while maintaining the maximum level of security?
Answer options:
A.Save the API credentials to your PHP files. B.Don’t save your API credentials. Instead, create an IAM role and assign that role to an EC2 instance. C.Save your API credentials in a public Github repository. D.Pass API credentials to the instance using instance user data.