ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 174 - CLF-C02 discussion

Report
Export

A company hosts an application on an Amazon EC2 instance. The EC2 instance needs to access several AWS resources, including Amazon S3 and Amazon DynamoDB.

What is the MOST operationally efficient solution to delegate permissions?

A.
Create an 1AM role with the required permissions. Attach the role to the EC2 instance.
Answers
A.
Create an 1AM role with the required permissions. Attach the role to the EC2 instance.
B.
Create an IAM user and use its access key and secret access key in the application.
Answers
B.
Create an IAM user and use its access key and secret access key in the application.
C.
Create an 1AM user and use its access key and secret access key to create a CLI profile in the EC2 instance.
Answers
C.
Create an 1AM user and use its access key and secret access key to create a CLI profile in the EC2 instance.
D.
Create an 1AM role with the required permissions. Attach the role to the administrative1AM user.
Answers
D.
Create an 1AM role with the required permissions. Attach the role to the administrative1AM user.
Suggested answer: A

Explanation:

Creating an IAM role with the required permissions and attaching the role to the EC2 instance is the most operationally efficient solution to delegate permissions. An IAM role is an entity that defines a set of permissions for making AWS service requests. An IAM role can be assumed by an EC2 instance to access other AWS resources, such as Amazon S3 and Amazon DynamoDB, without having to store any credentials on the instance. This solution is more secure and scalable than using IAM users and their access keys. For more information, see [IAM Roles for Amazon EC2] and [Using an IAM Role to Grant Permissions to Applications Running on Amazon EC2 Instances].

asked 16/09/2024
Yohan Frachisse
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first