SAP-C02 第 421 题
题目
A company has a web application that uses Amazon API Gateway. AWS Lambda, and Amazon DynamoDB. A recent marketing campaign has increased demand. Monitoring software reports that many requests have significantly longer response times than before the marketing campaign. A solutions architect enabled Amazon CloudWatch Logs for API Gateway and noticed that errors are occurring on 20% of the requests. In CloudWatch, the Lambda function Throttles metric represents 1% of the requests and the Errors metric represents 10% of the requests. Application logs indicate that, when errors occur, there is a call to DynamoDB. What change should the solutions architect make to improve the current response times as the web application becomes more popular? DynamoDB。
中文翻译:
一家公司有一个使用 Amazon API Gateway 的 Web 应用程序。 AWS Lambda 和 Amazon DynamoDB。最近的营销活动增加了需求。监控软件报告称,许多请求的响应时间比营销活动之前明显更长。解决方案架构师为 API Gateway 启用了 Amazon CloudWatch Logs,并注意到 20% 的请求出现错误。在 CloudWatch 中,Lambda 函数 Throttles 指标代表 1% 的请求,Errors 指标代表 10% 的请求。应用程序日志表明,当发生错误时,会调用 DynamoDB。随着 Web 应用程序变得越来越流行,解决方案架构师应该做出哪些改变来改善当前的响应时间? DynamoDB。
选项
A. Increase the concurrency limit of the Lambda function.
中文翻译:
增加 Lambda 函数的并发限制。
B. Implement DynamoDB auto scaling on the table.
中文翻译:
在表上实现 DynamoDB 自动缩放。
C. Increase the API Gateway throttle limit.
中文翻译:
增加 API 网关限制。
D. Re-create the DynamoDB table with a better-partitioned primary index.
中文翻译:
使用分区更好的主索引重新创建 DynamoDB 表。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 在表上实现 DynamoDB 自动缩放。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:API Gateway、Lambda、DynamoDB、CloudWatch、Auto Scaling。 排除思路: A、...