Q49 — AWS SAP-C02 Ch.2
Question 49 of 75 | ← Chapter 2
Q199. A media storage application uploads user photos to Amazon S3 for processing. End users are reporting that some uploaded photos are not being processed properly. The Application Developers trace the logs and find that AWS Lambda is experiencing execution issues when thousands of users are on the system simultaneously. Issues are caused by: * Limits around concurrent executions. * The performance of Amazon DynamoDB when saving data. Which actions can be taken to increase the performance and reliability of the application? (Choose two.)
- A. Evaluate and adjust the read capacity units (RCUs) for the DynamoDB tables.
- B. Evaluate and adjust the write capacity units (WCUs) for the DynamoDB tables. ✓
- C. Add an Amazon ElastiCache layer to increase the performance of Lambda functions
- D. Configure a dead letter queue that will reprocess failed or timed-out Lambda functions. ✓
- E. Use S3 Transfer Acceleration to provide lower-latency access to end users.
Correct Answer: B. Evaluate and adjust the write capacity units (WCUs) for the DynamoDB tables., D. Configure a dead letter queue that will reprocess failed or timed-out Lambda functions.
Explanation
Option A suggests evaluating and adjusting the read capacity units (RCUs) for the DynamoDB tables, which may not address the root cause of the issue related to concurrent executions in Lambda. Option C suggests adding an Amazon ElastiCache layer to increase the performance of Lambda functions, but this may not address the performance issues with DynamoDB. Option E suggests using S3 Transfer Acceleration to provide lower-latency access to end users, which may improve user experience but doesn't address the root cause of the issues related to Lambda and DynamoDB. Therefore, options B and D in combination are the best actions to take to increase the performance and reliability of the application. Evaluating and adjusting the write capacity units for the DynamoDB tables will help ensure that the application can handle the load of saving data while configuring a dead letter queue will help identify and resolve issues with Lambda functions that fail or time out.