Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the Linux Foundation Kubernetes Administrator CKA Questions and answers with ValidTests

Exam CKA All Questions
Exam CKA Premium Access

View all detail and faqs for the CKA exam

Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions
Questions # 21:

Question # 21

Task

Create a new HorizontalPodAutoscaler (HPA ) named apache-server in the autoscale

namespace. This HPA must target the existing Deployment called apache-server in the

autoscale namespace.

Set the HPA to aim for 50% CPU usage per Pod . Configure it to have at least 1 Pod and no more than 4 Pods . Also, set the downscale stabilization window to 30 seconds.

Options:

Expert Solution
Questions # 22:

Score: 4%

Question # 22

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:

Expert Solution
Questions # 23:

Score: 5%

Question # 23

Task

From the pod label name=cpu-utilizer, find pods running high CPU workloads and write the name of the pod consuming most CPU to the file /opt/KUTR00401/KUTR00401.txt (which already exists).

Options:

Expert Solution
Questions # 24:

List all persistent volumes sorted by capacity, saving the full kubectl output to /opt/KUCC00102/volume_list. Use kubectl 's own functionality for sorting the output, and do not manipulate it any further.

Options:

Expert Solution
Questions # 25:

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

Options:

Expert Solution
Questions # 26:

Ensure a single instance of pod nginx is running on each node of the Kubernetes cluster where nginx also represents the Image name which has to be used. Do not override any taints currently in place.

Use DaemonSet to complete this task and use ds-kusc00201 as DaemonSet name.

Options:

Expert Solution
Questions # 27:

List all the pods sorted by name

Options:

Expert Solution
Questions # 28:

Score: 4%

Question # 28

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:

Expert Solution
Questions # 29:

Create a nginx pod with label env=test in engineering namespace

Options:

Expert Solution
Questions # 30:

List the nginx pod with custom columns POD_NAME and POD_STATUS

Options:

Expert Solution
Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions