Final answer:
C. Sum is the correct statistic to use on CloudWatch when graphing the number of web requests in a 24-hour period as it calculates the total count of a specified event (in this case 'web requests') over a given time period.
Step-by-step explanation:
To graph the number of web requests in a 24-hour period on CloudWatch, the appropriate statistic would be C. Sum. This is because the 'Sum' metric in CloudWatch adds up the total count of a specified event during a given time period. In this case, the specific event would be 'web requests'.
The sum statistic will provide the total number of web requests made during the given time period. This will give you an accurate representation of the overall traffic for that 24-hour period. For example, if you had 100 web requests in the first hour, 200 in the second hour, and so on, the 'Sum' would calculate the total number of web requests made over that 24-hour period, making it the ideal metric for this particular use case. The other options, such as 'Maximum', 'Average', and 'Sample count' wouldn't provide you with the total number of web requests over a specified time period.
Learn more about CloudWatch statistics