Pass Linux Foundation CKA Exam Info and Free Practice Test [Q39-Q56]

Rate this post

Pass Linux Foundation CKA Exam Info and Free Practice Test

New 2022 Latest Questions CKA Dumps – Use Updated Linux Foundation Exam

QUESTION 39
Score: 13%

Task
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.

QUESTION 40
Score: 4%

Context
You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.
Task
Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
* Deployment
* StatefulSet
* DaemonSet
Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.

QUESTION 41
Get the list of pods of webapp deployment

 
 

QUESTION 42
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 43
Undo/Rollback deployment to specific revision “1”

 
 

QUESTION 44
Create a pod namedkucc8with asingle app container for each of the
following images running inside(there may be between 1 and 4images specified):
nginx + redis + memcached.

QUESTION 45
Score: 5%

Task
Monitor the logs of pod bar and:
* Extract log lines corresponding to error
* Write them to /opt/KUTR00101/bar

QUESTION 46
Create a persistent volume with nameapp-data, of capacity2Giandaccess modeReadWriteMany. Thetype of volume ishostPathand itslocation is/srv/app-data.

QUESTION 47
Annotate the pod with name=webapp

 
 

QUESTION 48
Create a persistent volume with name app-data, of capacity 2Gi and access mode ReadWriteMany. The type of volume is hostPath and its location is /srv/app-data.

QUESTION 49
A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.
You can ssh to the failed node using:
[student@node-1] $ | ssh Wk8s-node-0
You can assume elevated privileges on the node with the following command:
[student@w8ks-node-0] $ | sudo -i

QUESTION 50
List the nginx pod with custom columns POD_NAME and POD_STATUS

QUESTION 51
Scale the deployment to 5 replicas

QUESTION 52
Score: 7%

Task
Given an existing Kubernetes cluster running version 1.20.0, upgrade all of the Kubernetes control plane and node components on the master node only to version 1.20.1.
Be sure to drain the master node before upgrading it and uncordon it after the upgrade.

You are also expected to upgrade kubelet and kubectl on the master node.

QUESTION 53
Create an nginx pod with containerPort 80 and with a PersistentVolumeClaim “task-pv-claim” and has a mouth path “/usr/share/nginx/html”

 
 

QUESTION 54
Clean the cluster by deleting deployment and hpa you just created

QUESTION 55
Create a deployment as follows:
Name: nginx-random
Exposed via a service nginx-random
Ensure that the service & pod are accessible via their respective DNS records The container(s) within any pod(s) running as a part of this deployment should use the nginx Image Next, use the utility nslookup to look up the DNS records of the service & pod and write the output to
/opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.

QUESTION 56
From the pod label name=cpu-utilizer, find pods running high CPU workloads and write the name of the pod consuming most CPU to the file /opt/KUTR00102/KUTR00102.txt (which already exists).


Latest CKA Exam Dumps Linux Foundation Exam: https://www.premiumvcedump.com/Linux-Foundation/valid-CKA-premium-vce-exam-dumps.html