Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Linux Foundation CKA Practice Exam with Questions & Answers | Set: 2

Questions 11

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:
Linux Foundation CKA Premium Access
Questions 12

CKA Question 12

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:
Questions 13

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:
Questions 14

Score: 7%

CKA Question 14

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 14

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

CKA Question 14

Options:
Questions 15

Score: 7%

CKA Question 15

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:
Questions 16

Create a busybox pod and add “sleep 3600” command

Options:
Questions 17

Quick Reference

ConfigMaps,

Documentation Deployments,

Namespace

You must connect to the correct host . Failure to do so may result in a zero score.

[candidate@base] $ ssh cka000048b

Task

An NGINX Deployment named nginx-static is running in the nginx-static namespace. It is configured using a ConfigMap named nginx-config .

First, update the nginx-config ConfigMap to also allow TLSv1.2. connections.

You may re-create, restart, or scale resources as necessary.

You can use the following command to test the changes:

[candidate@cka000048b] $ curl -- tls-max

1.2 https://web.k8s.local

Options:
Questions 18

Create a pod as follows:

    Name: mongo

    Using Image: mongo

    In a new Kubernetes namespace named: my-website

Options:
Questions 19

Create an nginx pod and list the pod with different levels of verbosity

Options:
Questions 20

You must connect to the correct host.

Failure to do so may result in a zero score.

[candidate@base] $ ssh Cka000051

Context

You manage a WordPress application. Some Pods are not starting because resource requests are too high. Your task Is to prepare a Linux system for Kubernetes . Docker is already installed, but you need to configure it for kubeadm .

Task

Complete these tasks to prepare the system for Kubernetes :

Set up cri-dockerd :

. Install the Debian package

~/cri-dockerd_0.3.9.3-0.ubuntu-jammy_am

d64.deb

Debian packages are installed using

dpkg .

. Enable and start the cri-docker service

Configure these system parameters:

. Set net.bridge.bridge-nf-call-iptables to 1

Options:
Exam Code: CKA
Certification Provider: Linux Foundation
Exam Name: Certified Kubernetes Administrator (CKA) Program
Last Update: Jul 10, 2025
Questions: 83