SAP-C02 · Question #812
SAP-C02 Question #812: Real Exam Question with Answer & Explanation
The correct answer is A: Configure an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer. Configuring an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer to host the web server is an excellent approach to handle scaling for the PHP application. This ensures that the frontend can scale to meet varying traffic demands, addressing the scalab
Question
A company is running a three-tier web application in an on-premises data center. The frontend is a PHP application that is served by an Apache web server. The middle tier is a monolithic Java SE application. The storage tier is a 60 TB PostgreSQL database. The three-tier web application recently crashed and became unresponsive. The database also reached capacity because of read operations. The company wants to migrate to AWS to resolve these issues and improve scalability. Which combination of steps will meet these requirements with the LEAST development effort? (Choose three.)
Options
- AConfigure an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer
- BHost the static single-page application on Amazon S3. Use an Amazon CloudFront distribution to
- CCreate a Docker container to run the Java SE application. Use AWS Fargate to host the
- DCreate an AWS Elastic Beanstalk environment for Java to host the Java SE application.
- EMigrate the PostgreSQL database to an Amazon EC2 instance that is larger than the on-
- FUse AWS DMS to replatform the PostgreSQL database to an Amazon Aurora PostgreSQL
Explanation
Configuring an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer to host the web server is an excellent approach to handle scaling for the PHP application. This ensures that the frontend can scale to meet varying traffic demands, addressing the scalability issues that were experienced in the on-premises setup. Using Amazon EFS for the frontend static assets ensures easy access to shared storage across multiple web server Creating an AWS Elastic Beanstalk environment for the Java SE application is the least development-intensive option for hosting a monolithic Java application. Elastic Beanstalk simplifies the deployment, management, and scaling of applications without requiring significant rework of the code, which aligns well with the goal of reducing development effort. Using AWS Database Migration Service (DMS) to migrate the PostgreSQL database to Amazon Aurora PostgreSQL allows for automatic scaling, higher availability, and improved performance over traditional PostgreSQL databases. Aurora supports auto-scaling of read replicas, which would resolve the capacity and performance issues experienced in the on-premises database.
Community Discussion
No community discussion yet for this question.