CKA Exam Question 36
You are tasked with configuring RBAC for a Kubernetes cluster hosting a microservices application.
The application consists of three services:
- 'frontend' which only needs to access the 'nginx-ingress-controller' deployment to configure Ingress resources.
- 'backend' which needs read-only access to the 'postgres' service for database queries.
- 'worker' which needs to create, update, and delete pods in the 'worker-namespace' namespace and access the 'redis' service.
The application consists of three services:
- 'frontend' which only needs to access the 'nginx-ingress-controller' deployment to configure Ingress resources.
- 'backend' which needs read-only access to the 'postgres' service for database queries.
- 'worker' which needs to create, update, and delete pods in the 'worker-namespace' namespace and access the 'redis' service.
CKA Exam Question 37
You are running a critical application on Kubernetes that requires high availability. To ensure the application stays operational even if one or more nodes experience failures, you decide to implement a pod anti-affinity rule. Explain how you can configure an anti-affinity rule to prevent pods from being scheduled on the same node.
CKA Exam Question 38
A Service named my-service' is exposed on port 80 of your Kubernetes cluster. You need to access the service from a specific node in the cluster using its internal IP address. How can you find the internal IP address of the node running a pod associated with 'my-service'?
CKA Exam Question 39
You have a Kubernetes cluster with a deployment named 'nginx-deployment' in the 'default' namespace. This deployment uses a container image 'nginx:latest'.
You want to define an admission webhook that enforces a policy to prevent deployments from using 'nginx:latest' and instead forces the use of a specific versioned image like 'nginx:l .20.1'. Create the webhook configuration and admission controller code that implements this policy.
You want to define an admission webhook that enforces a policy to prevent deployments from using 'nginx:latest' and instead forces the use of a specific versioned image like 'nginx:l .20.1'. Create the webhook configuration and admission controller code that implements this policy.
CKA Exam Question 40
You have a deployment named 'web-app' with three replicas, exposing the application using a 'LoadBalancer' service. The application uses an internal database service named 'db-service' that is running as a 'ClusterlP' service. You need to configure the 'web-app' deployment to only allow traffic from the service' to its internal port (e.g., 5432).
Premium Bundle
Newest CKA Exam PDF Dumps shared by Actual4test.com for Helping Passing CKA Exam! Actual4test.com now offer the updated CKA exam dumps, the Actual4test.com CKA exam questions have been updated and answers have been corrected get the latest Actual4test.com CKA pdf dumps with Exam Engine here:
(85 Q&As Dumps, 30%OFF Special Discount: Freepdfdumps)







