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

A company is building a website that relies on reading and writing to an Amazon DynamoDB database. The traffic associated with the website predictably peaks during business hours on weekdays and declines overnight and during weekends. A solutions architect needs to design a cost-effective solution that can handle the load.
What should the solutions architect do to meet these requirements?

  • A. Enable DynamoDB Accelerator (DAX) to cache the data.
  • B. Enable Multi-AZ replication for the DynamoDB database.
  • C. Enable DynamoDB auto scaling when creating the tables.
  • D. Enable DynamoDB On-Demand capacity allocation when creating the tables.
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
amxexam
Highly Voted 3 years, 7 months ago
A - DAX is a cache for read-intensive application, here the application is a read/write. B - multi az replication will increase the HA, but will not help in variable predictable load throughout the day. C - Autoscaling is the answer as per the documentation when the moring peak load is different from the load during the regular hour. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html D - On Demand is for unpredictable workload, but here the workload is predictable. But still will work. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html But as per the documentation we should go with C.
upvoted 64 times
...
lunamycat
Highly Voted 3 years, 7 months ago
Answer C. Enable DynamoDB auto scaling when creating the tables. Traffic is predictable according to the scenario cost effective to enable autoscaling on tables. 'DynamoDB auto scaling reduces the unused capacity in the area between the provisioned and consumed capacity. improved ratio of consumed to provisioned capacity, which reduces the wasted overhead while providing sufficient operating capacity. With on-demand, DynamoDB instantly allocates capacity as it is needed. There is no concept of provisioned capacity, and there is no delay waiting for CloudWatch thresholds or the subsequent table updates. On-demand is ideal for bursty, new, or unpredictable workloads whose traffic can spike in seconds or minutes, and when underprovisioned capacity would impact the user experience. '
upvoted 19 times
noahsark
3 years, 6 months ago
C is correct: DynamoDB modes: On-demand – unknown workloads Provisioned – predictable application traffic https://aws.amazon.com/dynamodb/pricing/ Provisioned capacity has Auto Scaling. You can check in free tier AWS Console -> Create DynamoDB table -> Read/write capacity mode -> Provisioned capacity -> Auto Scaling.
upvoted 4 times
...
...
BECAUSE
Most Recent 1 year, 11 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
Fyssy
2 years, 8 months ago
A Amazon DynamoDB Accelerator (DAX): A Read-Through/Write-Through Cache for DynamoDB As a read-through/write-through cache, DAX seamlessly intercepts the API calls that an application normally makes to DynamoDB so that both read and write activity are reflected in the DAX cache.
upvoted 1 times
...
JP_PA
3 years, 3 months ago
Selected Answer: C
ANS: C
upvoted 1 times
...
nwk
3 years, 6 months ago
C https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
upvoted 2 times
...
Elliea
3 years, 6 months ago
Isn't autoscaling automatically enabled in dynamo db?
upvoted 2 times
...
Samm757
3 years, 6 months ago
With DynamoDB Auto scaling, DynamoDB can automatically increase its write capacity for the spike and decrease the throughput after the spike.
upvoted 1 times
...
syu31svc
3 years, 6 months ago
C is the answer A is wrong as DAX is meant for caching B is wrong as Multi AZ replication would incur costs for sure; not cost effective D is wrong since C is definitely more cost effective
upvoted 3 times
...
waqas
3 years, 6 months ago
We will go for C because D is not right here as Traffic is predictable, not unpredictable....thats y.
upvoted 3 times
...
Yogi
3 years, 6 months ago
Ans=C. Enable DynamoDB auto scaling when creating the tables.
upvoted 3 times
Yogi
3 years, 6 months ago
Correction, use DAX whenever DynamoDb is involved. DAX is Dynamo's cure for caching.
upvoted 1 times
...
...
NSF
3 years, 6 months ago
Here there is a tie between C and D, however the actual tie breaker, in my opinion is "Cost effective" key words. Autoscaling can set an upper limit where on -demand has no upper limit. So I would go for C
upvoted 2 times
...
burner_1984
3 years, 6 months ago
And is C, D: On-Demand capacity - is 2.5 times more expensive and questions asks it to be cost effective
upvoted 2 times
...
argol
3 years, 6 months ago
The choice between DynamoDB on-demand vs.DynamoDB auto scaling ... On-demand is good for small applications or for large applications with steep and unpredictable spikes that DynamoDB Auto Scaling cannot react to fast enough. For most other applications, provisioned capacity is likely a better option when factoring in cost. answer is "C"
upvoted 3 times
...
mraz
3 years, 6 months ago
D is correct Amazon DynamoDB on-demand is a flexible billing option capable of serving thousands of requests per second without capacity planning. DynamoDB on-demand offers pay-per-request pricing for read and write requests so that you pay only for what you use. When you choose on-demand mode, DynamoDB instantly accommodates your workloads as they ramp up or down to any previously reached traffic level. If a workload’s traffic level hits a new peak, DynamoDB adapts rapidly to accommodate the workload. Tables that use on-demand mode deliver the same single-digit millisecond latency, service-level agreement (SLA) commitment, and security that DynamoDB already offers. You can choose on-demand for both new and existing tables and you can continue using the existing DynamoDB APIs without changing code. 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 2 times
Iamrandom
3 years, 6 months ago
Here is predictable so C is correct as it is more cost effective
upvoted 1 times
...
...
fidaforever
3 years, 7 months ago
My take- C, as it Variable & Predictable. If you have steady, predictable traffic, choose reserved capacity. Since you know you need a certain amount of capacity at all times, you can save from reduced rates. If you have variable, predictable traffic, choose provisioned capacity. Imagine you have significant traffic during the day but no traffic overnight. Reserved capacity would be wasted overnight, but your patterns are predictable enough that you could scale up your provisioned capacity when you need it. If you have variable, unpredictable traffic, choose on-demand. If your application gets random spikes, it can be hard to provision capacity to match demand. Use the on-demand feature so you don't throttle your users.
upvoted 1 times
...
KALRAV
3 years, 7 months ago
C for sure - https://www.serverless.com/blog/dynamodb-on-demand-serverless
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago