Summer Certification Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

CKA Certified Kubernetes Administrator (CKA) Program Questions and Answers

Questions 4

Configure the kubelet systemd- managed service, on the node labelled with name=wk8s-node-1, to launch a pod containing a single container of Image httpd named webtool automatically. Any spec files required should be placed in the /etc/kubernetes/manifests directory on the node.

You can ssh to the appropriate node using:

[student@node-1] $ ssh wk8s-node-1

You can assume elevated privileges on the node with the following command:

[student@wk8s-node-1] $ | sudo –i

Options:

Buy Now
Questions 5

You must connect to the correct host.

Failure to do so may result in a zero score.

[candidate@base] $ ssh Cka000054

Context:

Your cluster ' s CNI has failed a security audit. It has been removed. You must install a new CNI

that can enforce network policies.

Task

Install and set up a Container Network Interface (CNI ) that meets these requirements:

Pick and install one of these CNI options:

· Flannel version 0.26.1

Manifest:

https://github.com/flannel-io/flannel/releases/download/v0.26.1/kube-flannel.yml

· Calico version 3.28.2

Manifest:

https://raw.githubusercontent.com/project calico/calico/v3.28.2/manifests/tigera-operator.yaml

Options:

Buy Now
Questions 6

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:

Buy Now
Questions 7

For this item, you will have to ssh to the nodes ik8s-master-0 and ik8s-node-0 and complete all tasks on these nodes. Ensure that you return to the base node (hostname: node-1) when you have completed this item.

Context

As an administrator of a small development team, you have been asked to set up a Kubernetes cluster to test the viability of a new application.

Task

You must use kubeadm to perform this task. Any kubeadm invocations will require the use of the --ignore-preflight-errors=all option.

    Configure the node ik8s-master-O as a master node. .

    Join the node ik8s-node-o to the cluster.

Options:

Buy Now
Questions 8

Scale the deployment webserver to 6 pods.

Options:

Buy Now
Questions 9

Get list of all the pods showing name and namespace with a jsonpath expression.

Options:

Buy Now
Questions 10

Create a deployment spec file that will:

    Launch 7 replicas of the nginx Image with the labelapp_runtime_stage=dev

    deployment name: kual00201

Save a copy of this spec file to /opt/KUAL00201/spec_deployment.yaml

(or /opt/KUAL00201/spec_deployment.json).

When you are done, clean up (delete) any new Kubernetes API object that you produced during this task.

Options:

Buy Now
Questions 11

Check the image version in pod without the describe command

Options:

Buy Now
Questions 12

Create a pod that having 3 containers in it? (Multi-Container)

Options:

Buy Now
Questions 13

CKA Question 13

Task

Create a new Ingress resource as follows:

. Name: echo

. Namespace : sound-repeater

. Exposing Service echoserver-service on

http://example.org/echo using Service port 8080

The availability of Service

echoserver-service can be checked

i

using the following command, which should return 200 :

[candidate@cka000024] $ curl -o /de v/null -s -w " %{http_code}\n " http://example.org/echo

Options:

Buy Now
Questions 14

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

Options:

Buy Now
Questions 15

Create a Kubernetes secret as follows:

    Name: super-secret

    password: bob

Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super-secret at /secrets.

Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as CONFIDENTIAL

Options:

Buy Now
Questions 16

Score: 4%

CKA Question 16

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:

Buy Now
Questions 17

Score: 7%

CKA Question 17

Task

Reconfigure the existing deployment front-end and add a port specification named http exposing port 80/tcp of the existing container nginx.

Create a new service named front-end-svc exposing the container port http.

Configure the new service to also expose the individual Pods via a NodePort on the nodes on which they are scheduled.

Options:

Buy Now
Questions 18

List pod logs named “frontend” and search for the pattern “started” and write it to a file “/opt/error-logs”

Options:

Buy Now
Questions 19

Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.

Options:

Buy Now
Questions 20

Monitor the logs of pod foo and:

    Extract log lines corresponding to error

unable-to-access-website

    Write them to/opt/KULM00201/foo

CKA Question 20

Options:

Buy Now
Questions 21

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

Options:

Buy Now
Questions 22

Create a deployment as follows:

    Name: nginx-app

    Using container nginx with version 1.11.10-alpine

    The deployment should contain 3 replicas

Next, deploy the application with new version 1.11.13-alpine, by performing a rolling update.

Finally, rollback that update to the previous version 1.11.10-alpine.

Options:

Buy Now
Questions 23

List all the pods sorted by name

Options:

Buy Now
Questions 24

Create a busybox pod and add “sleep 3600” command

Options:

Buy Now
Exam Code: CKA
Exam Name: Certified Kubernetes Administrator (CKA) Program
Last Update: Jun 6, 2026
Questions: 83

PDF + Testing Engine

$64.99   $185.69

Testing Engine

$49.99   $142.83

PDF (Q&A)

$54.99   $157.11