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
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.
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
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.
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.
amministrazione
8 months, 3 weeks agoSkyZeroZx
1 year, 10 months agoSizuma
2 years, 8 months agoFERIN_01
3 years, 6 months ago01037
3 years, 7 months agoM_Asep
3 years, 7 months agoar2000
3 years, 7 months ago