To protect your AWS resources from being accessed by unauthorized users from the internet, you want to implement a solution that requires 'Multi-Factor Authentication' (MFA) and restricts access based on the user's source IP address. Which identity feature should you use?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: IAM Policy Conditions with 'aws:SourceIp' and 'aws:MultiFactorAuthPresent'

IAM conditions allow you to enforce security requirements like MFA and IP-based restrictions at the policy level....

📋Part of AWS Certified DevOps Engineer – Professional (DOP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

To protect your AWS resources from being accessed by unauthorized users from the internet, you want to implement a solution that requires 'Multi-Factor Authentication' (MFA) and restricts access based on the user's source IP address. Which identity feature should you use?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

IAM Policy Conditions with 'aws:SourceIp' and 'aws:MultiFactorAuthPresent'

Why This Answer Is Correct

IAM conditions allow you to enforce security requirements like MFA and IP-based restrictions at the policy level.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified DevOps Engineer – Professional (DOP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.