Kubernetes Administrator Certified Official Practice Test CKA – Aug-2024 [Q27-Q49]

4/5 - (1 vote)

Kubernetes Administrator Certified Official Practice Test CKA – Aug-2024

Ace Linux Foundation CKA Certification with Actual Questions Aug 05, 2024 Updated

The CKA exam is a hands-on, performance-based exam that requires candidates to demonstrate their knowledge of Kubernetes administration through the use of practical tasks and challenges. CKA exam is designed to test an individual’s ability to configure and manage Kubernetes clusters, troubleshoot common issues, and deploy applications using Kubernetes. CKA exam is administered online and can be taken from anywhere in the world.

The CKA exam is designed to test the knowledge and proficiency of professionals in Kubernetes administration. CKA exam consists of a set of performance-based tasks that assess the candidate’s ability to deploy, configure, manage, and troubleshoot Kubernetes clusters. CKA exam is conducted online and requires candidates to complete a set of practical tasks within a specified time frame. CKA exam covers a wide range of Kubernetes administration topics, including cluster architecture, networking, storage, security, and troubleshooting.

 

QUESTION 27
Pause the rollout of the deployment

QUESTION 28
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

QUESTION 29
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.

QUESTION 30
Create a configmap called cfgvolume with values var1=val1,
var2=val2 and create an nginx pod with volume nginx-volume which
reads data from this configmap cfgvolume and put it on the path
/etc/cfg

 
 

QUESTION 31
Change the label for one of the pod to env=uat and list all the pods to verify

QUESTION 32
For this item, you will have to ssh and complete all tasks on these
nodes. Ensure that you return to the base node (hostname: ) 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.

QUESTION 33
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

QUESTION 34
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.

QUESTION 35
Delete the above pod and create again from the same yaml file
and verifies there is no “test-file.txt” in the path /data/redis
(Since non-persistent storage “emptyDir” is used).

QUESTION 36
Get list of PVs and order by size and write to file “/opt/pvstorage.txt”

QUESTION 37
Create an nginx pod which reads username as the environment variable

 
 

QUESTION 38
On the NGFW, how can you generate and block a private key from export and thus harden your security posture and prevent rogue administrators or other bad actors from misusing keys?

 
 
 
 

QUESTION 39
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 thestagingnamespace and the volumemust notbe persistent.

QUESTION 40
Create a pod as follows:
Name: mongo
Using Image: mongo
In a new Kubernetes namespace named: my-website

QUESTION 41
Create a redis pod, and have it use a non-persistent storage
Note: In exam, you will have access to kubernetes.io site,
Refer : https://kubernetes.io/docs/tasks/configure-pod-container/configurevolume-storage/

 
 

QUESTION 42
Scale the deploymentwebserverto6pods.

QUESTION 43
Clean the cluster by deleting deployment and hpa you just created

QUESTION 44
List all configmap and secrets in the cluster in all namespace and write it to a file /opt/configmap-secret

QUESTION 45
Create a redis pod named “test-redis” and exec into that pod and create a file named “test-file.txt” with the text ‘This is called the test file’ in the path /data/redis and open another tab and exec again with the same pod and verifies file exist in the same path.

 
 

QUESTION 46
Evict all existing pods from a node-1 and make the node unschedulable for new pods.

 
 

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

QUESTION 48
Create a namespace called ‘development’ and a pod with image nginx called nginx on this namespace.

QUESTION 49
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


Try Free and Start Using Realistic Verified CKA Dumps Instantly.: https://www.dumpstests.com/CKA-latest-test-dumps.html

Related Links: www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw www.stes.tyc.edu.tw

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below
 

Related Certifications
Recent Comments