Question 105:
An administrator uses Amazon CloudFormation to deploy a three-tier web application that consists of a web tier and application tier that will utilize Amazon DynamoDB for storage. While creating the CloudFormation template, which of the following would allow the application instance access to the DynamoDB tables without exposing API credentials?
Answer options:
A.Create an IAM role that only has the read permissions for the required DynamoDB table and associate the Role to the application instances by referencing an instance profile. B.Use the Parameter section in the Cloud Formation template to have the user input Access and Secret Keys from an already created IAM user that has permissions required to read and write from the required DynamoDB table. C.Create an IAM Role that has the required permission to read and write from the required DynamoDB table and associate the Role to the application instances by referencing an instance profile. D.Create an Identity and Access Management user in the CloudFormation template that has permissions to read and write from the required DynamoDB table, use the GetAtt function to retrieve the Access and secret keys and pass them to the application instance through user-data.