1 / 12

Certified Kubernetes Administrator CKA Certification Dumps

Passcert new released Certified Kubernetes Administrator CKA Certification Dumps which contain real questions and answers to help you to pass the exam in the first attempt.

Download Presentation

Certified Kubernetes Administrator CKA Certification Dumps

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CKA Sample Test CKA Sample Test Certified Kubernetes Administrator Certified Kubernetes Administrator https://www.passcert.com/ https://www.passcert.com/CKA CKA.html .html

  2. Download Passcert latest CKA Sample Test to help you pass successfully Question 1 Create a namespace called 'development' and a pod with image nginx called nginx on this namespace. A. Solution: kubectl create namespace development kubectl run nginx --image=nginx --restart=Never -n development Answer: A 02 03 04

  3. Download Passcert latest CKA Sample Test to help you pass successfully Question 2 Get list of all pods in all namespaces and write it to file "/opt/pods-list.yaml" A. Solution: kubectl get po -all-namespaces > /opt/pods-list.yaml Answer: A 01 02 03 04

  4. Download Passcert latest CKA Sample Test to help you pass successfully Question 3 Create a pod with image nginx called nginx and allow traffic on port 80 A. Solution: kubectl run nginx --image=nginx --restart=Never --port=80 Answer: A 01 02 03 04

  5. Download Passcert latest CKA Sample Test to help you pass successfully Question 4 Create a busybox pod that runs the command "env" and save the output to "envpod" file A. Solution: kubectl run busybox --image=busybox --restart=Never --rm -it -- env > envpod.yaml Answer: A 01 02 03 04

  6. Download Passcert latest CKA Sample Test to help you pass successfully Question 5 List pod logs named "frontend" and search for the pattern "started" and write it to a file "/opt/error- logs" A. Solution: Kubectl logs frontend | grep -i "started" > /opt/error-logs Answer: A 01 02 03 04

  7. Download Passcert latest CKA Sample Test to help you pass successfully Question 6 Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed A. Solution: 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" Answer: A 01 02 03 04

  8. Download Passcert latest CKA Sample Test to help you pass successfully Question 7 01 Create a pod with environment variables as var1=value1.Check the environment variable in pod A. Solution: kubectl run nginx --image=nginx --restart=Never --env=var1=value1 # then kubectl exec -it nginx -- env # or kubectl exec -it nginx -- sh -c 'echo $var1' # or kubectl describe po nginx | grep value1 Answer: A 02 03 04

  9. Download Passcert latest CKA Sample Test to help you pass successfully Question 8 Check the image version in pod without the describe command A. Solution: kubectl get po nginx -o jsonpath='{.spec.containers[].image}{"\n"}' Answer: A 01 02 03 04

  10. Download Passcert latest CKA Sample Test to help you pass successfully Question 9 List the nginx pod with custom columns POD_NAME and POD_STATUS A. Solution: kubectl get po -o=custom-columns="POD_NAME:.metadata.name, POD_STATUS:.status.containerStatuses[].state" Answer: A 01 02 03 04

  11. Download Passcert latest CKA Sample Test to help you pass successfully Question 10 Check the Image version of nginx-dev pod using jsonpath A. Solution: kubect1 get po nginx-dev -o jsonpath='{.spec.containers[].image}{"\n"}' Answer: A 01 02 03 04

  12. Thank you More Information, you can visit Passcert.com

More Related