
Q91
Q91 Which component is commonly used for Kubernetes monitoring?
Prometheus
etcd
Kube-scheduler
Kube-proxy
Q92
Q92 What is the role of Fluentd in Kubernetes logging?
Collecting logs
Managing secrets
Scaling nodes
Assigning pods
Q93
Q93 What format are Kubernetes logs typically stored in?
JSON
XML
Plain text
YAML
Q94
Q94 How does Kubernetes ensure log rotation?
By default
By using log drivers
By using Fluentd
Manually configured
Q95
Q95 Which command retrieves logs from a specific pod?
kubectl get logs
kubectl logs
kubectl describe logs
kubectl retrieve logs
Q96
Q96 How do you stream live logs from a pod?
kubectl logs --tail
kubectl logs -f
kubectl get logs
kubectl follow logs
Q97
Q97 How do you specify the number of lines to retrieve from pod logs?
--limit
--tail
--lines
--fetch
Q98
Q98 A pod's logs are not visible using the 'kubectl logs' command. What might be the issue?
Log rotation
Pod not running
Container crashed
Missing permissions
Q99
Q99 Logs are missing from the monitoring dashboard. What could resolve this?
Check Fluentd config
Recreate pod
Restart cluster
Delete PVC
Q100
Q100 Metrics from a node are not visible. What could be the cause?
Node not labeled
Missing metrics-server
Taints on the node
Log rotation enabled
Q101
Q101 What is the purpose of Role-Based Access Control (RBAC) in Kubernetes?
To manage network policies
To assign permissions
To encrypt secrets
To schedule pods
Q102
Q102 How can you limit pod privileges in Kubernetes?
By using RBAC
By creating network policies
By using a PodSecurityPolicy
By setting node taints
Q103
Q103 What is the purpose of network policies in Kubernetes?
To monitor nodes
To control pod-to-pod communication
To enforce access control
To log traffic
Q104
Q104 How does Kubernetes ensure that Secrets are not exposed in plain text?
By using encryption
By using etcd
By using Base64 encoding
By using labels
Q105
Q105 Which Kubernetes component is responsible for certificate management?
Kube-apiserver
Kube-controller-manager
Kube-scheduler
Kube-proxy
Q106
Q106 How do you create a Kubernetes Secret using the CLI?
kubectl set secret
kubectl create secret
kubectl apply secret
kubectl generate secret
Q107
Q107 How do you enable RBAC in a Kubernetes cluster?
Add a role
Modify kube-apiserver
Add a RoleBinding
Set a cluster role
Q108
Q108 How do you restrict a pod from running as root?
Use PodSecurityPolicy
Set node taints
Apply network policy
Use role bindings
Q109
Q109 A pod fails to access a Kubernetes Secret. What could be the issue?
Missing Secret
Cluster down
Pod labels missing
Incorrect RBAC role
Q110
Q110 A pod's network traffic is not following the network policy rules. What might be wrong?
Missing labels
Incorrect taints
Network plugin issue
Log rotation enabled
Q111
Q111 What is Kubernetes Helm?
A container runtime
A deployment tool
A package manager
A logging tool
Q112
Q112 What is a Helm chart in Kubernetes?
A deployment object
A configuration template
A network policy
A PersistentVolume
Q113
Q113 How does Helm handle versioning of applications?
By using tags
By using values.yaml
By using chart.yaml
By using labels
Q114
Q114 What is the purpose of the values.yaml file in a Helm chart?
To store templates
To define chart metadata
To store configuration values
To deploy services
Q115
Q115 What command upgrades an already installed Helm release?
helm install
helm upgrade
helm apply
helm deploy
Q116
Q116 How do you install a Helm chart from a repository?
helm init
helm repo add
helm install
helm fetch
Q117
Q117 How do you rollback a Helm release to a previous version?
helm rollback
helm downgrade
helm reset
helm revert
Q118
Q118 How do you list all Helm releases in a Kubernetes cluster?
helm list
helm show
helm get releases
helm describe releases
Q119
Q119 A Helm release fails to deploy due to missing dependencies. What could resolve this?
Use helm init
Use helm dependency update
Recreate the release
Restart Tiller
Q120
Q120 A Helm release is in a failed state. What is the best way to debug this?
Check values.yaml
Check Helm logs
Rollback release
Restart deployment