New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Free Linux Foundation CKA Exam Dumps - Page 3

Question No: 21

MultipleChoice

SIMULATION

Create a deployment as follows:

* Name: nginx-random

* Exposed via a service nginx-random

* Ensure that the service & pod are accessible via their respective DNS records

* The container(s) within any pod(s) running as a part of this deployment should use the nginx Image

Next, use the utility nslookup to look up the DNS records of the service & pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.

Options
Question No: 22

MultipleChoice

SIMULATION

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

Options
Question No: 23

MultipleChoice

SIMULATION

A Kubernetes worker node, named wk8s-node-0 is in state NotReady. Investigate why this is the case, and perform any appropriate steps to bring the node to a Ready state, ensuring that any changes are made permanent.

You can ssh to the failed node using:

[student@node-1] $ | ssh Wk8s-node-0

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

[student@w8ks-node-0] $ | sudo --i

Options
Question No: 24

MultipleChoice

SIMULATION

Create a pod as follows:

* Name: non-persistent-redis

* container Image: redis

* Volume with name: cache-control

* Mount path: /data/redis

The pod should launch in the staging namespace and the volume must not be persistent.

Options
Question No: 25

MultipleChoice

Score: 7%

Task

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

Options
Question No: 26

MultipleChoice

SIMULATION

Create a pod as follows:

* Name: mongo

* Using Image: mongo

* In a new Kubernetes namespace named: my-website

Options
Question No: 27

MultipleChoice

SIMULATION

Create a deployment spec file that will:

* Launch 7 replicas of the nginx Image with the label

app_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
Question No: 28

MultipleChoice

SIMULATION

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
Question No: 29

MultipleChoice

SIMULATION

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
Question No: 30

MultipleChoice

SIMULATION

Schedule a pod as follows:

* Name: nginx-kusc00101

* Image: nginx

* Node selector: disk=ssd

Options

Save Cancel