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

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.