New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

CKA Questions and Answers

Question # 6

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

Full Access
Question # 7

List “nginx-dev” and “nginx-prod” pod and delete those pods

Full Access
Question # 8

Score:7%

Task

Create a new PersistentVolumeClaim

• Name: pv-volume

• Class: csi-hostpath-sc

• Capacity: 10Mi

Create a new Pod which mounts the PersistentVolumeClaim as a volume:

• Name: web-server

• Image: nginx

• Mount path: /usr/share/nginx/html

Configure the new Pod to have ReadWriteOnce access on the volume.

Finally, using kubectl edit or kubectl patch expand the PersistentVolumeClaim to a capacity of 70Mi and record that change.

Full Access
Question # 9

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
Question # 10

Task Weight: 4%

Task

Schedule a Pod as follows:

• Name: kucc1

• App Containers: 2

• Container Name/Images:

o nginx

o consul

Full Access