AWS Cloud Practitioner · Security and Compliance · easy
A cloud administrator creates a new AWS account. What are the recommended immediate security steps for the AWS account root user?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. Enable MFA on root, delete root access keys, and use IAM roles daily
The root user has unrestricted access to everything in an AWS account and cannot be limited by IAM policies, so protecting it is the first task after account creation. The recommended steps are to enable multi-factor authentication on the root user, delete any root access keys (or never create them), and then do daily work with an IAM role, IAM user, or IAM Identity Center identity that follows least privilege. The root user is reserved for the small set of tasks that only it can perform, such as changing the account's support plan or closing the account. The common trap is to treat the root user as a convenient administrator. Programmatic access with long-term root keys is especially risky, because a leaked key gives an attacker complete control of the account. Option B matches the AWS shared responsibility guidance: you secure the credentials and access you manage.
Why the other options are wrong
- A. Share the root password with all developers so they can troubleshoot permissions — This describes sharing the root password among many people. It removes individual accountability, since actions cannot be traced to a person, and it breaks least privilege by giving everyone unlimited access. Developers should get scoped IAM permissions instead.
- C. Embed root access keys inside the company's public GitHub build scripts — This describes exposing root access keys in a public repository. Anyone who finds the keys gets full control of the account, and automated scanners find leaked keys quickly. It is the opposite of the advice to delete root access keys.
- D. Disable password complexity rules so automated scripts can sign in as root — This describes weakening the password policy so scripts can sign in as root. Scripts should never use root; they should use IAM roles with temporary credentials. Weaker passwords also make the most powerful identity easier to compromise.
More Security and Compliance questions
- A company has fifty AWS accounts in AWS Organizations and wants employees to sign in once with their corporate…
- A security team wants continuous, automated threat detection that analyzes AWS CloudTrail management events, Amazon…
- A company deploys a PostgreSQL database on Amazon RDS. Under the AWS Shared Responsibility Model, which two tasks…
- A compliance officer needs an auditable record of who deleted an Amazon S3 bucket last Tuesday, including the caller's…
- An application running on an Amazon EC2 instance needs temporary read access to an Amazon S3 bucket without storing…
- A team migrates a workload from self-managed Amazon EC2 instances to AWS Lambda functions. How does the AWS Shared…
- An external financial auditor asks a cloud administrator for copies of AWS ISO 27001 and SOC 2 compliance reports…
All Security and Compliance questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.