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 4

Question No: 31

MultipleChoice

SIMULATION

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

MultipleChoice

SIMULATION

Create and configure the service front-end-service so it's accessible through NodePort and routes to the existing pod named front-end.

Options
Question No: 33

MultipleChoice

SIMULATION

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

MultipleChoice

SIMULATION

Perform the following tasks:

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

C00108.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
Question No: 35

MultipleChoice

SIMULATION

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

MultipleChoice

SIMULATION

Monitor the logs of pod foo and:

* Extract log lines corresponding to error

unable-to-access-website

* Write them to

/opt/KULM00201/foo

Options
Question No: 37

MultipleChoice

SIMULATION

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

MultipleChoice

Get list of all pods in all namespaces and write it to file ''/opt/pods-list.yaml''

Options
Question No: 39

MultipleChoice

Create a busybox pod that runs the command ''env'' and save the output to ''envpod'' file

Options
Question No: 40

MultipleChoice

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

Options

Save Cancel