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

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

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

A company is running a traditional web application on Amazon EC2 instances. The company needs to refactor the application as microservices that run on containers. Separate versions of the application exist in two distinct environments: production and testing. Load for the application is variable, but the minimum load and the maximum load are known. A solutions architect needs to design the updated application with a serverless architecture that minimizes operational complexity.
Which solution will meet these requirements MOST cost-effectively?

  • A. Upload the container images to AWS Lambda as functions. Configure a concurrency limit for the associated Lambda functions to handle the expected peak load. Configure two separate Lambda integrations within Amazon API Gateway: one for production and one for testing.
  • B. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Container Service (Amazon ECS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the ECS clusters.
  • C. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Kubernetes Service (Amazon EKS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the EKS clusters.
  • D. Upload the container images to AWS Elastic Beanstalk. In Elastic Beanstalk, create separate environments and deployments for production and testing. Configure two separate Application Load Balancers to direct traffic to the Elastic Beanstalk deployments.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
masetromain
Highly Voted 1 year, 8 months ago
Selected Answer: B
B. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Container Service (Amazon ECS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the ECS clusters. This option meets the requirement of using a serverless architecture by utilizing the Fargate launch type for the ECS clusters, which allows for automatic scaling of the containers based on the expected load. It also allows for separate deployments for production and testing by configuring separate ECS clusters and Application Load Balancers for each environment. This option also minimizes operational complexity by utilizing ECS and Fargate for the container orchestration and scaling.
upvoted 20 times
...
zhangyu20000
Highly Voted 1 year, 9 months ago
Answer is A. ABC all works but A is most COST EFFECTIVE
upvoted 14 times
masetromain
1 year, 9 months ago
Is true but " you can now package and deploy Lambda functions as container images of up to 10 GB in size." the size is not specified, personally I find it too small
upvoted 3 times
anita_student
1 year, 7 months ago
10GB image is too small for what? I'm curious how do you containerise those images? I'd say the average image size is ~300-400MB
upvoted 3 times
...
...
zhangyu20000
1 year, 9 months ago
https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/
upvoted 3 times
...
anita_student
1 year, 7 months ago
Yes, would be cheap, but can't run a web app from Lambda
upvoted 5 times
...
yuyuyuyuyu
1 year, 8 months ago
I do not think A is the right answer. Because image must be upload to the ECR.
upvoted 4 times
...
...
[Removed]
Most Recent 1 week, 2 days ago
Selected Answer: B
The right answer is B.
upvoted 1 times
...
amministrazione
2 weeks, 6 days ago
B. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Container Service (Amazon ECS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the ECS clusters.
upvoted 1 times
...
MAZIADI
1 month, 1 week ago
Selected Answer: A
A because ALB & Beanstalk are not serverless & Lambda added support to use docker images directly. you can upload container images to AWS Lambda and use them as functions. AWS Lambda introduced support for deploying functions as container images, allowing you to package and deploy Lambda functions with custom runtimes, libraries, and dependencies that might exceed the limitations of traditional Lambda deployment packages (zip files).
upvoted 1 times
...
ukivanlamlpi
2 months, 3 weeks ago
Selected Answer: A
NOT B and C, because ALB is not serverless architecture NOT D, because Beantalk is not serverless architecture A is also most effective
upvoted 1 times
...
4bc91ae
3 months ago
Selected Answer: A
A - COST EFFECTIVE (lambda is only solution where users pay by invocation)
upvoted 1 times
...
Wuhao
4 months, 1 week ago
Selected Answer: B
Once choose eks,do not config load balance manually
upvoted 1 times
...
TonytheTiger
5 months, 3 weeks ago
Selected Answer: B
Option B and NOT Option C: I wasn't able to find a good comparison btw AWS ECS vs AWS EKS pricing in AWS documentation however I found a few articles saying that AWS EKS has additional cost for using EKS control plane. I will leave it up to you to decide. https://www.densify.com/eks-best-practices/aws-ecs-vs-eks/
upvoted 1 times
...
MoT0ne
6 months, 1 week ago
AWS Elastic Beanstalk is not considered a serverless architecture. While it abstracts away some of the underlying infrastructure management, it still involves running and managing EC2 instances, which are virtual servers.
upvoted 1 times
...
_Jassybanga_
7 months, 2 weeks ago
D - because BCD are right solution , D because - beanstalk runs ECS in backend + Reduce operation complexity which is asked in the question
upvoted 1 times
...
liux99
8 months, 3 weeks ago
The confusion here is choice between B and C. Both ECS and EKS are container orchestration service which supports fargate. But ECS is aws fully managed, better suited for simple application and also more cost effective.
upvoted 1 times
...
atirado
9 months, 1 week ago
Selected Answer: B
Option A - This option might not work. AWS Lambda provides a cheap option to run containers however nothing is said about execution times could be a concern, i.e. AWS Lambda only provides 15 minutes of execution time Option B - This option will work. ALB, ECR, ECS and Fargate in combination will deliver a running solution. Option C - This option will work. ALB, ECR, EKS and Fargate will deliver a running solution. Option D - This option will work: Beanstalk will rely on ECS to run the containers. See https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html Cheapest option is B.
upvoted 3 times
...
ninomfr64
9 months, 2 weeks ago
Selected Answer: B
Not A. as Lambda is not good for running a "traditional web application", also you can use container with Lambda but ECS is "ideal for organizations that want a simple and cost-effective way to deploy and manage containerized applications" Not C. as there is o pointer to EKS (e.g. open-source, industry standard, etc.) and also ECS is "ideal for organizations that want a simple and cost-effective way to deploy and manage containerized applications" Not D. as Beanstalk is not serverless Hence B.
upvoted 2 times
...
severlight
10 months, 2 weeks ago
Selected Answer: B
B. Not D as Beanstalk isn't serverless. Not C because there are no pointers to use EKS. Not A, because microservices are requested.
upvoted 1 times
...
hui521
11 months, 3 weeks ago
anyone helps to explain why D is not correct?
upvoted 1 times
Chainshark
11 months, 2 weeks ago
Beanstalk is a PaaS, it isn't truly serverless.
upvoted 1 times
...
...
ansgohar
11 months, 4 weeks ago
Selected Answer: B
B. Image on ECR and ECS cost effective over EKS.
upvoted 2 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 ...