Certified Kubernetes Administrator (CKA) Quiz Questions and Answers

Answer :
  • Choosing cloud-agnostic storage solutions.

Explanation :

In a multi-cloud environment, using cloud-agnostic storage solutions ensures consistent data availability across different cloud platforms without dependency on a specific providers storage features.
Answer :
  • Scheduler

Explanation :

The Kubernetes Scheduler determines which nodes are viable for pod placement based on resource availability and scheduling policies, making the final decision on where a pod should run.---
Answer :
  • Secrets

Explanation :

Kubernetes Secrets are specifically designed to store sensitive information securely, such as passwords, OAuth tokens, and SSH keys, preventing them from being exposed in the environment.
Answer :
  • Cloud providers load balancer

Explanation :

For a LoadBalancer type service, the cloud provider provisions a load balancer that forwards external traffic to the NodePorts on the cluster nodes where the service is running.
Answer :
  • ReadWriteMany PersistentVolume

Explanation :

ReadWriteMany allows multiple nodes to read from and write to the volume, supporting the need for multiple pods in different nodes to access and update shared data consistently.
Answer :
  • PVCs reference storage classes for dynamic volume provisioning.

Explanation :

Persistent Volume Claims (PVCs) can reference storage classes to enable dynamic provisioning of Persistent Volumes based on specified storage infrastructure requirements.
Answer :
  • To verify cluster topology and member health

Explanation :

Reviewing the ETCD member list helps verify the current members, their status, and the health of each member, which is vital for troubleshooting database failures.---
Answer :
  • To allow for significant database schema changes

Explanation :

Recreate Deployment stops old instances before deploying new ones, which is suitable for deployments involving major alterations such as substantial database changes.
Answer :
  • PVs can be dynamically provisioned.

Explanation :

Persistent Volumes can be dynamically provisioned using storage classes, which allows for greater flexibility and scalability compared to static hostPath volumes.
Answer :
  • To persist data beyond the lifecycle of a pod

Explanation :

Persistent Volumes in Kubernetes are used to persist data even when the pod using it is deleted, ensuring data durability and independence from the pod lifecycle.