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 825 discussion

A company asks a solution architect to optimize the cost of a solution. The solution handles requests from multiple customers. The solution includes a multi-tier architecture that uses Amazon API Gateway, AWS Lambda, AWS Fargate, Amazon Simple Queue Service (Amazon SQS), and Amazon EC2.
In the current setup, requests go through API Gateway to Lambda and either start a container in Fargate or push a message to an SQS queue. An EC2 Fleet provides EC2 instances that serve as workers for the SQS queue. The EC2 Fleet scales based on the number of items in the SQS queue.
Which combination of steps should the solutions architect recommend to reduce cost the MOST? (Choose three.)

  • A. Determine the minimum number of EC2 instances that are needed during a day. Reserve this number of instances in a 3-year plan with payment all upfront.
  • B. Examine the last 6 months of compute utilization across the services. Use this information to determine the needed compute for the solution. Commit to a Savings Plan for this amount.
  • C. Determine the average number of EC2 instances that are needed during a day. Reserve this number of instances in a 3-year plan with payment all upfront.
  • D. Remove the SQS queue from the solution and from the solution infrastructure.
  • E. Change the solution so that it runs as a container instead of on EC2 instances. Configure Lambda to start up the solution in Fargate by using environment variables to give the solution the message.
  • F. Change the Lambda function so that it posts the message directly to the EC2 instances through an Application Load Balancer.
Show Suggested Answer Hide Answer
Suggested Answer: BDE 🗳️

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
asfsdfsdf
Highly Voted 2 years, 4 months ago
Selected Answer: BDE
I will go with B D E A - Need to use serverless solution B - need compute saving plans for Fargate C - Not needed as the solution will be serverless D - Not needed anymore as we dont use SQS + EC2 E - Change EC2 to use fargate and move the data to a task F - No instances are needed
upvoted 8 times
...
vinodkp
Highly Voted 2 years, 11 months ago
Selected Answer: BDE
Saving plan to save money on fargate containers.
upvoted 6 times
...
alxjandroleiva
Most Recent 2 years, 1 month ago
Selected Answer: BDE
A, C: No payment upfront, A. Determine the minimum number of EC2 instances that are needed during a day. Reserve this number of instances in a 3-year plan with payment all upfront. C. Determine the average number of EC2 instances that are needed during a day. Reserve this number of instances in a 3-year plan with payment all upfront. F: No make sense F. Change the Lambda function so that it posts the message directly to the EC2 instances through an Application Load Balancer.
upvoted 1 times
...
aandc
2 years, 5 months ago
B & E are correct, not sure the last one. I go with A
upvoted 4 times
...
maximoh
2 years, 5 months ago
Selected Answer: BDE
B. As vinodkp said. D. As bobsmith2000 said E. Lambda can define environmental variables on Fargate task on demand creation. https://stackoverflow.com/questions/66261671/environment-variable-setting-for-fargate-task
upvoted 1 times
...
bobsmith2000
2 years, 6 months ago
Selected Answer: ABC
D. Removing SQS from the solutions will make components tightly coupled which is not going to save any money. E. To pass any env var to a fargate cotainer it has to be specified in task definition. I can hardly imagine a solution with a task def per request. F. Posting directly to EC2 through ALB means synchronous request, which will increase num of connection drastically. If they mean asynchronous, then there's a risk of loosing element in case of failure. So what we have left is ABC
upvoted 2 times
bobsmith2000
2 years, 6 months ago
Changed my mind to BDE
upvoted 5 times
...
...
Yamchi
2 years, 7 months ago
I think A, D, F
upvoted 1 times
...
Bigbearcn
2 years, 8 months ago
remove SQS and EC2 to lower cost.
upvoted 3 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 ...