Linux Foundation Certified Kubernetes Administrator CKA Exam Practice Test

Page: 1 / 14
Total 83 questions
Question 1

Create a snapshot of the etcd instance running at https://127.0.0.1:2379, saving the snapshot to the file path /srv/data/etcd-snapshot.db.

The following TLS certificates/key are supplied for connecting to the server with etcdctl:

CA certificate: /opt/KUCM00302/ca.crt

Client certificate: /opt/KUCM00302/etcd-client.crt

Client key: Topt/KUCM00302/etcd-client.key



Answer : A


Question 2

Create a pod named kucc8 with a single app container for each of the following images running inside (there may be between 1 and 4 images specified):

nginx + redis + memcached.



Answer : A


Question 3

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



Answer : A


Question 4

Print pod name and start time to ''/opt/pod-status'' file



Answer : A


Question 5

Create a pod as follows:

Name: non-persistent-redis

container Image: redis

Volume with name: cache-control

Mount path: /data/redis

The pod should launch in the staging namespace and the volume must not be persistent.



Answer : A


Question 6

List the nginx pod with custom columns POD_NAME and POD_STATUS



Answer : A


Question 7

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



Answer : A


Page:    1 / 14   
Total 83 questions