CLF-C02 ยท Identity and access management
MFA, password policies and access keys
MFA device types, IAM password policies, access keys for programmatic access, key rotation and never embedding keys in code.
Key points
- MFA: passkeys and security keys (FIDO, phishing-resistant), virtual authenticator apps, hardware TOTP tokens; up to eight devices per user.
- Account password policy: length, character types, expiration, reuse; IAM users only, not the root user.
- Access keys: long-term programmatic access; at most two per user, enabling rotation.
- Never embed keys in code; prefer roles and temporary credentials.
Source: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa.html
Practice questions
What does multi-factor authentication add to an IAM sign-in?
- Extra permissions for the duration of the session
- A second proof of identity on top of the password
- Automatic rotation of the user's access keys
- A replacement for the password so none is needed
Show answer
Answer: B. A second proof of identity on top of the password
MFA requires a second proof, such as a code from an authenticator app or a security key, in addition to the password. It does not grant permissions, rotate keys or replace the password.
Which are MFA types that AWS currently supports for IAM users?
- Passkeys and FIDO security keys
- SMS text message codes sent to a new user
- Virtual authenticator applications on a phone
- Hardware TOTP tokens bought from supported sources
- Answers to secret security questions
Show answer
Answer: A. Passkeys and FIDO security keys, C. Virtual authenticator applications on a phone, D. Hardware TOTP tokens bought from supported sources
AWS supports passkeys and security keys, virtual authenticator apps and hardware TOTP tokens. AWS ended support for enabling SMS text message MFA, and a security question is not an MFA factor in IAM.
A custom IAM account password policy also applies to the root user's password.
Show answer
Answer: False
False. The account password policy applies to IAM users only; it does not cover the root user's password or any access keys.
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.
