Independence Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

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

List the nginx pod with custom columns POD_NAME and POD_STATUS

Options:

Question 2

Score: 4%

Task

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 .

Options:

Question 3

Score: 4%

Task

Create a persistent volume with name app-data , of capacity 1Gi and access mode ReadOnlyMany. The type of volume is hostPath and its location is /srv/app-data .

Options:

Question 4

Score:7%

Context

An existing Pod needs to be integrated into the Kubernetes built-in logging architecture (e. g. kubectl logs). Adding a streaming sidecar container is a good and common way to accomplish this requirement.

Task

Add a sidecar container named sidecar, using the busybox Image, to the existing Pod big-corp-app. The new sidecar container has to run the following command:

/bin/sh -c tail -n+1 -f /va r/log/big-corp-app.log

Use a Volume, mounted at /var/log, to make the log file big-corp-app.log available to the sidecar container.

Options:

Question 5

Create a pod with environment variables as var1=value1.Check the environment variable in pod

Options:

Question 6

Task Weight: 4%

Task

Schedule a Pod as follows:

• Name: kucc1

• App Containers: 2

• Container Name/Images:

o nginx

o consul

Options:

Question 7

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

Options:

Question 8

Scale the deployment webserver to 6 pods.

Options:

Question 9

Create a busybox pod and add “sleep 3600” command

Options:

Question 10

Score: 4%

Task

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

Options:

Demo: 10 questions
Total 67 questions