An application currently stores session data in the memory of individual web servers, which prevents the application tier from scaling horizontally. A developer needs to refactor the application to store session states externally with sub-millisecond to single-digit millisecond latency. Which TWO solutions should the developer use to achieve this? (Select TWO.)
- Amazon ElastiCache for RedisCevap
- Amazon DynamoDBCevap
- CAWS Secrets Manager
- DAWS Lambda execution context temporary storage (/tmp)
- EAmazon DynamoDB using Scan operations to retrieve session data on every page request
Cevap
Amazon ElastiCache for Redis and Amazon DynamoDB
Amazon ElastiCache for Redis and Amazon DynamoDB are correct because they are managed, external services that offer the low-latency (sub-millisecond to single-digit millisecond) and high-throughput capabilities required for distributed session state storage.
Adım Adım Çözüm
Anahtar Kavram
Decoupling session state to external stores like ElastiCache or DynamoDB to enable stateless, horizontally scalable application tiers.