Last Update 1 day ago Total Questions : 83
The Certified Kubernetes Administrator (CKA) Program content is now fully updated, with all current exam questions added 1 day ago. Deciding to include CKA practice exam questions in your study plan goes far beyond basic test preparation.
You'll find that our CKA exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these CKA sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Certified Kubernetes Administrator (CKA) Program practice test comfortably within the allotted time.
You must connect to the correct host.
Failure to do so may result in a zero score.
[candidate@base] $ ssh Cka000037
Context
A legacy app needs to be integrated into the Kubernetes built-in logging architecture (i.e.
kubectl logs). Adding a streaming co-located container is a good and common way to
accomplish this requirement.
Task
Update the existing Deployment synergy-leverager, adding a co-located container named sidecar using the busybox:stable image to the existing Pod . The new co-located container has to run the following command:
/bin/sh -c " tail -n+1 -f /var/log/syne
rgy-leverager.log "
Use a Volume mounted at /var/log to make the log file synergy-leverager.log available to the co-
located container .
Do not modify the specification of the existing container other than adding the required volume mount .
Failure to do so may result in a reduced score.
List all the pods showing name and namespace with a json path expression
Score: 4%
Context
You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.
Task
Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
• Deployment
• StatefulSet
• DaemonSet
Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.
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
Create a namespace called ' development ' and a pod with image nginx called nginx on this namespace.
List all the pods sorted by name
Get list of all pods in all namespaces and write it to file “/opt/pods-list.yaml”
