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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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

A company has an online shop that uses an Amazon API Gateway API, AWS Lambda functions, and an Amazon DynamoDB table provisioned with 900 RCUs.
The API Gateway API receives requests from customers, and the Lambda functions handle the requests. Some of the Lambda functions read data from the
DynamoDB table.
During peak hours, customers are reporting timeout errors and slow performance. An investigation reveals that the Lambda functions that read the DynamoDB table occasionally time out. Amazon CloudWatch metrics show that the peak usage of the DynamoDB table is just below 900 RCUs.
Which solution will resolve this issue MOST cost-effectively?

  • A. Configure the DynamoDB table's read capacity to use auto scaling with default parameters.
  • B. Increase the timeout of all the Lambda functions that read from the DynamoDB table.
  • C. Use DynamoDB Streams to replicate data to a new table. Configure all the Lambda functions to read from the new table.
  • D. Increase the DynamoDB table's provisioned read capacity to 1,400 RCUs.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
joanneli77
Highly Voted 1 year, 11 months ago
Selected Answer: A
It can't exceed 900 RCUs, so "just below 900 RCUs" is "at capacity". Change to auto-scaling. If you were at 896-899, wouldn't you say "woah, that's too close!" or would you say "Must be lambda time-outs?" Best case, you'd still address dynamoDB even if it WAS lambda time-outs.
upvoted 10 times
...
pixepe
Highly Voted 1 year, 12 months ago
Amazon CloudWatch metrics show that the peak usage of the DynamoDB table is just below 900 RCUs. => There is NO Issue w.r.t DynamoDB So, A,B and D filtered out. ANSWER is B
upvoted 7 times
...
WhyIronMan
Most Recent 1 month, 3 weeks ago
A) chat gpt is right after verifying the message
upvoted 1 times
...
ggrodskiy
1 year, 1 month ago
Correct A.
upvoted 1 times
...
hobokabobo
1 year, 5 months ago
Selected Answer: A
Its about what is most "cost effective". So question asks what has most impact on costs? I would argue its A because while peak is above 900 its way below most of the time ( RCU overprovisioned). The may give cost savings while also solving the issue.
upvoted 1 times
...
davidy2020
1 year, 7 months ago
ChatGPT said: The most cost-effective solution to resolve the issue is option A: Configure the DynamoDB table's read capacity to use auto scaling with default parameters. By enabling auto scaling, the DynamoDB table can automatically adjust its read capacity based on the actual usage, which helps ensure that the table has sufficient read capacity to handle the traffic during peak hours without incurring unnecessary costs during off-peak hours. The other options may alleviate the issue, but they come at the cost of increased provisioned capacity, higher Lambda function timeouts, and additional resources to implement the data replication. By using auto scaling, the company can cost-effectively ensure that their system is able to handle the traffic during peak hours.
upvoted 2 times
devilman222
2 weeks, 4 days ago
You will find that chtgbt finds these questions on the web and looks at the answer that is marketed correct. This is not always the correct answer. AI is only as good as the information it finds.
upvoted 1 times
...
...
evargasbrz
1 year, 8 months ago
Selected Answer: A
I'll go with A "Amazon DynamoDB auto scaling uses the AWS Application Auto Scaling service to dynamically adjust provisioned throughput capacity on your behalf, in response to actual traffic patterns. This enables a table or a global secondary index to increase its provisioned read and write capacity to handle sudden increases in traffic, without throttling." https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
upvoted 1 times
...
Kende
1 year, 8 months ago
Selected Answer: B
"B" is the one.
upvoted 2 times
...
alxjandroleiva
1 year, 10 months ago
Selected Answer: B
RCU is not a problem
upvoted 2 times
...
redipa
1 year, 10 months ago
The answer is definitely not A. The key words are "with default parameters" Default auto-scaling read parameters have a maximum of 10. If the table is already using 900 RCUs, this would severely lower the resources. 900 -> 10
upvoted 4 times
...
skywalker
1 year, 11 months ago
Selected Answer: A
Customers are reporting timeout errors and slow performance.. Increasing timemout will caused it even slower. Thus going for A. At least it provide some read performance enhancement.
upvoted 6 times
skywalker
1 year, 11 months ago
DynamoDB auto scaling modifies provisioned throughput settings only when the actual workload stays elevated (or depressed) for a sustained period of several minutes. The Application Auto Scaling target tracking algorithm seeks to keep the target utilization at or near your chosen value over the long term. Thus no harm turn on AutoScaling if the workload is steady and require some bursting in few min. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
upvoted 2 times
...
...
cale
2 years ago
Selected Answer: B
I think it's B.
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 ...