nerdexam
Amazon

SAP-C02 · Question #165

A company runs an application in the cloud that consists of a database and a website. Users can post data to the website, have the data processed, and have the data sent back to them in an email…

The correct answer is A. Place the Tomcat server in an Auto Scaling group with multiple EC2 instances behind an C. Migrate the MySQL database to Amazon Aurora with one Aurora Replica F. Create an additional public subnet in a different Availability Zone in the website VPC. To increase the reliability of the application, the website needs to be scalable and fault-tolerant, and the database needs improved availability and scalability.

Submitted by kim_seoul· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A company runs an application in the cloud that consists of a database and a website. Users can post data to the website, have the data processed, and have the data sent back to them in an email Data is stored is a MySQL database running on an Amazon EC2 Instance. The database is running in a VPC with two private subnets. The website is running on Apache Tomcat in a single EC2 instance in a different VPC with one public subnet. There is a single VPC peering connection between the database and website VPC. The website has suffered several outages during the last month due to high traffic. Which actions should a solutions architect take to increase the reliability of the application? (Choose three.)

Options

  • APlace the Tomcat server in an Auto Scaling group with multiple EC2 instances behind an
  • BProvision an additional VPC peering connection
  • CMigrate the MySQL database to Amazon Aurora with one Aurora Replica
  • DProvision two NAT gateways in the database VPC
  • EMove the Tomcat server to the database VPC
  • FCreate an additional public subnet in a different Availability Zone in the website VPC.

How the community answered

(35 responses)
  • A
    69% (24)
  • B
    9% (3)
  • D
    20% (7)
  • E
    3% (1)

Why each option

To increase the reliability of the application, the website needs to be scalable and fault-tolerant, and the database needs improved availability and scalability.

APlace the Tomcat server in an Auto Scaling group with multiple EC2 instances behind anCorrect

Placing the Tomcat server in an Auto Scaling group with multiple EC2 instances behind a load balancer distributes traffic and automatically scales the website to handle high demand, significantly improving reliability and availability.

BProvision an additional VPC peering connection

A single VPC peering connection is sufficient for connectivity between two VPCs; provisioning an additional connection does not inherently increase reliability or address performance bottlenecks.

CMigrate the MySQL database to Amazon Aurora with one Aurora ReplicaCorrect

Migrating the MySQL database to Amazon Aurora with an Aurora Replica enhances database reliability, scalability, and availability by leveraging Aurora's fault-tolerant, self-healing storage and providing read replicas for high availability and potential read scaling.

DProvision two NAT gateways in the database VPC

NAT gateways enable instances in private subnets to access the internet, but they do not directly improve application reliability or handle high traffic for a public-facing website.

EMove the Tomcat server to the database VPC

Moving the Tomcat server to the database VPC might simplify networking but does not resolve the single point of failure or scalability issues of the website itself.

FCreate an additional public subnet in a different Availability Zone in the website VPC.Correct

Creating an additional public subnet in a different Availability Zone within the website VPC allows website instances to be distributed across multiple AZs, improving fault tolerance and ensuring high availability even if one AZ experiences an outage.

Concept tested: High availability and scalability for web applications and databases

Source: https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice