
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 runs a three-tier web application in the AWS Cloud that operates across three Availability Zones. The application architecture has an Application Load Balancer, an Amazon EC2 web server that hosts user session states, and a MySQL database that runs on an EC2 instance. The company expects sudden increases in application traffic. The company wants to be able to scale to meet future application capacity demands and to ensure high availability across all three Availability Zones.
Which solution will meet these requirements?
A
Migrate the MySQL database to Amazon RDS for MySQL with a Multi-AZ DB cluster deployment. Use Amazon ElastiCache for Redis with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
B
Migrate the MySQL database to Amazon RDS for MySQL with a Multi-AZ DB cluster deployment. Use Amazon ElastiCache for Memcached with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
C
Migrate the MySQL database to Amazon DynamoDB. Use DynamoDB Accelerator (DAX) to cache reads. Store the session data in DynamoDB. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
D
Migrate the MySQL database to Amazon RDS for MySQL in a single Availability Zone. Use Amazon ElastiCache for Redis with high availability to store session data and to cache reads. Migrate the web server to an Auto Scaling group that is in three Availability Zones.
Explanation:
Correct Answer: A
This solution meets all requirements:
High Availability across three Availability Zones:
Scalability for sudden traffic increases:
Session state management:
Why other options are incorrect:
Option B: ElastiCache for Memcached doesn't have built-in high availability features like Redis. Memcached is an in-memory cache without persistence, making it less suitable for critical session data storage.
Option C: Migrating to DynamoDB changes the database type from relational to NoSQL, which may require significant application changes. While DynamoDB is scalable, it may not be the best choice if the application relies on MySQL-specific features or complex queries.
Option D: RDS in a single Availability Zone doesn't provide high availability. If that AZ fails, the database becomes unavailable, violating the high availability requirement across three AZs.
Key AWS Services Used: