
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is building a web application that requires an in-memory data store for caching and session management. The data store must provide high availability and durability. Which AWS service or resource will meet these requirements?
A
Amazon Aurora
B
Amazon ElastiCache (Memcached)
C
Amazon Elastic Block Store (Amazon EBS) volumes
D
Amazon MemoryDB
Explanation:
Amazon MemoryDB is the correct choice because:
In-memory data store: MemoryDB is specifically designed as an in-memory database service
High availability: It provides automatic failover and multi-AZ deployments
Durability: MemoryDB uses a distributed transactional log that persists data across multiple Availability Zones, ensuring data durability
Caching and session management: It's optimized for use cases like caching, session stores, and real-time applications
Why other options are incorrect:
Amazon Aurora: A relational database, not primarily an in-memory data store
Amazon ElastiCache (Memcached): While it's an in-memory cache, it doesn't provide built-in durability as data is lost on node failures
Amazon EBS volumes: Block storage service, not an in-memory data store
MemoryDB combines the performance of in-memory caching with the durability of a database, making it ideal for applications requiring both high performance and data persistence.