New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Linux Foundation CKA Certified Kubernetes Administrator (CKA) Program Exam Practice Test

Demo: 10 questions
Total 67 questions

Certified Kubernetes Administrator (CKA) Program Questions and Answers

Question 1

Get list of all pods in all namespaces and write it to file “/opt/pods-list.yaml”

Options:

Question 2

Given a partially-functioning Kubernetes cluster, identify symptoms of failure on the cluster.

Determine the node, the failing service, and take actions to bring up the failed service and restore the health of the cluster. Ensure that any changes are made permanently.

You can ssh to the relevant I nodes (bk8s-master-0 or bk8s-node-0) using:

[student@node-1] $ ssh <nodename>

You can assume elevated privileges on any node in the cluster with the following command:

[student@nodename] $ | sudo –i

Options:

Question 3

Create a nginx pod with label env=test in engineering namespace

Options:

Question 4

Score: 7%

Task

First, create a snapshot of the existing etcd instance running at https://127.0.0.1:2379 , saving the snapshot to /srv/data/etcd-snapshot.db.

Next, restore an existing, previous snapshot located at /var/lib/backup/etcd-snapshot-previo us.db

Options:

Question 5

Create an nginx pod and list the pod with different levels of verbosity

Options:

Question 6

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

Options:

Question 7

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

Options:

Question 8

Score: 4%

Task

Scale the deployment presentation to 6 pods.

Options:

Question 9

List all the pods sorted by name

Options:

Question 10

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

Options:

Demo: 10 questions
Total 67 questions