An organization following the 'Least Privilege' principle wants to ensure that developers can only provision EC2 instances if they apply a 'CostCenter' tag. How should they implement this organizational control?

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

Correct Answer: IAM Policy with a Condition 'aws:RequestTag/CostCenter: true' for the RunInstances action

Using IAM conditions is the most precise way to enforce tagging requirements during resource creation....

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

An organization following the 'Least Privilege' principle wants to ensure that developers can only provision EC2 instances if they apply a 'CostCenter' tag. How should they implement this organizational control?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

IAM Policy with a Condition 'aws:RequestTag/CostCenter: true' for the RunInstances action

Why This Answer Is Correct

Using IAM conditions is the most precise way to enforce tagging requirements during resource creation.

📚 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.