CKA Exam Question 46
You have a deployment named 'web-app' running 3 replicas of a Node.js application. During an update, you observe that two pods are stuck in a 'CrashLoopBackOff state. The logs indicate that the pods are failing to connect to a Redis database. How do you debug this issue and identify the root cause of the pod failures?
CKA Exam Question 47
You need to expose a service with multiple endpoints, each serving a specific path, using a single Ingress resource. Each endpoint is running on a different port, and you want to configure SSL termination for the entire Ingress. How would you achieve this?
CKA Exam Question 48
You are running a Kubernetes cluster with a NodePort service exposing a web application on port 80. You want to access the web application from a client machine outside the cluster. However, the client machine is behind a NAT gateway and you cannot directly configure firewall rules on the gateway. How can you configure the Kubernetes cluster to allow the client machine to access the web application?
CKA Exam Question 49
You have two Kubernetes deployments running in different namespaces, 'namespace-A' and 'namespace-B'. You need to allow communication from pods in 'namespace-A' to a specific pod in namespace-B'. How can you achieve this using NetworkPolicies?
CKA Exam Question 50
Your team has deployed a containerized application on Kubernetes. You have configured a deployment with a replica count of 3 pods. The application uses a resource-intensive process that consumes a significant amount of CPU resources. You are experiencing performance issues and suspect that the pods are competing for resources. Explain how you can use resource quotas and limits to address this problem.






