AWS Certified Solutions Architect – Professional — Question 874
What is the maximum length for an instance profile name in AWS IAM?
Answer options
- A. 512 characters
- B. 128 characters
- C. 1024 characters
- D. 64 characters
Correct answer: B
Explanation
AWS IAM enforces a strict limit of 128 characters for the name of an instance profile. Other lengths, such as 64, 512, or 1024 characters, apply to different AWS resources or metadata fields, making option B the only correct choice.