CKA Exam Question 1
You have a deployment named 'redis-deployment' running a Redis server with 3 replicas. You need to configure a service with the 'NodePort' type to expose Redis on all nodes in the cluster, but restrict access only from specific pods within a namespace.
CKA Exam Question 2
You have a Deployment named 'my-app-deployment' running a complex microservice application with several pods. You suspect that some pods are experiencing high CPU utilization, causing performance issues. How would you monitor and troubleshoot the CPU usage of individual pods within this deployment?
CKA Exam Question 3
You are managing a Kubernetes cluster for a company with multiple teams working on different projects. You want to implement RBAC to ensure each team has access only to the resources they need.
CKA Exam Question 4
You have a Deployment running a complex application that requires significant resource allocation. How can you optimize the Deployment to use resources efficiently and avoid resource contention with other deployments?
CKA Exam Question 5
You have a deployment that runs multiple replicas of a web server application. You need to ensure that the Deployment always maintains at least 2 replicas available, even if one or more pods are deleted or become unavailable. How can you configure the Deployment to achieve this using the 'maxUnavailable' field in the 'strategy.rollingUpdate' section?