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

CKA Certified Kubernetes Administrator (CKA) Program Questions and Answers

Questions 4

CKA Question 4

Task

Create a new Ingress resource as follows:

. Name: echo

. Namespace : sound-repeater

. Exposing Service echoserver-service on

https://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" https://example.org/echo

Options:

Buy Now
Questions 5

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 6

Create a file:

/opt/KUCC00302/kucc00302.txt that lists all pods that implement service baz in namespace development.

The format of the file should be one pod name per line.

Options:

Buy Now
Questions 7

Create a snapshot of the etcd instance running at https://127.0.0.1:2379, saving the snapshot to the file path /srv/data/etcd-snapshot.db.

The following TLS certificates/key are supplied for connecting to the server with etcdctl:

    CA certificate: /opt/KUCM00302/ca.crt

    Client certificate: /opt/KUCM00302/etcd-client.crt

    Client key: Topt/KUCM00302/etcd-client.key

Options:

Buy Now
Questions 8

Task Weight: 4%

CKA Question 8

Task

Scale the deployment webserver to 3 pods.

Options:

Buy Now
Questions 9

Score: 4%

CKA Question 9

Task

Check to see how many nodes are ready schedulable (not including nodes tainted NoSchedule ) and write the number to /opt/KUSC00402/kusc00402.txt.

Options:

Buy Now
Questions 10

Score: 7%

CKA Question 10

Task

First, create a snapshot of the existing etcd instance running at https://127.0.0.1:2379, saving the snapshot to /srv/data/etcd-snapshot.db.

CKA Question 10

Next, restore an existing, previous snapshot located at /var/lib/backup/etcd-snapshot-previo us.db

CKA Question 10

Options:

Buy Now
Questions 11

You must connect to the correct host.

Failure to do so may result in a zero score.

[candidate@base] $ ssh Cka000046

Task

First, create a new StorageClass named local-path for an existing provisioner named rancher.io/local-path .

Set the volume binding mode to WaitForFirstConsumer .

Not setting the volume binding mode or setting it to anything other than WaitForFirstConsumer may result in a reduced score.

Next, configure the StorageClass local-path as the default StorageClass .

Options:

Buy Now
Questions 12

Scale the deployment webserver to 6 pods.

Options:

Buy Now
Questions 13

List all the pods sorted by created timestamp

Options:

Buy Now
Questions 14

Perform the following tasks:

    Add an init container to hungry-bear (which has been defined in spec file /opt/KUCC00108/pod-spec-KUCC00108.yaml)

    The init container should create an empty file named/workdir/calm.txt

    If /workdir/calm.txt is not detected, the pod should exit

    Once the spec file has been updated with the init container definition, the pod should be created

Options:

Buy Now
Questions 15

You must connect to the correct host.

Failure to do so may result in a zero score.

[candidate@base] $ ssh Cka000049

Task

Perform the following tasks:

Create a new PriorityClass named high-priority for user-workloads with a value that is one less

than the highest existing user-defined priority class value.

Patch the existing Deployment busybox-logger running in the priority namespace to use the high-priority priority class.

Options:

Buy Now
Questions 16

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

Options:

Buy Now
Questions 17

Check to see how many worker nodes are ready (not including nodes tainted NoSchedule) and write the number to /opt/KUCC00104/kucc00104.txt.

Options:

Buy Now
Questions 18

You must connect to the correct host.

Failure to do so may result in a zero score.

[candidate@base] $ ssh Cka000055

Task

Verify the cert-manager application which has been deployed to your cluster .

Using kubectl, create a list of all cert-manager Custom Resource Definitions (CRDs ) and save it

to ~/resources.yaml .

You must use kubectl 's default output format.

Do not set an output format.

Failure to do so will result in a reduced score.

Using kubectl, extract the documentation for the subject specification field of the Certificate Custom Resource and save it to ~/subject.yaml.

Options:

Buy Now
Questions 19

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

Options:

Buy Now
Questions 20

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 21

Given a partially-functioning Kubernetes cluster, identify symptoms of failure on the cluster.

Determine the node, the failing service, and take actions to bring up the failed service and restore the health of the cluster. Ensure that any changes are made permanently.

You can ssh to the relevant I nodes (bk8s-master-0 or bk8s-node-0) using:

[student@node-1] $ ssh

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

[student@nodename] $ | sudo –i

Options:

Buy Now
Questions 22

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 23

List all the pods sorted by name

Options:

Buy Now
Questions 24

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

Options:

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

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now CKA testing engine

PDF (Q&A)

$36.75  $104.99
buy now CKA pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 17 Jun 2025