Rate this post

Get 100% Authentic Linux Foundation CKA Dumps with Correct Answers

New Training Course CKA Tutorial Preparation Guide

QUESTION 30
Create a pod with init container which create a file “test.txt”
in “workdir” directory. Main container should check a file
“test.txt” exists and execute sleep 9999 if the file exists.

 
 

QUESTION 31
Your organization uses a private DNS server for internal services and requires all Kubernetes pods to resolve names against this DNS server. You need to configure CoreDNS to forward all DNS requests to this private server.

QUESTION 32
List all the events sorted by timestamp and put them into file.log and verify

 
 
 

QUESTION 33
You are running a stateful application using a StatefulSet. How do you ensure that the application data is preserved during a rolling update?

QUESTION 34
Create a pod as follows:
Name: non-persistent-redis
container Image: redis
Volume with name: cache-control
Mount path: /data/redis
The pod should launch in the staging namespace and the volume must not be persistent.

QUESTION 35
Score: 7%

Task
Create a new nginx Ingress resource as follows:
* Name: ping
* Namespace: ing-internal
* Exposing service hi on path /hi using service port 5678

QUESTION 36
You have a pod that uses a PersistentVolumeClaim for its storage. The pod is deleted, but the data on the volume is still present. Explain why the data is not deleted and how you can change this behavior.

QUESTION 37
Create a deployment as follows:
* Name: nginx-app
* Using container nginx with version 1.11.10-alpine
* The deployment should contain 3 replicas
Next, deploy the application with new version 1.11.13-alpine, by performing a rolling update.
Finally, rollback that update to the previous version 1.11.10-alpine.

QUESTION 38
You have a Deployment named ‘web-app’ running 3 replicas of a web server. You need to define a PodDisruptionBudget (PDB) that ensures at least 2 replicas of the ‘web-app’ are always available during a planned or unplanned disruption. Write the YAML definition for the PDB and explain how it helps to ensure availability.

QUESTION 39
An administrator accidentally closed the commit window/screen before the commit was finished. Which two options could the administrator use to verify the progress or success of that commit task? (Choose two)

 
 
 
 

QUESTION 40
Create a pod as follows:
Name: mongo
Using Image: mongo
In a new Kubernetes namespace named: my-website

QUESTION 41
Get list of PVs and order by size and write to file – /opt/pvlist.txt

QUESTION 42
An Administrator is configuring Authentication Enforcement and they would like to create an exemption rule to exempt a specific group from authentication. Which authentication enforcement object should they select?

 
 
 
 

QUESTION 43
You need to set up a load balancer for your Nginx service with the following requirements:
– Session affinity: Preserve client sessions across multiple pods, even if the pod is restarted or rescheduled.
– Health checks: Regularly check the health of Nginx pods and automatically remove unhealthy pods from the load balancer pool.
– Custom header: Add a custom header with the name “X-App-Version” and value “vl .0” to all requests to your Nginx service. How would you configure your Kubernetes resources to meet these requirements?

QUESTION 44
Get the pods with label env=dev and output the labels

QUESTION 45
Create a pod with image nginx called nginx and allow traffic on port 80

QUESTION 46
You have two Kubernetes clusters, ‘cluster 1’ and ‘cluster2, and you need to establish a connection between the two clusters using a NetworkPolicy. You want to allow all traffic from pods in ‘cluster 1’ to pods in ‘cluster? , and you need to implement this using an Ingress rule. What steps are required to configure this connection?

QUESTION 47
Create a deployment called webapp with image nginx having 5 replicas in it, put the file in /tmp directory with named webapp.yaml

 
 

QUESTION 48
You have a Deployment named running three replicas of a WordPress container. The WordPress application is experiencing intermittent errors, and you need to investigate the cause. You suspect that the errors might be related to issues with the logs generated by the WordPress container. How can you efficiently capture and analyze the ‘stdout’ and ‘stderr’ logs from all three pods in the ‘wordpress-deployment’ to pinpoint the root cause of the errors?

QUESTION 49
Print all pod name and all image name and write it to a file
name “/opt/pod-details.txt”

QUESTION 50
Create a busybox pod and add “sleep 3600” command


The CKA certification is recognized globally and is highly valued by organizations that use Kubernetes in their production environments. Certified Kubernetes Administrator (CKA) Program Exam certification provides IT professionals with a competitive edge in the job market and opens up new career opportunities. The Linux Foundation offers comprehensive training and preparation materials to help candidates prepare for the CKA certification exam. The training includes hands-on labs, online courses, and study materials that cover all the topics and skills required for the exam.

 

Dumps of CKA Cover all the requirements of the Real Exam: https://www.2pass4sure.com/Kubernetes-Administrator/CKA-actual-exam-braindumps.html

         

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt