QuestionQ5
Ensuring solution and operations excellenceYou have a Compute Engine application that should autoscale when total memory utilization exceeds 80%. You installed the Cloud Monitoring agent and configured the autoscaling policy as follows:
- Metric identifier:
agent.googleapis.com/memory/percent_used - Filter:
metric.label.state = 'used' - Target utilization level:
80 - Target type:
GAUGE
The application does not scale during high load. You want to fix this. What should you do?
- A Change the Target type to DELTA_PER_MINUTE.
- B Change the Metric identifier to agent.googleapis.com/memory/bytes_used.
- C Change the filter to metric.label.state = 'used' AND metric.label.state = 'buffered' AND metric.label.state = 'cached' AND metric.label.state = 'slab'.
- D Change the filter to metric.label.state = 'free' and the Target utilization to 20.
Community Discussion