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

A company hosts an image-processing service in the AWS Cloud. The company uses a custom on-premises application to call the service from its on-premises systems over an AWS Direct Connect connection. The application sends image-processing requests to software that is hosted on Amazon EC2 instances. The image data is embedded within the requests. The EC2 instances are in an Auto Scaling group and run behind a Network Load Balancer (NLB). The Auto Scaling group has a minimum capacity of two instances.

The company is receiving tens of thousands of image-processing requests at the same time each day and is experiencing errors. The processing of the requests is not time critical. For much of the day, the application sends no requests.

The company wants to improve the application's reliability and minimize the number of failed image-processing requests. The company also wants to reduce cost.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Add a target tracking scaling policy based on a memory utilization metric that has a target value of 90%. Configure the Auto Scaling group to use additional Spot Instances when scaling events occur.
  • B. Change the application to upload the images to Amazon S3. Configure Amazon Simple Queue Service (Amazon SQS) notifications for object uploads. Rewrite the image-processing code that runs on the EC2 instances to receive SQS messages with the object reference so that the messages are processed asynchronously. Remove the NLB.
  • C. Create an AWS Lambda function that includes the image-processing logic. Deploy the Lambda function in the VPC that hosts the EC2 instances. Update the target group on the NLB to invoke the Lambda function.
  • D. Create an AWS Lambda function that includes the image-processing logic. Change the application to upload the images to Amazon S3. Configure Amazon Simple Notification Service (Amazon SNS) notifications for object uploads with a retry policy to invoke the Lambda function. Remove the NLB.
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
backbencher2022
8 months, 3 weeks ago
Selected Answer: D
Here's why option D is the most appropriate: Serverless Architecture: By using AWS Lambda, the company can eliminate the need to manage EC2 instances and Auto Scaling groups, significantly reducing operational overhead. Cost Efficiency: Lambda functions only run when needed, so the company will only pay for actual usage. This is particularly beneficial given that "for much of the day, the application sends no requests." Scalability: Lambda automatically scales to handle tens of thousands of concurrent requests, addressing the high volume of requests the company experiences at certain times. Reliability: Using S3 for image uploads and SNS for notifications provides a robust, highly available system. The retry policy in SNS ensures that processing requests are not lost, improving reliability. Asynchronous Processing Simplified Architecture
upvoted 2 times
...
Ebi
1 year, 2 months ago
Those voted to B didn't read the question properly "LEAST operational overhead" Answer is A
upvoted 2 times
...
Pr44
1 year, 7 months ago
Option D Since it says least operational overhead and we can achieve it with the use of lambda
upvoted 1 times
Momin
1 year, 6 months ago
Lambda has a max runtime limit of 15 mins
upvoted 1 times
...
...
Jesuisleon
1 year, 11 months ago
Selected Answer: B
I prefer B as in question "The company is receiving tens of thousands of image-processing requests at the same time each day and is experiencing errors" tens of thousands requests arrive at same time, what extents( number of ec2) you expect ASG to scale out to address this situation ? How can you guarantee Spot Instances can finish its job without being terminated ? The question is asking "LEAST operational overhead" not least development overhead, I think B is better than A.
upvoted 4 times
Jesuisleon
1 year, 11 months ago
"The processing of the requests is not time critical. For much of the day, the application sends no requests" this implies we don't need to handle all request immediately, we can cache the requests first and do the processing later.
upvoted 1 times
...
vn_thanhtung
1 year, 8 months ago
Agree B, A has a smell, scale based on memory, question not mention
upvoted 1 times
...
...
dev112233xx
2 years ago
Selected Answer: A
A makes more sense https://aws.amazon.com/blogs/mt/create-amazon-ec2-auto-scaling-policy-memory-utilization-metric-windows/
upvoted 1 times
...
hobokabobo
2 years, 1 month ago
Selected Answer: B
B. We do not need any change to the servers let alone additional spot instances, we only need a queue that keeps track. We can leave everything as it is only defer the incoming processing jobs.
upvoted 2 times
...
andras
2 years, 2 months ago
Selected Answer: B
If there is no spot instance available, there will be no scale out... the requests could fail due to luk of EC2 capaity... Only B could "store" the requests.
upvoted 1 times
...
Vash2303
2 years, 3 months ago
Selected Answer: B
Least operational overhead
upvoted 2 times
...
doudou
2 years, 4 months ago
Selected Answer: A
A is the correct answer
upvoted 2 times
...
Kende
2 years, 4 months ago
Selected Answer: A
A is the one.
upvoted 2 times
...
due
2 years, 4 months ago
Selected Answer: A
LEAST operational overhead + ASG EC2 + thousands requests at the same time + not time critical = ASG + spot Instances
upvoted 3 times
...
ggrodskiy
2 years, 5 months ago
Correct A
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago