
Answer-first summary for fast verification
Answer: Set fine-grained IAM permissions for premium content in DynamoDB.
The correct answer is C. Applying fine-grained IAM permissions directly to the premium content in DynamoDB ensures that only subscribed users have access. This solution integrates seamlessly with the existing architecture (API Gateway, Lambda, DynamoDB, and Cognito) and provides precise control over user permissions with minimal operational overhead. Other options either involve additional components or do not offer the same level of refined access control.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A web application uses Amazon API Gateway with a Lambda function and DynamoDB, secured by Amazon Cognito. How to restrict premium content access to only subscribed users with minimal operational overhead?
A
Enable caching and throttling on API Gateway.
B
Configure AWS WAF with subscription-based filtering rules on API Gateway.
C
Set fine-grained IAM permissions for premium content in DynamoDB.
D
Use API usage plans and keys to control access for non-subscribers.
No comments yet.