Black Friday Special Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Linux Foundation > Kubernetes Administrator > CKA

CKA Certified Kubernetes Administrator (CKA) Program Question and Answers

Question # 4

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

Full Access
Question # 5

Create a busybox pod and add “sleep 3600” command

Full Access
Question # 6

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

Full Access
Question # 7

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

Full Access
Question # 8

List all the pods sorted by created timestamp

Full Access
Question # 9

List all the pods sorted by name

Full Access
Question # 10

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.

Full Access