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

A solutions architect is troubleshooting an application that runs on Amazon EC2 instances. The EC2 instances run in an Auto Scaling group. The application needs to access user data in an Amazon DynamoDB table that has fixed provisioned capacity.
To match the increased workload, the solutions architect recently doubled the maximum size of the Auto Scaling group. Now, when many instances launch at the same time, some application components are throttled when the components scan the DynamoDB table. The Auto Scaling group terminates the failing instances and starts new instances until all applications are running
A solutions architect must implement a solution to mitigate the throttling issue in the MOST cost-effective manner
Which solution will meet these requirements?

  • A. Double the provisioned read capacity of the DynamoDB table.
  • B. Duplicate the DynamoDB table. Configure the running copy of the application to select at random which table it access.
  • C. Set the DynamoDB table to on-demand mode.
  • D. Add DynamoDB Accelerator (DAX) to the table.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
AndySH
Highly Voted 2 years, 9 months ago
D. DAX accommodates unpredictable bursts of reading activity.
upvoted 11 times
...
rsn
Most Recent 1 year, 3 months ago
Selected Answer: D
Throttling happens when the dynamodb table is scanned. "Read" is the issue here. I think DAX is the best solution here. Making the capacity "on demand" will solve the problem but not the cheapest solution.
upvoted 1 times
...
TECHNOWARRIOR
1 year, 5 months ago
Selected answer "A" To mitigate throttling in a cost-effective manner: Double the provisioned read capacity of the DynamoDB table Ensures sufficient capacity to handle increased workload caused by doubled Auto Scaling group Helps prevent throttling issues On-demand mode is not recommended due to its higher cost compared to provisioned capacity Duplicating the DynamoDB table and randomly selecting which table to access adds complexity and requires additional resources, making it an unsuitable solution Adding DynamoDB Accelerator (DAX) is unnecessary in this scenario DAX is a caching service that improves DynamoDB performance by caching frequently accessed data
upvoted 2 times
...
cherep87
1 year, 8 months ago
Selected Answer: A
What about B ? A double provision capacity for 100 request per second: 30.00 ( Upfront read cost (upfront):) usd / 12 monthes + 1.82 USD Monthly read cost (monthly) ~4 Usd D requires servers which will cost around 500 UDS for 3 large instance (for HA mode) C on demand mode per month for 100 request per second - 32 USD
upvoted 2 times
cherep87
1 year, 8 months ago
Question was - that about A For A 1) we already know client used provisioned capacity , so it is not an issue to pay upfront. 2) We also know that autoscaling nodes were doubled, so load can be predicted as twice as more as before, so we just need to reserver twice more RCU .
upvoted 1 times
...
...
Amitst
1 year, 8 months ago
C is the correct answer per the document explanation (see below). Reason: refer https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html section: Peak traffic and scaling properties If you need more than double your previous peak on table, DynamoDB automatically allocates more capacity as your traffic volume increases to help ensure that your workload does not experience throttling. However, throttling can occur if you exceed double your previous peak within 30 minutes. For example, if your application’s traffic pattern varies between 25,000 and 50,000 strongly consistent reads per second where 50,000 reads per second is the previously reached traffic peak, DynamoDB recommends spacing your traffic growth over at least 30 minutes before driving more than 100,000 reads per second.
upvoted 2 times
...
mrgreatness
2 years ago
On-demand mode is a good option if any of the following are true: You create new tables with unknown workloads. You have unpredictable application traffic. You prefer the ease of paying for only what you use.
upvoted 3 times
...
nsvijay04b1
2 years, 1 month ago
Selected Answer: C
Its 100% C as per AWS documentation. Read <Peak traffic and scaling properties> section in below link https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand
upvoted 1 times
...
Ni_yot
2 years, 1 month ago
yeah i'd go for C as well. Several documents mention on demand mode as the way forward. there could still be queuing if data is not in cache when using DAX
upvoted 1 times
...
wassb
2 years, 1 month ago
Selected Answer: D
"However, tables using the on-demand mode might still throttle." https://aws.amazon.com/premiumsupport/knowledge-center/on-demand-table-throttling-dynamodb/ Considering that switching on demand-mode might not solve the problem, i will go for DAX
upvoted 1 times
...
JohnPi
2 years, 2 months ago
Selected Answer: D
I vote for DAX
upvoted 1 times
JohnPi
2 years, 1 month ago
https://aws.amazon.com/premiumsupport/knowledge-center/on-demand-table-throttling-dynamodb/
upvoted 1 times
JohnPi
2 years, 1 month ago
On demand will be trotheled if the traffic is more than double the prețioase peak
upvoted 1 times
...
...
...
asfsdfsdf
2 years, 4 months ago
Selected Answer: C
Since its with peaks better to use on-demand and its more cost effective than to use DAX nodes and pay for them 24/7 - on-demand reads is 0.25$ for 1 million unit
upvoted 1 times
...
HellGate
2 years, 10 months ago
Is On-Demand cheaper than DAX?
upvoted 2 times
sTeVe86
2 years, 9 months ago
Yes, some application components are throttled when they scan the DynamoDB database. Means READ capacity may not be sufficient. DAX will fix.
upvoted 3 times
wannaaws
2 years, 5 months ago
throttling occurs when app scanning the DynamoDB database, note it's not querying, i.e, run query vs full scan. In the table full scan, caching (DAX) not efficient. Perhaps, change DDB to on-demand may be more cost effective? https://cloud.in28minutes.com/aws-certification-amazon-dynamodb-vs-rds
upvoted 2 times
...
...
wahlbergusa
2 years, 10 months ago
I'd go with D.
upvoted 3 times
...
...
lucesarano
2 years, 10 months ago
Selected Answer: C
C. https://aws.amazon.com/premiumsupport/knowledge-center/on-demand-table-throttling-dynamodb/
upvoted 3 times
JohnPi
2 years, 1 month ago
It is D according to the document.
upvoted 1 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 ...