AWS Certified SysOps Administrator – Associate (legacy) — Question 364
An organization is trying to create various IAM users. Which of the below mentioned options is not a valid IAM username?
Answer options
- A. John.cloud
- B. john@cloud
- C. John=cloud
- D. john#cloud
Correct answer: D
Explanation
AWS IAM usernames can contain alphanumeric characters and the following special characters: plus (+), equal (=), comma (,), period (.), at sign (@), underscore (_), and hyphen (-). The hash/pound symbol (#) is not a permitted character in IAM usernames, making 'john#cloud' invalid. Therefore, option D is the correct answer as it violates AWS naming constraints.