Q51 — AWS SAA-C03 Ch.3
Question 51 of 65 | ← Chapter 3
Q181. A company is developing an ecommerce application that will consist of a load-balanced front end, a container-based application, and a relational database.A solutions architect needs to create a highly available solution that operates with as little manual intervention as possible.Which solutions meet these requirements? (Select TWO.)
- A. Create an Amazon RDS DB instance in Multi-AZ mode. ✓
- B. Create an Amazon RDS DB instance and one or more replicas in another Availability Zone.
- C. Create an Amazon EC2 instance-based Docker cluster to handle the dynamic application load.
- D. Create an Amazon Elastic Container Service (Amazon ECS) cluster with a Fargate launch type to handle the dynamic application load. ✓
- E. Create an Amazon Elastic Container Service (Amazon ECS) cluster with an Amazon EC2 launch type to handle the dynamic application load.
Correct Answer: A. Create an Amazon RDS DB instance in Multi-AZ mode., D. Create an Amazon Elastic Container Service (Amazon ECS) cluster with a Fargate launch type to handle the dynamic application load.
Explanation
To create a highly available solution for an ecommerce application that consists of a load-balanced front-end, a container-based application, and a relational database that operates with as little manual intervention as possible, the recommended solutions are options A and D: Option A, creating an Amazon RDS DB instance in Multi-AZ mode, helps to ensure high availability and reduces the need for manual intervention. In Multi-AZ mode, Amazon RDS automatically provisions and maintains a synchronous standby replica in another Availability Zone (AZ), hence providing automatic failover functionality in case of a primary database instance failure. The standby replica is promoted automatically to become the new primary instance when needed without manual intervention. Option D, creating an Amazon Elastic Container Service (Amazon ECS) cluster with a Fargate launch type to handle the dynamic application load, also helps to ensure high availability with minimal manual intervention. Fargate is a serverless compute engine for containers that enables developers to run containers without having to manage servers or clusters. By utilizing Fargate to deploy containerized applications, developers can focus on building and scaling their applications without worrying about infrastructure management. Fargate automatically scales the underlying infrastructure based on application demand, making it easier to achieve high availability. Option B, creating an Amazon RDS DB instance and one or more replicas in another Availability Zone, is a valid option for ensuring high availability but requires more manual intervention than Option A. While having read replicas in another AZ can help improve read performance and increase availability, automatic failover functionality is not guaranteed in this scenario. In addition, managing multiple read replicas across different AZs can be complex and require additional monitoring and maintenance. Option C, creating an Amazon EC2 instance-based Docker cluster to handle the dynamic application load, involves manual intervention to manage the underlying infrastructure. This approach requires the creation and management of EC2 instances, network settings, load balancing, and other components of the infrastructure, which increases the complexity of the solution. Option E, creating an Amazon Elastic Container Service (Amazon ECS) cluster with an Amazon EC2 launch type to handle the dynamic application load, is a valid option but requires more manual intervention than Option D. With this approach, developers need to manage the underlying infrastructure for the EC2 instances, including scaling and availability.