PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #190
You receive a Cloud Monitoring alert indicating potential malicious activity on a node in your Google Kubernetes Engine (GKE) cluster. The alert suggests a possible compromised container running on…
The correct answer is D. Cordon the node to prevent new Pods from being scheduled, the drain the node to safely remove. Cordon prevents new workloads from being scheduled on the node, ensuring that no new containers start on the potentially compromised node. Draining safely removes existing workloads while allowing them to be rescheduled on healthy nodes, minimizing disruption. This method helps…
Question
Options
- ATaint the suspicious node to prevent Pods that have interacted with it from being scheduled on
- BScale down the deployment associated with the compromised container to zero other nodes
- CRestart the node to disrupt the malicious activity, and force all Pods to be restructured on other
- DCordon the node to prevent new Pods from being scheduled, the drain the node to safely remove
How the community answered
(25 responses)- A4% (1)
- B12% (3)
- C4% (1)
- D80% (20)
Explanation
Cordon prevents new workloads from being scheduled on the node, ensuring that no new containers start on the potentially compromised node. Draining safely removes existing workloads while allowing them to be rescheduled on healthy nodes, minimizing disruption. This method helps isolate the node while maintaining cluster stability and availability.
Topics
Community Discussion
No community discussion yet for this question.