Bitzu

CLF-C02 ยท Identity and access management

Protecting the root user

What the root user is, tasks only the root user can perform, and protection steps: MFA, no access keys, strong password, daily work with other identities.

Key points

  • Root user: created with the account (email address and password), with complete access to every service and resource.
  • Use only when required: closing a standalone account, changing root email or password, restoring an administrator's lost IAM permissions, enabling MFA delete on an S3 bucket.
  • Protect with MFA, a strong password, no access keys.
  • Daily work: an administrative user in IAM Identity Center or IAM.

Source: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html

Practice questions

Single choice

What credentials does the AWS account root user sign in with?

  1. An IAM user name and the account ID
  2. The email address and password used to create the account
  3. An access key ID and secret access key
  4. A permission set assigned in IAM Identity Center
Show answer

Answer: B. The email address and password used to create the account

The root user signs in with the email address and password used to create the account. It is not an IAM user in a group, and access keys are used for programmatic access, not console sign-in.

Select all that apply

Which actions are recommended to protect the root user?

  1. Register an MFA device for the root user
  2. Create root access keys for use in deployment scripts
  3. Delete or avoid creating access keys for the root user
  4. Share the root password with every administrator
  5. Use the root user for daily console work to save time
Show answer

Answer: A. Register an MFA device for the root user, C. Delete or avoid creating access keys for the root user

Register MFA for the root user and do not keep root access keys; everyday administration belongs to other identities. Sharing root credentials with the team or using root for routine work both raise the risk of full account compromise.

True or false

Because the root user has full access, AWS recommends using it for everyday administrative tasks.

Show answer

Answer: False

False. AWS strongly recommends not using the root user for everyday tasks. Create an administrative user, for example in IAM Identity Center, and keep root for the tasks that only it can perform.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module