ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 587 - SAA-C03 discussion

Report
Export

A manufacturing company runs its report generation application on AWS. The application generates each report in about 20 minutes. The application is built as a monolith that runs on a single Amazon EC2 instance. The application requires frequent updates to its tightly coupled modules. The application becomes complex to maintain as the company adds new features.

Each time the company patches a software module, the application experiences downtime. Report generation must restart from the beginning after any interruptions. The company wants to redesign the application so that the application can be flexible, scalable, and gradually improved. The company wants to minimize application downtime.

Which solution will meet these requirements?

A.
Run the application on AWS Lambda as a single function with maximum provisioned concurrency.
Answers
A.
Run the application on AWS Lambda as a single function with maximum provisioned concurrency.
B.
Run the application on Amazon EC2 Spot Instances as microservices with a Spot Fleet default allocation strategy.
Answers
B.
Run the application on Amazon EC2 Spot Instances as microservices with a Spot Fleet default allocation strategy.
C.
Run the application on Amazon Elastic Container Service (Amazon ECS) as microservices with service auto scaling.
Answers
C.
Run the application on Amazon Elastic Container Service (Amazon ECS) as microservices with service auto scaling.
D.
Run the application on AWS Elastic Beanstalk as a single application environment with an all-at-once deployment strategy.
Answers
D.
Run the application on AWS Elastic Beanstalk as a single application environment with an all-at-once deployment strategy.
Suggested answer: C

Explanation:

The solution that will meet the requirements is to run the application on Amazon Elastic Container Service (Amazon ECS) as microservices with service auto scaling. This solution will allow the application to be flexible, scalable, and gradually improved, as well as minimize application downtime. By breaking down the monolithic application into microservices, the company can decouple the modules and update them independently, without affecting the whole application. By running the microservices on Amazon ECS, the company can leverage the benefits of containerization, such as portability, efficiency, and isolation. By enabling service auto scaling, the company can adjust the number of containers running for each microservice based on demand, ensuring optimal performance and cost. Amazon ECS also supports various deployment strategies, such as rolling update or blue/green deployment, that can reduce or eliminate downtime during updates.

The other solutions are not as effective as the first one because they either do not meet the requirements or introduce new challenges. Running the application on AWS Lambda as a single function with maximum provisioned concurrency will not meet the requirements, as it will not break down the monolith into microservices, nor will it reduce the complexity of maintenance. Lambda functions are also limited by execution time (15 minutes), memory size (10 GB), and concurrency quotas, which may not be sufficient for the report generation application. Running the application on Amazon EC2 Spot Instances as microservices with a Spot Fleet default allocation strategy will not meet the requirements, as it will introduce the risk of interruptions due to spot price fluctuations. Spot Instances are not guaranteed to be available or stable, and may be reclaimed by AWS at any time with a two-minute warning. This may cause report generation to fail or restart from scratch. Running the application on AWS Elastic Beanstalk as a single application environment with an all-at-once deployment strategy will not meet the requirements, as it will not break down the monolith into microservices, nor will it minimize application downtime. The all-at-once deployment strategy will deploy updates to all instances simultaneously, causing a brief outage for the application.

Amazon Elastic Container Service

Microservices on AWS

Service Auto Scaling - Amazon Elastic Container Service

AWS Lambda

Amazon EC2 Spot Instances

[AWS Elastic Beanstalk]

asked 16/09/2024
Robert Thompson
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first