To reduce the 'Blast Radius' of a potential compromise in a multi-tenant application, you want to ensure that each customer's data is stored in a separate DynamoDB table and that the application code can only access the specific table of the currently logged-in user. Which feature enables this dynamic, fine-grained access control?

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

Correct Answer: IAM Policy Variables (e.g., ${www.amazon.com:user_id})

IAM Policy Variables allowed you to write a single policy that dynamically restricts access based on the identity of the user, which is essential for multi-tenant security....

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

To reduce the 'Blast Radius' of a potential compromise in a multi-tenant application, you want to ensure that each customer's data is stored in a separate DynamoDB table and that the application code can only access the specific table of the currently logged-in user. Which feature enables this dynamic, fine-grained access control?

✓ Correct Answer & ExplanationAWS IAM

Correct Answer

IAM Policy Variables (e.g., ${www.amazon.com:user_id})

Why This Answer Is Correct

IAM Policy Variables allowed you to write a single policy that dynamically restricts access based on the identity of the user, which is essential for multi-tenant security.

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