Topic 1 Question 721
A company wants to rearchitect a large-scale web application to a serverless microservices architecture. The application uses Amazon EC2 instances and is written in Python.
The company selected one component of the web application to test as a microservice. The component supports hundreds of requests each second. The company wants to create and test the microservice on an AWS solution that supports Python. The solution must also scale automatically and require minimal infrastructure and minimal operational support.
Which solution will meet these requirements?
Use a Spot Fleet with auto scaling of EC2 instances that run the most recent Amazon Linux operating system.
Use an AWS Elastic Beanstalk web server environment that has high availability configured.
Use Amazon Elastic Kubernetes Service (Amazon EKS). Launch Auto Scaling groups of self-managed EC2 instances.
Use an AWS Lambda function that runs custom developed code.
ユーザの投票
コメント(8)
Lambda looks like a better option
👍 11Andy_092024/02/05- 正解だと思う選択肢: D
Lambda serverless, scalable, minimal infrastructure, handling hundreds of requests per second
👍 8Typewriter1012024/02/15 - 正解だと思う選択肢: D
A: auto-scaling of EC2 instances - Lot of overhead + Infra B: The company selected one component of the web application to test as a microservice. The component supports hundreds of requests each second. > lastic Beanstalk is a bad choice if you need worker processes. The whole point of a worker process is to perform a task in the background without slowing down your main web app. But Elastic Beanstalk doesn't support this option in a scalable way. Also, they want to test just 1 selected microservice and I think it's a bit of overkill to do it using Elastic Beanstalk. Happy to be challenged though! C: self-managed EC2 instances > infra + operational overhead D: Lambda supports Python, microservice should be quicker than 15 mins, worst case scenario the test will fail.. (that's the purpose tests are conducted for anyway..) I'd go for D
👍 5sandordini2024/04/25
シャッフルモード