AWS Certified Solutions Architect – Professional — Question 653

A company has a serverless multi-tenant content management system on AWS. The architecture contains a web-based front end that interacts with an Amazon
API Gateway API that uses a custom AWS Lambda authorizer. The authorizer authenticates a user to its tenant ID and encodes the information in a JSON Web
Token (JWT) token. After authentication, each API call through API Gateway targets a Lambda function that interacts with a single Amazon DynamoDB table to fulfill requests.
To comply with security standards, the company needs a stronger isolation between tenants. The company will have hundreds of customers within the first year.
Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

Option B is correct because combining the tenant ID in the DynamoDB partition key with IAM fine-grained access control (using leading keys) provides strong, secure tenant isolation at the data layer with minimal operational overhead. Options A and C require managing hundreds of tables or AWS accounts, which introduces massive operational complexity and overhead. Option D relies on application-level logic inside the Lambda function to enforce isolation, which does not provide robust security isolation at the IAM/database layer and is prone to developer error.