Practice Test 2 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
One of your team member was conducting an experiment with Kubernetes nodes. He tainted two of six nodes before leaving for the day. Which command will you use to get the list of nodes along with tainted nodes?
A. kubectl get nodes
B. kubectl get nodes –include-tainted
C. kubectl list nodes –all
D. kubectl list nodes –include-tainted
Explanation:
Answer A
The correct command to get the list of nodes including tainted ones is kubectl get nodes. Hence, option A is correct.
Option B, C and D are incorrect because they are invalid commands to allow remote access.
Link:
https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/
Comments are closed, but trackbacks and pingbacks are open.