Erhalten Sie den wichtigen Vorbereitungsleitfaden mit CKA Dumps [Q39-Q63]

Erhalten Sie den wichtigen Vorbereitungsleitfaden mit CKA Dumps [Q39-Q63]

Januar 16, 2024 CKA > Linux-Stiftung 0
Diesen Beitrag bewerten

Get The Important Preparation Guide With CKA Dumps

Get Totally Free Updates on CKA Dumps PDF Questions

FRAGE 39
Create a nginx pod that will be deployed to node with the label
“gpu=true”

 
 

FRAGE 40
Score: 7%

Aufgabe
Reconfigure the existing deployment front-end and add a port specification named http exposing port 80/tcp of the existing container nginx.
Create a new service named front-end-svc exposing the container port http.
Configure the new service to also expose the individual Pods via a NodePort on the nodes on which they are scheduled.

FRAGE 41
Create an nginx pod with container Port 80 and it should only receive traffic only it checks the endpoint / on port 80 and verify and delete the pod.

 
 

FRAGE 42
Create a PersistentVolumeClaim of at least 3Gi storage and access mode ReadWriteOnce and verify status is Bound

 
 

FRAGE 43
List “nginx-dev” and “nginx-prod” pod and delete those pods

FRAGE 44
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

FRAGE 45
List all persistent volumes sorted by capacity, saving the full kubectl output to
/opt/KUCC00102/volume_list. Use kubectl ‘s own functionality for sorting the output, and do not manipulate it any further.

FRAGE 46
Create a pod that echo “hello world” and then exists. Have the pod deleted automatically when it’s completed

FRAGE 47
Create a pod that echo “hello world” and then exists. Have the pod deleted automatically when it’s completed

FRAGE 48
List all persistent volumes sorted by capacity, saving the full kubectl output to /opt/KUCC00102/volume_list. Use kubectl ‘s own functionality for sorting the output, and do not manipulate it any further.

FRAGE 49
Get the list of pods of webapp deployment

 
 

FRAGE 50
Score: 4%

Aufgabe
Create a persistent volume with name app-data , of capacity 1Gi and access mode ReadOnlyMany. The type of volume is hostPath and its location is /srv/app-data .

FRAGE 51
List all service account and create a service account called “admin”

 
 

FRAGE 52
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.

FRAGE 53
Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.

FRAGE 54
Create a pod with environment variables as var1=value1.Check the environment variable in pod

 
 

FRAGE 55
Create a pod with environment variables as var1=value1.Check the environment variable in pod

FRAGE 56
Task Weight: 4%

Aufgabe
Schedule a Pod as follows:
* Name: kucc1
* App Containers: 2
* Container Name/Images:
o nginx
o consul

FRAGE 57
Check the history of deployment

FRAGE 58
Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.

FRAGE 59
Get IP address of the pod – “nginx-dev”

FRAGE 60
Check to see how many worker nodes are ready (not including nodes tainted NoSchedule) and write the number to /opt/KUCC00104/kucc00104.txt.

FRAGE 61
Create a Kubernetes secret as follows:
Name: super-secret
password: bob
Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super-secret at /secrets.
Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as CONFIDENTIAL

FRAGE 62
List all the pods showing name and namespace with a json path expression

FRAGE 63
Create the nginx pod with version 1.17.4 and expose it on port 80


Prepare With Top Rated High-quality CKA Dumps For Success in Exam: https://www.examboosts.com/Linux-Foundation/CKA-practice-exam-dumps.html

         

Related Links: www.stes.tyc.edu.tw myportal.utt.edu.tt www.stes.tyc.edu.tw myportal.utt.edu.tt myportal.utt.edu.tt www.stes.tyc.edu.tw

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Geben Sie den Text aus dem Bild unten ein