AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
An IAM administrator must create a managed policy that lets members of the DevOps group call dynamodb:DeleteItem on tables in the development account, but only when the users are authenticated with multi-factor authentication (MFA) for the current session. Which IAM policy condition will correctly enforce this requirement?
Add a StringEquals condition that checks whether aws:MultiFactorAuthAge equals "0".
Add a StringEqualsIgnoreCase condition that checks whether sts:AuthenticationType equals "mfa".
Add a Bool condition that requires the key aws:SecureTransport to be set to "true".
Add a Bool condition that requires the key aws:MultiFactorAuthPresent to be set to "true".
The context key aws:MultiFactorAuthPresent is set automatically by AWS to true when the principal's credentials were obtained using MFA. Because the key has a Boolean value, the correct way to test it in an IAM policy is with the Bool condition operator. If the key evaluates to true, the action is allowed; otherwise, it is implicitly denied. Using StringEquals on aws:MultiFactorAuthAge is not sufficient because the key returns the age of the MFA authentication, not whether MFA was used. aws:SecureTransport enforces HTTPS, not MFA, and sts:AuthenticationType is not a valid IAM context key, so those conditions do not meet the requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the aws:MultiFactorAuthPresent context key?
Open an interactive chat with Bash
How does the Bool condition operate in IAM policies?
Open an interactive chat with Bash
Why is aws:MultiFactorAuthAge not sufficient to enforce MFA-only actions?
Open an interactive chat with Bash
What is the purpose of the aws:MultiFactorAuthPresent condition key?
Open an interactive chat with Bash
How does aws:MultiFactorAuthPresent differ from aws:MultiFactorAuthAge?
Open an interactive chat with Bash
What are Bool conditions in IAM policies, and when should they be used?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Security and Compliance
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .