- A
aws:RequestedRegion
Why wrong: This condition key checks the AWS region from which a request is made, not whether MFA was used.
- B
aws:MultiFactorAuthPresent
This condition key checks whether the user authenticated with MFA. It can be used to deny access if MFA is not present.
- C
aws:SourceIp
Why wrong: This condition key checks the IP address of the requester, not MFA status.
- D
aws:SecureTransport
Why wrong: This condition key checks whether the request was sent over SSL/TLS, not MFA status.
Quick Answer
The answer is `aws:MultiFactorAuthPresent`. This condition key is the correct choice because it returns a boolean value of `true` only when the user has authenticated with a valid MFA device, making it the standard AWS mechanism to enforce MFA for console access. In an IAM policy, you pair this key with a `Deny` effect and a `Bool` condition to block any API call or console session that lacks MFA authentication, which directly addresses the requirement to deny access when MFA is not present. On the AWS Certified Developer Associate DVA-C02 exam, this tests your understanding of IAM policy condition keys for security enforcement, often appearing in scenario-based questions about restricting access to sensitive resources. A common trap is confusing it with `aws:MultiFactorAuthAge`, which checks the time since MFA authentication, not its presence. Memory tip: think "Present for Presence" — if MFA is not present, access is absent.
DVA-C02 Security Practice Question
This DVA-C02 practice question tests your understanding of security. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company wants to enforce that all IAM users use multi-factor authentication (MFA) when accessing the AWS Management Console. Which IAM policy condition key should be used in a policy attached to each user or group to deny access if MFA is not present?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
aws:MultiFactorAuthPresent
The correct condition key is `aws:MultiAuthFactorPresent`, which is a boolean value that is `true` when the user has authenticated using a valid MFA device. By using this key in a `Deny` effect policy (often combined with `Bool` condition), you can block any API call or console access that does not include MFA authentication. This is the standard AWS approach to enforce MFA for console access.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
aws:RequestedRegion
Why it's wrong here
This condition key checks the AWS region from which a request is made, not whether MFA was used.
- ✓
aws:MultiFactorAuthPresent
Why this is correct
This condition key checks whether the user authenticated with MFA. It can be used to deny access if MFA is not present.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
aws:SourceIp
Why it's wrong here
This condition key checks the IP address of the requester, not MFA status.
- ✗
aws:SecureTransport
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse `aws:MultiFactorAuthPresent` with `aws:MultiFactorAuthAge` (which checks how long ago MFA was used) or assume that `aws:SecureTransport` (HTTPS) is equivalent to MFA enforcement.
Detailed technical explanation
How to think about this question
The `aws:MultiFactorAuthPresent` key is only set to `true` when the user has authenticated with a temporary credential (e.g., via STS) that includes MFA, or when using a long-term access key with a session token that includes MFA. A common subtlety is that this key is not present at all for requests made using root user credentials or long-term access keys without MFA, so a `Deny` policy must use `Bool` with `"true"` to avoid accidentally blocking all requests when the key is absent.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Security — study guide chapter
Learn the concepts, then practise the questions
- →
Security practice questions
Targeted practice on this topic area only
- →
All DVA-C02 questions
1,616 questions across all exam domains
- →
AWS Certified Developer Associate DVA-C02 study guide
Full concept coverage aligned to exam objectives
- →
DVA-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DVA-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Development with AWS Services practice questions
Practise DVA-C02 questions linked to Development with AWS Services.
Security practice questions
Practise DVA-C02 questions linked to Security.
Deployment practice questions
Practise DVA-C02 questions linked to Deployment.
Troubleshooting and Optimization practice questions
Practise DVA-C02 questions linked to Troubleshooting and Optimization.
DVA-C02 fundamentals practice questions
Practise DVA-C02 questions linked to DVA-C02 fundamentals.
DVA-C02 scenario practice questions
Practise DVA-C02 questions linked to DVA-C02 scenario.
DVA-C02 troubleshooting practice questions
Practise DVA-C02 questions linked to DVA-C02 troubleshooting.
Practice this exam
Start a free DVA-C02 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DVA-C02 question test?
Security — This question tests Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: aws:MultiFactorAuthPresent — The correct condition key is `aws:MultiAuthFactorPresent`, which is a boolean value that is `true` when the user has authenticated using a valid MFA device. By using this key in a `Deny` effect policy (often combined with `Bool` condition), you can block any API call or console access that does not include MFA authentication. This is the standard AWS approach to enforce MFA for console access.
What should I do if I get this DVA-C02 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.