Exam SAP-C02 All QuestionsBrowse all questions from this exam
Question 283

A company operates quick-service restaurants. The restaurants follow a predictable model with high sales traffic for 4 hours daily. Sales traffic is lower outside of those peak hours.

The point of sale and management platform is deployed in the AWS Cloud and has a backend that is based on Amazon DynamoDB. The database table uses provisioned throughput mode with 100,000 RCUs and 80,000 WCUs to match known peak resource consumption.

The company wants to reduce its DynamoDB cost and minimize the operational overhead for the IT staff.

Which solution meets these requirements MOST cost-effectively?

    Correct Answer: C

    The stated scenario describes a restaurant with predictable high sales traffic for 4 hours each day, while the remaining hours have lower traffic. The current configuration of the DynamoDB table with provisioned throughput mode is set to handle the peak load, resulting in high costs during non-peak hours. Enabling DynamoDB auto-scaling is the most cost-effective solution for this predictable pattern. Auto-scaling adjusts the table's capacity automatically based on actual traffic, which reduces costs during non-peak hours by scaling down resources and ensures sufficient capacity during peak hours by scaling up as needed. This approach also minimizes operational overhead by eliminating the need for manual adjustments, making it the most suitable option for predictable traffic patterns.

Discussion
saggy4Option: B

The correct answer is B: On Demand Autoscaling with the current RCU and WCU will not make sense since it is defined for peak loads

titi_r

"C" is correct, because the question states a " You can use auto scaling to adjust your table’s provisioned capacity automatically in response to traffic changes. Provisioned mode is a good option if any of the following are true: - You have PREDICTABLE application traffic. On-demand mode is a good option if any of the following are true: - You have unpredictable application traffic. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand

career360guruOption: C

Question itself is bit unclear as it does not state difference in load for peak vs non-peak. Choice of most cost-effective depends on this between Reserved vs on-demands vs autoscaling. Overall autoscaling looks safest option.

Arnaud92Option: D

When it's predictable i go for reserved capacity that have up to 77% cost reduction. https://aws.amazon.com/dynamodb/reserved-capacity/. I'll go for D.

ayadmawla

You are right but if you reserve the capacity based on the peak requirement, you only use that capacity for 4 / 24 hours per day. Whilst if you provision to guarantee availability and auto-scale to that level you will save 20 hours of low usage. As @career360guru said, we will need more information as to what that balance of 72% savings on 4 hours would be when compared to provisioned+auto-scaled means for the savings on 20 hours (per day).

SkyZeroZxOption: C

C - Autoscaling. "In addition, you can leverage auto-scaling to adjust the table's capacity based on the application’s utilization, thereby enforcing cost optimization measures. It is a good fit for workloads with predictable traffic. " https://www.finout.io/blog/how-to-optimize-usage-and-reduce-dynamodb-pricing

SmileyCloudOption: C

C - Autoscaling. "In addition, you can leverage auto-scaling to adjust the table's capacity based on the application’s utilization, thereby enforcing cost optimization measures. It is a good fit for workloads with predictable traffic. " https://www.finout.io/blog/how-to-optimize-usage-and-reduce-dynamodb-pricing

michele_scarOption: B

If you know that the peak is in the 4hour you can use autoscaling. BUT, if you want to reduce operation IT, and if the peak goes higher in other moment, on-demand is the way

titi_r

"C" is correct, because the question states "a predictable module". You can use auto scaling to adjust your table’s provisioned capacity automatically in response to traffic changes. Provisioned mode is a good option if any of the following are true: - You have PREDICTABLE application traffic. On-demand mode is a good option if any of the following are true: - You have unpredictable application traffic. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand

NikkyDickyOption: C

its C for predictable scaling

shree2023Option: C

C is correct answer with predictable pattern auto scaling is good enough and not on demand

Don2021

C : https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html

gd1

C is correct A, B and D do not meet needs.

mark_232323Option: C

By implementing DynamoDB Auto Scaling, you can achieve the following benefits: Cost savings: During non-peak hours, the provisioned capacity will automatically scale down, reducing the cost of provisioned throughput. Consistent performance: During peak hours, the provisioned capacity will automatically scale up to handle the increased workload, ensuring consistent performance. Reduced operational overhead: Auto Scaling eliminates the need for manual capacity management, reducing the operational burden on the IT staff.

Russs99Option: C

C is the correct answer. On Demand is out since it is only fully used for 4 hours daily

kejamOption: C

Answer C: https://aws.amazon.com/blogs/database/amazon-dynamodb-auto-scaling-performance-and-cost-optimization-at-any-scale/

duriselvan

B ia ans https://dynobase.dev/dynamodb-on-demand-vs-provisioned-scaling/

psyx21Option: C

C is the correct Option