A retail company has multiple business teams, each managing its own AWS account under AWS Organizations. Each team stores product inventory in a DynamoDB table in its account. A central inventory reporting application runs in a shared account and must read items from all teams' DynamoDB tables. Which authentication option meets these requirements MOST securely?
Choose an answer
Tap an option to check your answer.
Correct answer: In every business account, create an IAM role named BU_ROLE with a policy granting access to the DynamoDB table and a trust policy that trusts a specific role in the inventory application account. In the inventory account, create a role named APP_ROLE that can call the STS AssumeRole API. Configure the application to use APP_ROLE and assume the cross-account BU_ROLE to read the DynamoDB table..
Why this is the answer
The most secure option is to use cross-account IAM roles. This approach leverages AWS Security Token Service (STS) AssumeRole to grant temporary, limited-privilege credentials to the reporting application. The APPROLE in the central account assumes the BUROLE in each business account, which has permissions only to its respective DynamoDB table. This avoids sharing long-lived credentials and adheres to the principle of least privilege. Integrating DynamoDB with Secrets Manager is not a direct authentication method for DynamoDB itself; it stores credentials, but the underlying authentication mechanism would still be needed. Creating IAM users with programmatic access in each account is less secure because it involves managing long-lived access keys, which are prone to compromise and require manual rotation. Integrating DynamoDB with ACM is incorrect as ACM manages SSL/TLS certificates for services like Elastic Load Balancing and CloudFront, not for direct authentication to DynamoDB.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed