exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 429 discussion

A development team is deploying a new product on AWS and is using AWS Lambda as part of the deployment. The team allocates 512 MB of memory for one of the Lambda functions. With this memory allocation, the function is completed in 2 minutes. The function runs millions of times monthly, and the development team is concerned about cost. The team conducts tests to see how different Lambda memory allocations affect the cost of the function.
Which steps will reduce the Lambda costs for the product? (Choose two.)

  • A. Increase the memory allocation for this Lambda function to 1,024 MB if this change causes the execution time of each function to be less than 1 minute.
  • B. Increase the memory allocation for this Lambda function to 1,024 MB if this change causes the execution time of each function to be less than 90 seconds.
  • C. Reduce the memory allocation for this Lambda function to 256 MB if this change causes the execution time of each function to be less than 4 minutes.
  • D. Increase the memory allocation for this Lambda function to 2,048 MB if this change causes the execution time of each function to be less than 1 minute.
  • E. Reduce the memory allocation for this Lambda function to 256 MB if this change causes the execution time of each function to be less than 5 minutes.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
syu31svc
Highly Voted 3 years, 8 months ago
https://dashbird.io/lambda-cost-calculator/ Try the link above and you'll get A and C as the answers
upvoted 31 times
...
jkwek
Highly Voted 3 years, 8 months ago
Answers are A and C. The reasons are simple maths. If A is chosen, the memory used is double but the completion time is less than 2 minutes, not 2 minutes. Answer C is better and more efficient than answer E.
upvoted 16 times
...
rac_sp
Most Recent 2 years, 8 months ago
Selected Answer: C
Answer is c due to math
upvoted 1 times
...
Fyssy
2 years, 9 months ago
A and C
upvoted 1 times
...
LimeCake
2 years, 9 months ago
math question ;)
upvoted 1 times
...
VijiTu
2 years, 11 months ago
Refer the chart in this link and hence AC and best fit.. As memory is increased it need not be exact proportion still it will bring down the execution time. So AC is right pick https://aws.amazon.com/blogs/aws/new-for-aws-lambda-functions-with-up-to-10-gb-of-memory-and-6-vcpus/
upvoted 1 times
...
xav1er
2 years, 12 months ago
Selected Answer: AC
A & C Pay per duration: (in increment of 1 ms) • 400,000 GB-seconds of compute time per month for FREE • == 400,000 seconds if function is 1GB RAM • == 3,200,000 seconds if function is 128 MB RAM
upvoted 1 times
...
Karthikeyan_nick
3 years, 1 month ago
A. 512*2 => 1024 => 1 min C. 512/2 => 256 => 4 min
upvoted 5 times
...
SDikeman62
3 years, 2 months ago
How about B and C. B is even better option than A.
upvoted 1 times
...
AWSequalsPromotion
3 years, 4 months ago
Selected Answer: AC
ratio and proportion. This is 3rd grade math.
upvoted 1 times
...
muhsin
3 years, 5 months ago
AC 512mb * 1200ms == 1024mb * 600ms == 256mb * 2400ms
upvoted 1 times
...
jensoncherussery
3 years, 6 months ago
AE is correct ..C may be correct .but exam point of view E is correct and their SW will be verify based on E
upvoted 1 times
...
manan728
3 years, 6 months ago
If the function takes 2min for a single run, max it will run is 720 times a day and 22320 times a month that has 31 days. Million is a far cry.
upvoted 2 times
...
nlee
3 years, 7 months ago
is it a simple Math? Cuz Stephane Maarek AND that page below say that: 2 vCPUs per 1.5 GB RAM. https://aws.amazon.com/ko/blogs/aws/new-for-aws-lambda-functions-with-up-to-10-gb-of-memory-and-6-vcpus/ Please confirm me...
upvoted 1 times
...
5868656e
3 years, 7 months ago
please admin update the test with correct answers A and C , then delete this comment
upvoted 3 times
...
andriikor
3 years, 7 months ago
A and C. A - to check that additional memory increase function performance, C - to check that lower memory decrease function performance.
upvoted 7 times
...
JArafat
3 years, 7 months ago
A and C
upvoted 6 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 ...