exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 156 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 156
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

Your company runs applications in Google Kubernetes Engine (GKE). Several applications rely on ephemeral volumes. You noticed some applications were unstable due to the DiskPressure node condition on the worker nodes. You need to identify which Pods are causing the issue, but you do not have execute access to workloads and nodes. What should you do?

  • A. Check the node/ephemeral_storage/used_bytes metric by using Metrics Explorer.
  • B. Check the container/ephemeral_storage/used_bytes metric by using Metrics Explorer.
  • C. Locate all the Pods with emptyDir volumes. Use the df -h command to measure volume disk usage.
  • D. Locate all the Pods with emptyDir volumes. Use the df -sh * command to measure volume disk usage.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dija123
5 months, 2 weeks ago
Selected Answer: B
The container/ephemeral_storage/used_bytes metric seems correct.
upvoted 1 times
...
alpha_canary
8 months, 2 weeks ago
Selected Answer: B
https://cloud.google.com/monitoring/api/metrics_kubernetes#:~:text=container/ephemeral_storage/used_bytes The container/ephemeral_storage/used_bytes metric can help you identify which pods are consuming ephemeral storage and potentially causing the DiskPressure condition. why not A? The node/ephemeral_storage/used_bytes metric would show the total ephemeral storage used on a node, but it wouldn't help you identify which pods are consuming the storage.
upvoted 2 times
...
xhilmi
10 months, 3 weeks ago
Selected Answer: B
To identify which Pods are causing the DiskPressure node condition due to ephemeral volumes, you should check the container/ephemeral_storage/used_bytes metric using Metrics Explorer. Therefore, the correct answer is B. This metric provides information about the ephemeral storage usage of containers within Pods. By examining this metric, you can identify the specific Pods that are contributing to the DiskPressure condition on the worker nodes. Metrics Explorer allows you to visualize and analyze metrics data, making it a suitable tool for investigating resource usage and identifying potential issues in a GKE environment.
upvoted 2 times
...
nqthien041292
11 months ago
Selected Answer: B
Vote B
upvoted 1 times
...
mshafa
11 months, 3 weeks ago
Selected Answer: B
This approach provides the necessary detail to identify which Pods are causing the DiskPressure condition without the need for direct access to the nodes or the ability to execute commands on them. Metrics Explorer in Google Cloud's operations suite (formerly Stackdriver) allows you to query and visualize metrics from your GKE environment, making it a powerful tool for this kind of diagnostic task.
upvoted 2 times
...
YushiSato
11 months, 3 weeks ago
Selected Answer: B
I think the answer is B. You need to use container/ephemeral_storage/used_bytes because you need to identify the pod that is causing the problem. pod/ephemeral_storage/used_bytes also exists, but it is still in beta. https://cloud.google.com/monitoring/api/metrics_kubernetes
upvoted 3 times
...
macqly
11 months, 4 weeks ago
Why not B?
upvoted 1 times
...
khoukha
1 year ago
A: node/ephemeral_storage/used_bytes GA Ephemeral storage usage GAUGE, INT64, By k8s_node Local ephemeral storage bytes used by the node. Sampled every 60 seconds.
upvoted 1 times
lelele2023
12 months ago
why not B though?
upvoted 1 times
...
...
koo_kai
1 year ago
Selected Answer: A
https://cloud.google.com/monitoring/api/metrics_kubernetes
upvoted 1 times
lelele2023
12 months ago
why not B though?
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago