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.Free CKA Practice Test Questions and Answers (2026)
Q: 1
SIMULATION
Score: 7%
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.
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.Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 2
SIMULATION
Create a pod with image nginx called nginx and allow traffic on port 80
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
SIMULATION
Schedule a pod as follows:
Name: nginx-kusc00101
Image: nginx
Node selector: disk=ssd
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
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.
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 5
SIMULATION
List the nginx pod with custom columns POD_NAME and POD_STATUS
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 6
SIMULATION
Monitor the logs of pod foo and:
Extract log lines corresponding to error
unable-to-access-website
Write them to/opt/KULM00201/foo


Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 7
SIMULATION
Score: 5%
Task
Monitor the logs of pod bar and:
• Extract log lines corresponding to error file-not-found
• Write them to /opt/KUTR00101/bar
Task
Monitor the logs of pod bar and:
• Extract log lines corresponding to error file-not-found
• Write them to /opt/KUTR00101/barYour Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
SIMULATION
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.
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
SIMULATION Score:7% 
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
SIMULATION
Get IP address of the pod – “nginx-dev”
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 11
SIMULATION
Check the image version in pod without the describe command
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
SIMULATION
Check the Image version of nginx-dev pod using jsonpath
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
SIMULATION
Create a pod that having 3 containers in it? (Multi-Container)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
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.
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
SIMULATION
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
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20
