AWS Certified Solutions Architect – Professional — Question 272
How can a user list the IAM Role configured as a part of the launch config?
Answer options
- A. as-describe-launch-configs -iam-profile
- B. as-describe-launch-configs -show-long
- C. as-describe-launch-configs -iam-role
- D. as-describe-launch-configs -role
Correct answer: B
Explanation
The as-describe-launch-configs command retrieves descriptions of the launch configurations. To display the full parameters, including the IAM Instance Profile associated with the launch configuration, the -show-long option must be appended. Other options like -iam-profile, -iam-role, or -role do not exist for this command.