exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 210 discussion

Which of the following is true of an instance profile when an IAM role is created using the console?

  • A. The instance profile uses a different name.
  • B. The console gives the instance profile the same name as the role it corresponds to.
  • C. The instance profile should be created manually by a user.
  • D. The console creates the role and instance profile as separate actions.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Amazon EC2 uses an instance profile as a container for an IAM role. When you create an IAM role using the console, the console creates an instance profile automatically and gives it the same name as the role it corresponds to. If you use the AWS CLI, API, or an AWS SDK to create a role, you create the role and instance profile as separate actions, and you might give them different names.
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
amministrazione
8 months, 3 weeks ago
B. The console gives the instance profile the same name as the role it corresponds to.
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: B
B. The console gives the instance profile the same name as the role it corresponds to. When creating an IAM role using the console, the console automatically creates an instance profile with the same name as the role it corresponds to. The instance profile is used to associate the role with an EC2 instance or other AWS resources. This simplifies the process of managing and associating IAM roles with instances. Option A is incorrect because the instance profile created using the console is given the same name as the corresponding IAM role. Option C is incorrect because the instance profile is automatically created by the console when creating the IAM role. There is no need for manual creation of the instance profile. Option D is incorrect because the console creates both the IAM role and the instance profile as part of the same action. It creates the role and associates it with the corresponding instance profile, all within the same console operation.
upvoted 1 times
...
Sizuma
2 years, 8 months ago
When you create an IAM role using the console, the console creates an instance profile automatically and gives it the same name as the role it corresponds to B is correct
upvoted 1 times
...
FERIN_01
3 years, 6 months ago
B.If you use the AWS Management Console to create a role for Amazon EC2, the console automatically creates an instance profile and gives it the same name as the role. When you then use the Amazon EC2 console to launch an instance with an IAM role, you can select a role to associate with the instance. In the console, the list that's displayed is actually a list of instance profile names. The console does not create an instance profile for a role that is not associated with Amazon EC2.
upvoted 1 times
...
01037
3 years, 7 months ago
yes it's B
upvoted 2 times
...
M_Asep
3 years, 7 months ago
Agree with B
upvoted 1 times
...
ar2000
3 years, 7 months ago
B. confirmed in pluralsight video
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago