
Answer-first summary for fast verification
Answer: Move the application frontend to a static website that is hosted on Amazon S3., Deploy the backend Python application to general purpose burstable EC2 instances that have the same number of cores as the existing EC2 instances.
To optimize the infrastructure cost without affecting application availability, the two steps involve offloading the static frontend to Amazon S3 and changing the backend instances to burstable instances. Moving the application frontend to a static website hosted on Amazon S3 (Option B) reduces the cost associated with running EC2 instances and load balancers for static content. Deploying the backend Python application to general-purpose burstable EC2 instances (Option E) leverages the cost-saving benefits of burstable instances, which are ideal for applications with fluctuating demands, such as this one with peak traffic during lunch hours and minimal traffic the rest of the day. Thus, options B and E are the correct choices.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company has recently migrated their application from an on-premises environment to AWS. The application's frontend consists of a static website hosted on two Amazon EC2 instances, which are placed behind an Application Load Balancer (ALB). The backend of the application is a Python application running on three EC2 instances, also managed by an ALB. These EC2 instances are large, general-purpose On-Demand Instances, configured to match the peak usage specifications of the original on-premises setup. The application handles hundreds of thousands of requests monthly, with the majority of traffic occurring during lunch hours, while experiencing minimal traffic throughout the rest of the day. A solutions architect is tasked with optimizing the infrastructure costs of this application without compromising its availability. Which two steps should the solutions architect take to achieve this goal?
A
Change all the EC2 instances to compute optimized instances that have the same number of cores as the existing EC2 instances.
B
Move the application frontend to a static website that is hosted on Amazon S3.
C
Deploy the application frontend by using AWS Elastic Beanstalk. Use the same instance type for the nodes.
D
Change all the backend EC2 instances to Spot Instances.
E
Deploy the backend Python application to general purpose burstable EC2 instances that have the same number of cores as the existing EC2 instances.