Q23 — AWS SAA-C03 Ch.15
Question 23 of 100 | ← Chapter 15
Q1123. A company is designing a website that displays stock market prices to users.The company wants to use Amazon ElastiCache (Redis OSS) for the data caching layer. The company needs to ensure that the website's data caching layer can automatically fail over to another node if necessary.Which solution will meet this requirement?
- A. Enable read replicas in ElastiCache (Redis OSS).Promote the read replica when necessary.
- B. Enable Multi-AZ in ElastiCache (Redis OSS).Fail over to a second node when necessary. ✓
- C. Export a backup of the ElastiCache (Redis OSS) cache to an Amazon S3 bucket. Restore the cache to a second cluster when necessary.
- D. Export a backup of the ElastiCache (Redis OSS) cache by using AWS Backup.Restore the cache to a second cluster when necessary.
Correct Answer: B. Enable Multi-AZ in ElastiCache (Redis OSS).Fail over to a second node when necessary.
Explanation
The correct solution to ensure that the data caching layer using Amazon ElastiCache (Redis OSS) can automatically fail over to another node if necessary is:B. Enable Multi-AZ in ElastiCache (Redis OSS). Fail over to a second node when necessary.Explanation:Multi-AZ support for ElastiCache (Redis OSS) provides automatic failover capabilities. This means that if the primary node fails, the system can automatically promote a standby replica to be the new primary, ensuring high availability and minimal downtime.Why Other Options Are Not Suitable:A: Enabling read replicas does not provide automatic failover capabilities; it requires manual promotion of the read replica to primary status.C: Exporting a backup to S3 does not facilitate automatic failover and involves manual intervention to restore the cache to a second cluster, which is not ideal for high availability.D: Similar to option C, using AWS Backup to export a backup and then restoring it manually does not provide automatic failover and would not meet the requirement for seamless failover.Thus, option B is the most effective solution for achieving automatic failover in the ElastiCache setup.