Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 199 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 199
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • 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’.
  • D. Change the filter to metric.label.state = ‘free’ and the Target utilization to 20.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
JamesKarianis
Highly Voted 2 months, 4 weeks ago
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.
upvoted 6 times
...
Nick89GR
Most Recent 3 weeks, 5 days ago
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.
upvoted 3 times
...
tangac
2 months, 3 weeks ago
Selected Answer: 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"
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...