
Q61
Q61 How do you create a PersistentVolumeClaim using a YAML file?
kubectl apply -f
kubectl create pvc
kubectl set pvc
kubectl describe pvc
Q62
Q62 Which field in a PV spec specifies the storage backend type?
spec.storageClass
spec.backendType
spec.volumeMode
spec.persistentVolumeReclaimPolicy
Q63
Q63 How do you bind a PVC to a specific PV?
By matching labels
By using a selector
By referencing PV name
It happens automatically
Q64
Q64 A PVC is not bound to any PV. What might be the issue?
Mismatched labels
Cluster is down
Insufficient storage
PV is corrupted
Q65
Q65 A pod using a PersistentVolume is stuck in "ContainerCreating" state. What could be wrong?
Missing PVC
Node not ready
Pod labels missing
Incorrect pod spec
Q66
Q66 A pod cannot write to a PersistentVolume. What could resolve the issue?
Check access mode
Restart pod
Recreate PVC
Increase PV size
Q67
Q67 What is the main purpose of Kubernetes Volumes?
To manage pod lifecycle
To provide storage to containers
To scale pods
To monitor logs
Q68
Q68 How is a PersistentVolume different from a Volume?
PVs are temporary
PVs are for persistent storage
PVs are pod-specific
PVs are immutable
Q69
Q69 Which access mode allows multiple nodes to read and write to a volume?
ReadWriteOnce
ReadOnlyMany
ReadWriteMany
ReadOnlyOnce
Q70
Q70 What happens to a PersistentVolume after its associated PVC is deleted?
It is released
It is retained
It is deleted
It is reallocated
Q71
Q71 What is the default reclaim policy for dynamically provisioned PersistentVolumes?
Retain
Recycle
Delete
None
Q72
Q72 Which command lists all PersistentVolumes in the cluster?
kubectl get pv
kubectl get pvc
kubectl get volumes
kubectl list pv
Q73
Q73 How do you create a PersistentVolume using a YAML file?
kubectl apply -f
kubectl create volume
kubectl set pv
kubectl describe volume
Q74
Q74 How do you dynamically provision a PersistentVolumeClaim?
Specify a StorageClass
Specify a volume type
Set reclaim policy
Use volume labels
Q75
Q75 How do you bind a PersistentVolumeClaim to a specific volume using YAML?
Use volume labels
Set volumeName in PVC
Use accessModes
Set reclaim policy
Q76
Q76 A pod cannot access a volume mounted as ReadWriteOnce. What could be the issue?
Incorrect labels
Volume already in use
Pod is down
PVC is missing
Q77
Q77 A PersistentVolumeClaim is bound, but the pod cannot mount the volume. What could be wrong?
Incorrect access mode
Volume deleted
Pod spec incorrect
PVC is corrupted
Q78
Q78 A PersistentVolume remains in Released state. What can resolve this issue?
Delete and recreate PV
Recycle PV
Manually reclaim
Change access mode
Q79
Q79 What is the primary role of the Kubernetes scheduler?
To create pods
To delete nodes
To assign pods to nodes
To manage secrets
Q80
Q80 Which factors does the Kubernetes scheduler consider when assigning pods to nodes?
Node health
Resource requests
Affinity rules
All of the above
Q81
Q81 What is the purpose of taints and tolerations in Kubernetes scheduling?
To prevent pod eviction
To manage storage
To influence pod placement
To delete nodes
Q82
Q82 What happens if no suitable node is found for a pod during scheduling?
Pod is deleted
Pod remains unscheduled
Pod is rescheduled
Pod is terminated
Q83
Q83 How do node affinity rules affect pod scheduling?
Enforce specific node placement
Ignore resource constraints
Override taints
Evict pods
Q84
Q84 Which field in a pod spec is used to define nodeSelector for scheduling?
spec.selector
spec.nodeName
spec.nodeSelector
spec.schedulingPolicy
Q85
Q85 How do you define a taint on a node?
kubectl set taint
kubectl apply taint
kubectl taint node
kubectl label taint
Q86
Q86 How do you specify pod tolerations in a YAML file?
spec.tolerations
spec.affinity
spec.taints
spec.schedulingPolicy
Q87
Q87 A pod remains in Pending state due to scheduling issues. What might be the cause?
No suitable nodes
Pod crash
Node labels missing
Kubelet not ready
Q88
Q88 A node has a taint, but pods are being scheduled on it. What could be wrong?
Taint misconfigured
Pods lack tolerations
Taint expired
Node selector overridden
Q89
Q89 A pod is incorrectly scheduled on a node. What could resolve the issue?
Add a taint
Update node affinity
Recreate pod
Add resource limits
Q90
Q90 What is the purpose of Kubernetes monitoring?
To scale pods
To ensure cluster health
To deploy applications
To manage PVCs