exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 539 discussion

A company wants to manage the costs associated with a group of 20 applications that are infrequently used, but are still business-critical, by migrating to AWS.
The applications are a mix of Java and Node.js spread across different instance clusters. The company wants to minimize costs while standardizing by using a single deployment methodology. Most of the applications are part of month-end processing routines with a small number of concurrent users, but they are occasionally run at other times. Average application memory consumption is less than 1 GB, though some applications use as much as 2.5 GB of memory during peak processing. The most important application in the group is a billing report written in Java that accesses multiple data sources and often for several hours.
Which is the MOST cost-effective solution?

  • A. Deploy a separate AWS Lambda function for each application. Use AWS CloudTrail logs and Amazon CloudWatch alarms to verify completion of critical jobs.
  • B. Deploy Amazon ECS containers on Amazon EC2 with Auto Scaling configured for memory utilization of 75%. Deploy an ECS task for each application being migrated with ECS task scaling. Monitor services and hosts by using Amazon CloudWatch.
  • C. Deploy AWS Elastic Beanstalk for each application with Auto Scaling to ensure that all requests have sufficient resources. Monitor each AWS Elastic Beanstalk deployment by using CloudWatch alarms.
  • D. Deploy a new Amazon EC2 instance cluster that co-hosts all applications by using EC2 Auto Scaling and Application Load Balancers. Scale cluster size based on a custom metric set on instance memory utilization. Purchase 3-year Reserved Instance reservations equal to the GroupMaxSize parameter of the Auto Scaling group.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
meenu2225
Highly Voted 3 years, 8 months ago
I will go with B, B makes more sense out of the others. All of these apps are begging to be containerised :)
upvoted 23 times
kirrim
3 years, 7 months ago
Agree, ECS is the most cost-effective answer up there. Lambda would be great except that reporting app that runs for 2 hrs, which is a no go for Lambda with a max execution time of 900 seconds (15 mins): https://docs.aws.amazon.com/whitepapers/latest/serverless-architectures-lambda/timeout.html Side note: It's not an available choice, but I'd argue that since these apps are only sporadically used, Fargate would likely be even more cost effective than EC2-based ECS: https://aws.amazon.com/blogs/containers/theoretical-cost-optimization-by-amazon-ecs-launch-type-fargate-vs-ec2/
upvoted 2 times
...
...
maxh8086
Most Recent 2 years, 5 months ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.cloudwatch.html Elastic Beanstalk automatically uses Amazon CloudWatch to help you monitor your application and environment status. You can navigate to the Amazon CloudWatch console to see your dashboard and get an overview of all of your resources as well as your alarms. You can also choose to view more metrics or add custom metrics. any other options do not have memory base scaling without cloudwatch agent
upvoted 1 times
...
Sumit_Kumar
2 years, 10 months ago
single deployment approach - elastic beanstalk
upvoted 2 times
...
foxrj21
3 years ago
Selected Answer: B
its B, ECS with ec2 or spot instances
upvoted 1 times
...
bobsmith2000
3 years, 2 months ago
Selected Answer: B
It's B. No-brainer
upvoted 2 times
...
Hasitha99
3 years, 2 months ago
Based on the given answers,I will go with B.
upvoted 2 times
...
jyrajan69
3 years, 4 months ago
The key word is 'Most Cost Effective' so why no one looking at D, it says Reserved Instances which is designed to reduce costs, for me thats the answer.
upvoted 2 times
jason2009
3 years, 3 months ago
D is incorrect because by purchasing RIs based on the Max value set in an ASG will for sure waste resources because you are paying for the extra capacity unused. As matter of fact, because ECS does not have any additional cost and can utilize the RIs if you choose EC2, B for sure is cheaper than D.
upvoted 5 times
...
...
Duke_YU
3 years, 5 months ago
C is what Amazon want you to use, B is what most architect will choose in real life.
upvoted 3 times
user0001
3 years, 1 month ago
see is right
upvoted 1 times
...
...
AzureDP900
3 years, 6 months ago
I'll go with B
upvoted 1 times
...
tonikus
3 years, 7 months ago
I think it's C based on "...while standardizing by using a single deployment methodology."
upvoted 2 times
tonikus
3 years, 7 months ago
hmmm, I guess I'm changing to B
upvoted 1 times
...
...
nodogoshi
3 years, 7 months ago
B. Microservice's question. ECS is for it.
upvoted 1 times
...
WhyIronMan
3 years, 7 months ago
I'll go with B
upvoted 2 times
...
tuananhngo
3 years, 7 months ago
what does cost-effective means? does it relate to price or lead time? we are not sure abt it. I think the correct is C because B would take much effort to transform application to container type.
upvoted 2 times
...
kpcert
3 years, 7 months ago
Why not use the Lambda? The question has the follwing keywords 1. Node.js and Java 2. Infrequent Usage and memory requirement is max 2.5 GB 3. Less concurrency 4. Need Cost-effective solution
upvoted 1 times
StanM
3 years, 7 months ago
because one of the applications can run up to several hours while lambda can run only up to 15 mins. We could think of making an exception for this application and run everything else as lambda, but the question insists on standardizing.
upvoted 8 times
...
...
Waiweng
3 years, 7 months ago
it's B fof cost effectiveness
upvoted 4 times
...
blackgamer
3 years, 7 months ago
B is the correct answer because it is more cost effective.
upvoted 1 times
...
Kian1
3 years, 8 months ago
going with B
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 ...