Topic 1 Question 199
You have a Compute Engine application that you want to autoscale when total memory usage exceeds 80%. You have installed the Cloud Monitoring agent and configured the autoscaling policy as follows:
You observe that the application does not scale under high load. You want to resolve this. What should you do?
Change the Target type to DELTA_PER_MINUTE.
Change the Metric identifier to agent.googleapis.com/memory/bytes_used.
Change the filter to metric.label.state = ‘used’.
Change the filter to metric.label.state = ‘free’ and the Target utilization to 20.
ユーザの投票
コメント(4)
C. Change the filter to metric.label.state = ‘used’. The current filter is set up with multiple AND conditions, which means it's looking for a metric that simultaneously has all these states: 'used', 'buffered', 'cached', and 'slab'. This is logically impossible, as a memory location can't be in multiple states at once. Therefore, the filter will never match any metrics, and the autoscaling policy won't trigger.
👍 9JamesKarianis2024/08/27- 正解だと思う選択肢: C
as it is clearly indicated in the public documentation https://cloud.google.com/compute/docs/autoscaler/scaling-cloud-monitoring-metrics#gcloud_5 you have change the filter to metric.label.state="used"
👍 9tangac2024/08/28 I am confused since this question comes in contrast with the answer in question 190. Anyone knows what is the real answer? I would expected used+buffered+cached+slab Which means the sum of all these.
👍 9Nick89GR2024/10/28
シャッフルモード