nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #166

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…

The correct answer is B. Check the container/ephemeral_storage/used_bytes metric by using Metrics Explorer. Without exec access to workloads or nodes, you cannot run shell commands like df, eliminating options C and D. The container/ephemeral_storage/used_bytes metric available in Cloud Monitoring (Metrics Explorer) reports ephemeral storage consumption broken down at the container…

Submitted by weili_xi· Apr 18, 2026Implementing service monitoring strategies

Question

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?

Options

  • ACheck the node/ephemeral_storage/used_bytes metric by using Metrics Explorer.
  • BCheck the container/ephemeral_storage/used_bytes metric by using Metrics Explorer.
  • CLocate all the Pods with emptyDir volumes. Use the df -h command to measure volume disk
  • DLocate all the Pods with emptyDir volumes. Use the df -sh * command to measure volume disk

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    77% (30)
  • C
    15% (6)
  • D
    5% (2)

Explanation

Without exec access to workloads or nodes, you cannot run shell commands like df, eliminating options C and D. The container/ephemeral_storage/used_bytes metric available in Cloud Monitoring (Metrics Explorer) reports ephemeral storage consumption broken down at the container and Pod level, allowing you to pinpoint which specific Pods are consuming the most ephemeral storage and causing the DiskPressure condition. Option A (node/ephemeral_storage/used_bytes) only shows aggregate node-level usage and cannot identify individual offending Pods.

Topics

#GKE#Ephemeral Storage#Monitoring#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice