exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 113 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 113
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A company uses Amazon DynamoDB as the data store for its ecommerce website. The website receives little to no traffic at night, and the majority of the traffic occurs during the day. The traffic growth during peak hours is gradual and predictable on a daily basis, but it can be orders of magnitude higher than during off- peak hours.
The company initially provisioned capacity based on its average volume during the day without accounting for the variability in traffic patterns. However, the website is experiencing a significant amount of throttling during peak hours. The company wants to reduce the amount of throttling while minimizing costs.
What should a database specialist do to meet these requirements?

  • A. Use reserved capacity. Set it to the capacity levels required for peak daytime throughput.
  • B. Use provisioned capacity. Set it to the capacity levels required for peak daytime throughput.
  • C. Use provisioned capacity. Create an AWS Application Auto Scaling policy to update capacity based on consumption.
  • D. Use on-demand capacity.
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
Sathish_dbs
1 year, 8 months ago
reduce cost - on-demand costlier predictable, gradual increase - auto scaling
upvoted 2 times
...
leotoras
1 year, 10 months ago
C is correct based on documentation: When you create a DynamoDB table, auto scaling is the default capacity setting, but you can also enable auto scaling on any table that does not have it active. Behind the scenes, as illustrated in the following diagram, DynamoDB auto scaling uses a scaling policy in Application Auto Scaling. https://aws.amazon.com/blogs/database/amazon-dynamodb-auto-scaling-performance-and-cost-optimization-at-any-scale/
upvoted 1 times
...
aviathor
1 year, 12 months ago
Selected Answer: D
If C had been worded differently, like "Provisioned capacity with auto-scaling", I might have chosen C. But "AWS Application Auto-Scaling" does not make sense in the DynamoDB context. Therefore I choose "On-Demand" which is very flexible in terms of throughput.
upvoted 1 times
...
guau
2 years, 3 months ago
CCCCCCCCCCCC
upvoted 1 times
...
Arun32
2 years, 6 months ago
C for me too.. DynamoDB auto scaling uses a scaling policy in Application Auto Scaling. To configure auto scaling in DynamoDB, you set the minimum and maximum levels of read and write capacity in addition to the target utilization percentage. Auto scaling uses Amazon CloudWatch to monitor a table’s read and write capacity metrics. To do so, it creates CloudWatch alarms that track consumed capacity.
upvoted 1 times
...
awsjjj
2 years, 7 months ago
Selected Answer: D
no traffic at night and orders of magnitude high traffic in off peak. I will go with D
upvoted 2 times
...
kush_sumit
2 years, 11 months ago
Selected Answer: C
C: As the pattern is predictable load with mangitude of spikes this could be handled by autoscaling. As per aws autoscaling is cost saving as compared to ondemand. If the pattern was unpredictable On-demand would be good
upvoted 1 times
...
sachin
2 years, 11 months ago
but it also says "traffic increase during peak hours is steady and predictable" and the firm also wants to reduce the throttling " so it is either C or D I think .. C is more likely as traffic pattern is predictable
upvoted 1 times
...
sachin
2 years, 11 months ago
It states that there is lot of throttling though out the day and the firm wants to minimize the expenditure and cost. Provisioned is costlier and during night hours the traffic is almost nill. So what ever small ( average of day ) capacity you are provisioning will be wasted at night. I believe on-demand in this case is better choice.
upvoted 1 times
...
Dantas
3 years ago
Selected Answer: C
"... traffic increase during peak hours is steady and predictable ..."
upvoted 1 times
...
novice_expert
3 years, 1 month ago
Selected Answer: C
- traffic increase during peak hours is steady and predictable=> provisioned - no uses in night. => on demand (but costly) so provision some + auto scale with a target 70% utilization set D will also work but costly
upvoted 3 times
...
mike3g2000
3 years, 2 months ago
I go with C. "To understand how DynamoDB auto scaling works, suppose that you have a table named ProductCatalog. The table is bulk-loaded with data infrequently, so it doesn't incur very much write activity. However, it does experience a high degree of read activity, which varies over time. By monitoring the Amazon CloudWatch metrics for ProductCatalog, you determine that the table requires 1,200 read capacity units (to avoid DynamoDB throttling read requests when activity is at its peak). You also determine that ProductCatalog requires 150 read capacity units at a minimum, when read traffic is at its lowest point. Within the range of 150 to 1,200 read capacity units, you decide that a target utilization of 70 percent would be appropriate for the ProductCatalog table. Target utilization is the ratio of consumed capacity units to provisioned capacity units, expressed as a percentage. Application Auto Scaling uses its target tracking algorithm to ensure that the provisioned read capacity of ProductCatalog is adjusted as required so that utilization remains at or near 70 percent."
upvoted 2 times
...
RotterDam
3 years, 2 months ago
Very tricky. Feels like (D) Even of you enable Autoscaling - but you will still pay the same rate during off-peak hours. the provisioned capacity will never fall below the preconfigured one during night when theres no traffic. Plus the question WANTS to reduce expenditure - which means with OnDemand theres barely any charge during off peak hours compared to fully charged if u use provisioned capacity using thebaseline configured RCU/WCUs.
upvoted 3 times
whn
3 years, 1 month ago
Remember for Provisioned with Auto-Scaling you are basically paying for throughput 24/7. Whereas for On-Demand Scaling you pay per request. This means for applications still in development or low traffic applications, it might be more economical to use On-Demand Scaling and not worry about provisioning throughput. However, at scale, this can quickly shift once you have a more consistent usage pattern. https://dynobase.dev/dynamodb-on-demand-vs-provisioned-scaling/#:~:text=Remember%20for%20Provisioned%20with%20Auto,not%20worry%20about%20provisioning%20throughput.
upvoted 2 times
...
Paulv82003
1 year, 12 months ago
The key is "The traffic growth during peak hours is gradual and predictable on a daily basis" provisioned with auto scaling
upvoted 1 times
...
...
user0001
3 years, 3 months ago
C Provisioned Mode If you choose provisioned mode, you specify the number of reads and writes per second that you require for your application. You can use auto scaling to adjust your table’s provisioned capacity automatically in response to traffic changes. This helps you govern your DynamoDB use to stay at or below a defined request rate in order to obtain cost predictability. Provisioned mode is a good option if any of the following are true: You have predictable application traffic. You run applications whose traffic is consistent or ramps gradually. You can forecast capacity requirements to control costs.
upvoted 4 times
...
tugboat
3 years, 3 months ago
Selected Answer: C
They know peak hours AWS Application Auto Scaling policy is good for it.
upvoted 1 times
...
Shinytopology
3 years, 4 months ago
C. DynamoDB autoscaling saves costs comparing to on-demand (which costs a bit higher for the NoOps benefit.) https://aws.amazon.com/blogs/database/amazon-dynamodb-auto-scaling-performance-and-cost-optimization-at-any-scale/
upvoted 2 times
...
wcx
3 years, 4 months ago
"traffic increase during peak hours is steady and predictable" C is the answer.
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 ...