SAA-C03 · Question #84
A company has developed a non-production application that is composed of multiple microservices for each of the company's business units. A single development team maintains all the microservices. The
The correct answer is B. Use Amazon CloudFront and Amazon S3 to host the static web frontend. Refactor the. This solution offers the least operational overhead while meeting the security and global availability requirements: Amazon CloudFront and S3: Hosting the static frontend on S3 and serving it via CloudFront provides low-latency global distribution, high availability, and security
Question
A company has developed a non-production application that is composed of multiple microservices for each of the company's business units. A single development team maintains all the microservices. The current architecture uses a static web frontend and a Java-based backend that contains the application logic. The architecture also uses a MySQL database that the company hosts on an Amazon EC2 instance. The company needs to ensure that the application is secure and available globally. Which solution will meet these requirements with the LEAST operational overhead?
Options
- AUse Amazon CloudFront and AWS Amplify to host the static web frontend. Refactor the
- BUse Amazon CloudFront and Amazon S3 to host the static web frontend. Refactor the
- CUse Amazon CloudFront and Amazon S3 to host the static web frontend. Refactor the
- DUse Amazon S3 to host the static web frontend. Refactor the microservices to use AWS Lambda
How the community answered
(32 responses)- A6% (2)
- B81% (26)
- C9% (3)
- D3% (1)
Explanation
This solution offers the least operational overhead while meeting the security and global availability requirements: Amazon CloudFront and S3: Hosting the static frontend on S3 and serving it via CloudFront provides low-latency global distribution, high availability, and security. S3 is a cost-effective and serverless option for hosting static assets, and CloudFront ensures that the application is cached closer to the users, reducing latency globally. AWS Lambda and API Gateway: Refactoring the microservices to use Lambda functions with API Gateway allows for a fully serverless, scalable, and highly available backend. This reduces the need for managing EC2 instances, as Lambda automatically scales to meet demand and only charges for the actual usage. RDS for MySQL: Migrating the MySQL database from an EC2 instance to Amazon RDS significantly reduces operational overhead. RDS manages backups, patching, and scaling, and it offers high availability options (e.g., Multi-AZ). Option A and D involve using EC2 Reserved Instances for the database, which requires more operational maintenance than using RDS. Option C suggests using a Network Load Balancer with Lambda, which adds unnecessary complexity for this use case.
Community Discussion
No community discussion yet for this question.