Question 7

Create a deployment as follows:
CKA dumps exhibit Name:nginx-app
CKA dumps exhibit Using containernginxwithversion 1.11.10-alpine
CKA dumps exhibit The deployment should contain3replicas
Next, deploy the application with newversion1.11.13-alpine, byperforming a rolling update.
Finally, rollback that update to theprevious version1.11.10-alpine.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA7 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA7 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA7 D.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 8

Check to see how many worker nodes are ready (not including nodes taintedNoSchedule) and write the number to/opt/KUCC00104/kucc00104.txt.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA15 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA15 C.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 9

List the nginx pod with custom columns POD_NAME and POD_STATUS
Solution:
kubectl get po -o=custom-columns="POD_NAME:.metadata.name, POD_STATUS:.status.containerStatuses[].state"

Does this meet the goal?

Correct Answer:A

Question 10

Create a pod as follows:
CKA dumps exhibit Name:non-persistent-redis
CKA dumps exhibit container Image:redis
CKA dumps exhibit Volume with name:cache-control
CKA dumps exhibit Mount path:/data/redis
The pod should launch in thestagingnamespace and the volumemust notbe persistent.
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA13 B.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA13 C.JPG
CKA dumps exhibit
F:WorkData Entry WorkData Entry20200827CKA13 D.JPG
CKA dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 11

List all the pods sorted by created timestamp
Solution:
kubect1 get pods--sort-by=.metadata.creationTimestamp

Does this meet the goal?

Correct Answer:A

Question 12

Create a busybox pod and add ??sleep 3600?? command
Solution:
kubectl run busybox --image=busybox --restart=Never -- /bin/sh -c "sleep 3600"

Does this meet the goal?

Correct Answer:A

START CKA EXAM