AWS Certified Solutions Architect – Professional — Question 1005
A company manages an on-premises JavaScript front-end web application. The application is hosted on two servers secured with a corporate Active Directory.
The application calls a set of Java-based microservices on an application server and stores data in a clustered MySQL database. The application is heavily used during the day on weekdays. It is lightly used during the evenings and weekends.
Daytime traffic to the application has increased rapidly, and reliability has diminished as a result. The company wants to migrate the application to AWS with a solution that eliminates the need for server maintenance, with an API to securely connect to the microservices.
Which combination of actions will meet these requirements? (Choose three.)
Answer options
- A. Host the web application on Amazon S3. Use Amazon Cognito identity pools (federated identities) with SAML for authentication and authorization.
- B. Host the web application on Amazon EC2 with Auto Scaling. Use Amazon Cognito federation and Login with Amazon for authentication and authorization.
- C. Create an API layer with Amazon API Gateway. Rehost the microservices on AWS Fargate containers.
- D. Create an API layer with Amazon API Gateway. Rehost the microservices on Amazon Elastic Container Service (Amazon ECS) containers.
- E. Replatform the database to Amazon RDS for MySQL.
- F. Replatform the database to Amazon Aurora MySQL Serverless.
Correct answer: A, C, F
Explanation
Hosting the static JavaScript frontend on Amazon S3 combined with Amazon Cognito using SAML (Option A) eliminates web server management while preserving Active Directory integration. Running the microservices on AWS Fargate behind Amazon API Gateway (Option C) provides a highly scalable, serverless container environment and secure API layer. Finally, migrating the database to Amazon Aurora MySQL Serverless (Option F) perfectly handles the fluctuating weekday/weekend traffic patterns without requiring manual capacity planning or database server maintenance.