SAP-C02 · Question #681
A software as a service (SaaS) company has developed a multi-tenant environment. The company uses Amazon DynamoDB tables that the tenants share for the storage layer. The company uses AWS Lambda…
The correct answer is B. Configure the Lambda functions to log the tenant ID and the number of RCUs and WCUs. LEAST operational effort and fine grained approach. https://aws.amazon.com/blogs/apn/optimizing-cost-per-tenant-visibility-in-saas-solutions/ RCU and WCU metrics are already logged in CloudWatch…
Question
A software as a service (SaaS) company has developed a multi-tenant environment. The company uses Amazon DynamoDB tables that the tenants share for the storage layer. The company uses AWS Lambda functions for the application services. The company wants to offer a tiered subscription model that is based on resource consumption by each tenant. Each tenant is identified by a unique tenant ID that is sent as part of each request to the Lambda functions. The company has created an AWS Cost and Usage Report (AWS CUR) in an AWS account. The company wants to allocate the DynamoDB costs to each tenant to match that tenant's resource consumption. Which solution will provide a granular view of the DynamoDB cost for each tenant with the LEAST operational effort?
Options
- AAssociate a new tag that is named tenant ID with each table in DynamoDB. Activate the tag as a
- BConfigure the Lambda functions to log the tenant ID and the number of RCUs and WCUs
- CCreate a new partition key that associates DynamoDB items with individual tenants. Deploy a
- DDeploy a Lambda function to log the tenant ID, the size of each response, and the duration of the
How the community answered
(46 responses)- A11% (5)
- B59% (27)
- C7% (3)
- D24% (11)
Explanation
LEAST operational effort and fine grained approach. https://aws.amazon.com/blogs/apn/optimizing-cost-per-tenant-visibility-in-saas-solutions/ RCU and WCU metrics are already logged in CloudWatch. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/metrics-dimensions.html
Community Discussion
No community discussion yet for this question.