120 likes | 159 Views
Passcert CKA Certified Kubernetes Administrator Dumps give you detailed and logical coverage of exam objectives,you can pass your exam with ease and confidence.
E N D
CKA Dumps CKA Dumps Certified Kubernetes Administrator Certified Kubernetes Administrator https://www.passcert.com/ https://www.passcert.com/CKA CKA.html .html
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 1 Create a namespace called 'development' and a pod with image nginx called nginx on this Create a namespace called 'development' and a pod with image nginx called nginx on this namespace. namespace. A. Solution: A. Solution: kubectl create namespace development kubectl create namespace development kubectl run nginx --image=nginx --restart=Never -n development kubectl run nginx --image=nginx --restart=Never -n development Answer: A Answer: A 2
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 2 Get list of all pods in all namespaces and write it to file "/opt/pods-list.yaml" Get list of all pods in all namespaces and write it to file "/opt/pods-list.yaml" A. Solution: A. Solution: kubectl get po -all-namespaces > /opt/pods-list.yaml kubectl get po -all-namespaces > /opt/pods-list.yaml Answer: A Answer: A 3
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 3 Create a pod with image nginx called nginx and allow traffic on port 80 Create a pod with image nginx called nginx and allow traffic on port 80 A. Solution: A. Solution: kubectl run nginx --image=nginx --restart=Never --port=80 kubectl run nginx --image=nginx --restart=Never --port=80 Answer: A Answer: A 4
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 4 Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed completed A. Solution: A. Solution: kubectl run busybox --image=busybox -it --rm --restart=Never -- /bin/sh -c 'echo hello world' kubectl run busybox --image=busybox -it --rm --restart=Never -- /bin/sh -c 'echo hello world' kubectl get po # You shouldn't see pod with the name "busybox" kubectl get po # You shouldn't see pod with the name "busybox" Answer: A Answer: A 5
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 5 Create a pod with environment variables as var1=value1.Check the environment Create a pod with environment variables as var1=value1.Check the environment variable in pod variable in pod A. Solution: A. Solution: kubectl run nginx --image=nginx --restart=Never --env=var1=value1 # then kubectl run nginx --image=nginx --restart=Never --env=var1=value1 # then kubectl exec -it nginx -- env kubectl exec -it nginx -- env # or # or kubectl exec -it nginx -- sh -c 'echo $var1' kubectl exec -it nginx -- sh -c 'echo $var1' # or # or kubectl describe po nginx | grep value1 kubectl describe po nginx | grep value1 Answer: A Answer: A 6
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 6 Check the image version in pod without the describe command Check the image version in pod without the describe command A. Solution: A. Solution: kubectl get po nginx -o kubectl get po nginx -o jsonpath='{.spec.containers[].image}{"\n"}' jsonpath='{.spec.containers[].image}{"\n"}' Answer: A Answer: A 7
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 7 List the nginx pod with custom columns POD_NAME and POD_STATUS List the nginx pod with custom columns POD_NAME and POD_STATUS A. Solution: A. Solution: kubectl get po -o=custom-columns="POD_NAME:.metadata.name, kubectl get po -o=custom-columns="POD_NAME:.metadata.name, POD_STATUS:.status.containerStatuses[].state" POD_STATUS:.status.containerStatuses[].state" Answer: A Answer: A 8
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 8 Get IP address of the pod - "nginx-dev" Get IP address of the pod - "nginx-dev" A. Solution: A. Solution: Kubect1 get po -o wide Kubect1 get po -o wide Using JsonPath Using JsonPath kubect1 get pods -o=jsonpath='{range kubect1 get pods -o=jsonpath='{range .items[ .items[* *]}{.metadata.name}{"\t"}{.status.podIP}{"\n"}{end}' ]}{.metadata.name}{"\t"}{.status.podIP}{"\n"}{end}' Answer: A Answer: A 9
Download Passcert valid CKA exam dumps to pass your CKA exam successfully Question 9 Create an nginx pod and list the pod with different levels of verbosity Create an nginx pod and list the pod with different levels of verbosity A. Solution: A. Solution: // create a pod // create a pod kubectl run nginx --image=nginx --restart=Never --port=80 // List the pod with kubectl run nginx --image=nginx --restart=Never --port=80 // List the pod with different verbosity different verbosity kubectl get po nginx --v=7 kubectl get po nginx --v=7 kubectl get po nginx --v=8 kubectl get po nginx --v=8 kubectl get po nginx --v=9 kubectl get po nginx --v=9 Answer: A Answer: A 10
What To Get? What To Get? ü 100% Real Exam Questions 100% Real Exam Questions ü One Year Free Update One Year Free Update ü Money Back Guarantee Money Back Guarantee ü Free Software Free Software ü Free Demo Download Free Demo Download 11