A containerized application runs on EC2 instances with public IPs. Apache Kafka is self-hosted on those EC2 instances, and PostgreSQL has been migrated to Amazon RDS for PostgreSQL. The company expects a surge in orders for a product release. Which architectural changes will reduce operational overhead and support the increased load?
Choose an answer
Tap an option to check your answer.
Correct answer: Run the application on Amazon EKS with AWS Fargate and enable autoscaling behind an Application Load Balancer. Add read replicas to the RDS DB instance. Replace the self-managed Kafka cluster with Amazon MSK and update the application to use MSK. Host static content in Amazon S3 behind an Amazon CloudFront distribution..
Why this is the answer
The correct answer optimizes for reduced operational overhead and scalability. Amazon EKS with AWS Fargate eliminates the need to manage EC2 instances for Kubernetes, and autoscaling handles load spikes. Adding RDS read replicas offloads read traffic from the primary database. Replacing self-managed Kafka with Amazon MSK removes the operational burden of managing a Kafka cluster. Hosting static content in S3 with CloudFront improves performance and reduces load on the application servers. The other options have significant drawbacks. The first option keeps EC2 for the application, which still requires instance management, and doesn't fully address database scalability for writes or high availability. The second option also keeps EC2 for the application and while Multi-AZ improves availability, it doesn't scale reads. The third option introduces Kubernetes on EC2, which still requires EC2 management, and doesn't fully leverage serverless for the application layer.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed