Hard1 markMultiple Choice
Domain 2.3: Security ControlsDynamoDBSaaSSecurity

AWS SAP-C02 · Question 45 · Domain 2.3: Security Controls

A company is designing a multi-tenant SaaS application. They need to ensure that each tenant's data is strictly isolated. They are using Amazon DynamoDB. What is the MOST scalable and secure way to implement tenant isolation?

Answer options:

A.

Create a separate DynamoDB table for each tenant.

B.

Use a single DynamoDB table with a partition key that includes the Tenant ID, and use IAM condition keys (dynamodb:LeadingKeys) to restrict access.

C.

Create a separate AWS account for each tenant.

D.

Encrypt each tenant's data with a different KMS key in a single table.

How to approach this question

Identify the DynamoDB feature for row-level security.

Full Answer

B.Use a single DynamoDB table with a partition key that includes the Tenant ID, and use IAM condition keys (dynamodb:LeadingKeys) to restrict access.✓ Correct
For scalable multi-tenant DynamoDB architectures, a pooled model (single table) is preferred. Fine-grained access control using the IAM condition key 'dynamodb:LeadingKeys' ensures tenants can only access their own partition keys.

Common mistakes

Assuming separate tables are required for isolation, which hits scaling limits.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 2

75 questions · hints · full answers · grading

More questions from this exam