Scenario: To minimize the blast radius of a potential credential theft, you want to ensure that your developers can only access the production AWS account during business hours. Solution ?

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

Correct Answer: IAM Policy with a 'Condition' element evaluating 'aws:CurrentTime' or 'aws:EpochTime'

IAM conditions can restrict access based on the time and date of the request....

📋Part of AWS Certified Solutions Architect – Professional (SAP-C02) · AWS Certification Practice
Real Exam ScenarioAWS IAM

Scenario: To minimize the blast radius of a potential credential theft, you want to ensure that your developers can only access the production AWS account during business hours. Solution ?

✓ Correct Answer & ExplanationAWS IAM

Correct Answer

IAM Policy with a 'Condition' element evaluating 'aws:CurrentTime' or 'aws:EpochTime'

Why This Answer Is Correct

IAM conditions can restrict access based on the time and date of the request.

📚 What This Question Tests

This question evaluates your knowledge of AWS IAM — a core concept tested in AWS Certified Solutions Architect – Professional (SAP-C02). Understanding AWS IAM 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.