Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 477 discussion

A company is running a three-tier web application in an on-premises data center. The frontend is served by an Apache web server, the middle tier is a monolithic Java application, and the storage tier is a PostgreSQL database.

During a recent marketing promotion, customers could not place orders through the application because the application crashed. An analysis showed that all three tiers were overloaded. The application became unresponsive, and the database reached its capacity limit because of read operations. The company already has several similar promotions scheduled in the near future.

A solutions architect must develop a plan for migration to AWS to resolve these issues. The solution must maximize scalability and must minimize operational effort

Which combination of steps will meet these requirements? (Choose three.)

  • A. Refactor the frontend so that static assets can be hosted on Amazon S3. Use Amazon CloudFront to serve the frontend to customers. Connect the frontend to the Java application.
  • B. Rehost the Apache web server of the frontend on Amazon EC2 instances that are in an Auto Scaling group. Use a load balancer in front of the Auto Scaling group. Use Amazon Elastic File System (Amazon EFS) to host the static assets that the Apache web server needs.
  • C. Rehost the Java application in an AWS Elastic Beanstalk environment that includes auto scaling.
  • D. Refactor the Java application, Develop a Docker container to run the Java application. Use AWS Fargate to host the container.
  • E. Use AWS Database Migration Service (AWS DMS) to replatform the PostgreSQL database to an Amazon Aurora PostgreSQL database. Use Aurora Auto Scaling for read replicas.
  • F. Rehost the PostgreSQL database on an Amazon EC2 instance that has twice as much memory as the on-premises server.
Show Suggested Answer Hide Answer
Suggested Answer: ADE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
backbencher2022
3 weeks, 1 day ago
Selected Answer: ACE
A, C & E. For A - You can connect S3 with backend Java application. It is a known pattern and also published here - https://aws.amazon.com/blogs/storage/extending-java-applications-to-directly-access-files-in-amazon-s3-without-recompiling/
upvoted 1 times
...
blackname
3 months, 3 weeks ago
Selected Answer: ACE
A -> Correct. Frontend could be hosted on s3 so we don't need a EC2 B -> False. That's expensive, and requires operational effort (ex: patches, ...) C -> Correct. Elastic Beanstalk would reduce operational effort of patches and other stuff and also support native scaling D -> False. Would be a great answer if it mentioned "Service Autoscaling" for fargate. Since it does not mention, we have to assume that would be only 1 fargate task. E -> Correct. Aurora RDS would reduce operational effort and would also allow scaling read replicas. F -> False. Requires very operational effort to allow DB reads scaling F
upvoted 3 times
...
Dawson75
4 months ago
Selected Answer: ACE
ACE best choices
upvoted 1 times
...
Dawson75
4 months, 2 weeks ago
BCF is correct
upvoted 1 times
...
Fu7ed
4 months, 3 weeks ago
Selected Answer: ACE
I chose ACE, but I don't know why it's not D. If you tried to reduce the development effort, it wouldn't have been D, but if you want to reduce the operation effort, I think D is definitely the answer to some extent. However, I chose C because I thought using app refactoring -> java container development -> EKS Fargate was cumbersome.
upvoted 3 times
blackname
3 months, 3 weeks ago
A single fargate task will not handle peak traffic. In this options it's not mentioned "Service Autoscaling" for fargate, so as is it means that would be a single fargate task https://repost.aws/knowledge-center/ecs-fargate-service-auto-scaling
upvoted 1 times
...
...
4555894
4 months, 4 weeks ago
Selected Answer: ACE
1. AWS CloudFront (CDN) 2. AWS Elastic Beanstalk 3. DMS 4. Aurora Auto Scaling
upvoted 1 times
...
tushar321
5 months ago
BDE B for Web Servers ASG with EFS for scale to share Linux apache servers D for App Servers - Fargate reduces ops efforts E for DB
upvoted 1 times
...
AwsZora
5 months ago
Selected Answer: A
This is what my company does, and there is no mention here of enabling S3 static web hosting
upvoted 1 times
...
teo2157
5 months ago
Selected Answer: BCE
A is incorrect because you can´t connect a bucket S3 to a Java application so going with Apcache Web Servers with autoscaling. Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services. It supports Java applications and can automatically handle the details of capacity provisioning, load balancing, scaling, and application health monitoring. The using of Aurora PostgreSQL is pretty obvious. Said that going for BCE.
upvoted 2 times
backbencher2022
3 weeks, 1 day ago
You can connect S3 with backend Java application. It is a known pattern and also published here - https://aws.amazon.com/blogs/storage/extending-java-applications-to-directly-access-files-in-amazon-s3-without-recompiling/
upvoted 1 times
...
...
Zas1
5 months ago
Selected Answer: ACE
In general, Beanstalk is the best option if your priorities are SIMPLICITY and low cost. Meanwhile, Fargate is better if you want more control over how your application is hosted, your budget is not especially tight, and your application can be containerized.
upvoted 4 times
...
devnv
5 months ago
ACE are correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...