
Answer-first summary for fast verification
Answer: Set the metric kind to gauge
The correct answer is to set the metric kind to gauge because it measures the value at a specific instant in time, which is ideal for monitoring memory utilization. Other options are incorrect because: cumulative is used for values that constantly increase over time and isn't suitable for memory utilization; delta measures the change since the last recording; and there is no metric kind called distribution. Reference: Metric kind and manual creation of metric descriptors.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is responsible for monitoring a new application deployed on Managed Instance Groups, including setting up the monitoring agent and custom metrics. You've decided to manually create the metric descriptor for monitoring the application's memory utilization and setting up an alerting policy. What should the Metric Kind be set to in the descriptor?
A
Set the metric kind to cumulative
B
Set the metric kind to delta
C
Set the metric kind to distribution
D
Set the metric kind to gauge
No comments yet.