11.) What is the purpose of the kubectl top command?
A) View current resource usage (CPU, memory)
B) View top-performing containers
C) View top logs
D) View sorted pod logs
12.) Which plugin needs to be installed to use kubectl top?
A) coredns
B) metrics-server
C) Prometheus
D) helm
13.) What command shows the current state of the nodes?
A) kubectl get node-state
B) kubectl status nodes
C) kubectl get nodes
D) kubectl describe nodes
14.) How do you check if a pod has restarted due to a crash?
A) kubectl describe pod → look for Restart Count
B) kubectl logs –check
C) kubectl crash-pod
D) kubectl top pod
15.) What is the command to get logs from a specific container in a pod?
A) kubectl logs <container-name>
B) kubectl show logs <pod> <container-name>
C) kubectl get logs -c <container-name>
D) option4 <pod-name> -c <container-name>
16.) What is the main purpose of cAdvisor in Kubernetes?
A) Log aggregation
B) Metrics collection for containers
C) Deploying applications
D) Managing Secrets
17.) Which component can be used to set up alerts in Kubernetes monitoring?
A) Fluentd
B) Etcd
C) Grafana
D) Alertmanager
18.) What type of metrics does Prometheus primarily collect?
A) Logs
B) Time-series metrics
C) Audit logs
D) Network packets
19.) What does the kubelet expose for debugging purposes?
A) Metrics and logs
B) Dashboards
C) API tokens
D) Prometheus exporters
20.) What is the default location for container logs on the node?
A) /logs
B) /etc/container/logs
C) /var/log/containers
D) /home/kubernetes/logs
Related