Happy to Announce Our New Discussion Forum | Join Now

WhizQuiz Nov 19th, 2018

Your company is planning on hosting an e-commerce application on the AWS Cloud. There is a requirement for sessions to be always maintained for users. Which of the following can be used for storing session data?

Choose 3 answers from the options given below.

  • A. CloudWatch
  • B. DynamoDB
  • C. Elastic Load Balancing
  • D. ElastiCache
  • E. Storage Gateway

0 voters

Hi,
The answers are - B, C & D
DynamoDB - Is a nonrelational database that delviers reliable performance at any scale. Its a fully managed, multi-region, multi-master database that provides consistent single-digit millisecond latency, and offers built-in security, backup and restore, and in-memory caching.


Elastic Load Balancing - Sticky sessions, also known as session affinity, allow you to route a site user to the particular web server that is managing that individual user’s session. The session’s validity can be determined by a number of methods, including a client-side cookies or via configurable duration parameters that can be set at the load balancer which routes requests to the web servers.

ElasticCache - Is a managed web service that helps deploy and run Memcached or Redis protocol-complaint cache clusters in the cloud.
improves the performance of web applications by allowing retrieval of information from a fast, managed, in-memory caching system, instead of relying entirely on slower disk-based databases.


Thanks
Viswanath

1 Like

Correct Answer is B, C, and D

DynamoDB and ElastiCache are perfect options for storing session data.

AWS Documentation mentions the following on these services:

Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model, reliable performance, and automatic scaling of throughput capacity makes it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications.

For more information on AWS DynamoDB, please visit the following URL:

ElastiCache is a web service that makes it easy to set up, manage, and scale a distributed in-memory data store or cache environment in the cloud. It provides a high-performance, scalable, and cost-effective caching solution, while removing the complexity associated with deploying and managing a distributed cache environment.

For more information on AWS ElastiCache, please visit the following URL:


https://aws.amazon.com/caching/session-management/"