SCS-C02 · Question #396
An EC2 Instance hosts a Java based application that access a DynamoDB table. This EC2 Instance is currently serving production based users. Which of the following is a secure way of ensuring that…
The correct answer is A. Use IAM Roles with permissions to interact with DynamoDB and assign it to the EC2 Instance. To always ensure secure access to AWS resources from EC2 Instances, always ensure to assign a Role to the EC2 Instance Option B is invalid because KMS keys are not used as a mechanism for providing EC2 Instances access to AWS services. Option C is invalid Access keys is not a…
Question
An EC2 Instance hosts a Java based application that access a DynamoDB table. This EC2 Instance is currently serving production based users. Which of the following is a secure way of ensuring that the EC2 Instance access the Dynamo table?
Options
- AUse IAM Roles with permissions to interact with DynamoDB and assign it to the EC2 Instance
- BUse KMS keys with the right permissions to interact with DynamoDB and assign it to the EC2
- CUse IAM Access Keys with the right permissions to interact with DynamoDB and assign it to the
- DUse IAM Access Groups with the right permissions to interact with DynamoDB and assign it to the
How the community answered
(42 responses)- A74% (31)
- B5% (2)
- C7% (3)
- D14% (6)
Explanation
To always ensure secure access to AWS resources from EC2 Instances, always ensure to assign a Role to the EC2 Instance Option B is invalid because KMS keys are not used as a mechanism for providing EC2 Instances access to AWS services. Option C is invalid Access keys is not a safe mechanism for providing EC2 Instances access to Option D is invalid because there is no way access groups can be assigned to EC2 Instances.
Topics
Community Discussion
No community discussion yet for this question.