100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CKAD Exam 1 Questions & Answers 2024/2025

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
26-08-2024
Written in
2024/2025

CKAD Exam 1 Questions & Answers 2024/2025 which command do you run on k8s to display details about the cluster? - ANSWERSkubectl cluster-info which command do you use to list all nodes? - ANSWERSkubectl get nodes kubectl version - ANSWERS How do you feed a config file to K8s cluster - ANSWERSkubectl apply -f <name of a config yml> get status of all pods - ANSWERSkubectl get pods Simplest way to use kubectl to create a nginx pod and run it - ANSWERSkubectl run nginx --image nginx how can you see the status of your pods - ANSWERSkubectl get pods What is the version of Kubernetes running on the nodes ? - ANSWERSkubectl version read out the git version How many nodes are running on the cluster? - ANSWERSkubectl get nodes What is the flavor and version of Operating System on which the Kubernetes nodes are running? - ANSWERSkubectl get nodes -o wide and look at the Operating System. which are the top 4 properties in every kubernetes yaml? - ANSWERSapiVersion, kind, metadata, spec which apiVersion should be used for Pods? - ANSWERSv1

Show more Read less
Institution
CKAD
Module
CKAD









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CKAD
Module
CKAD

Document information

Uploaded on
August 26, 2024
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CKAD Exam 1 Questions & Answers
2024/2025

which command do you run on k8s to display details about the cluster? - ANSWERSkubectl cluster-info



which command do you use to list all nodes? - ANSWERSkubectl get nodes



kubectl version - ANSWERS



How do you feed a config file to K8s cluster - ANSWERSkubectl apply -f <name of a config yml>



get status of all pods - ANSWERSkubectl get pods



Simplest way to use kubectl to create a nginx pod and run it - ANSWERSkubectl run nginx --image nginx



how can you see the status of your pods - ANSWERSkubectl get pods



What is the version of Kubernetes running on the nodes ? - ANSWERSkubectl version

read out the git version



How many nodes are running on the cluster? - ANSWERSkubectl get nodes



What is the flavor and version of Operating System on which the Kubernetes nodes are running? -
ANSWERSkubectl get nodes -o wide and look at the Operating System.



which are the top 4 properties in every kubernetes yaml? - ANSWERSapiVersion, kind, metadata, spec



which apiVersion should be used for Pods? - ANSWERSv1

, which apiVersion should be used for a Service? - ANSWERSv1



which apiVersion should be used for a ReplicaSet? - ANSWERSapps/v1



which apiVersion should be used for a deployment? - ANSWERSapps/v1



what belongs in the spec of a Pod? - ANSWERScontainers: a list of objects with name and image
properties



what is the command to display detailed pod information? - ANSWERSkubectl describe pod <podname>



what image was used to create this pod? - ANSWERSkubectl describe pod <podname>



which node is this pod paced on? - ANSWERSkubectl describe pod <podname>



how many containers are part of this pod? - ANSWERSkubectl describe pod <podname>



How do you remove a pod from the cluster? - ANSWERSkubectl delete pod <podname>



Create a new pod with the nginx image. - ANSWERSkubectl run nginx --image=nginx



How can you create a pod from an image in a oneline command? - ANSWERSkubectl run nginx --
image=nginx



How do you extract a pod definition from an existing pod? - ANSWERSkubectl get pod <podname> -o
yaml > filename.yml



How can you edit an existing pods properties? - ANSWERSkubectl edit pod <pod-name>
£6.86
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bensuda Oxford University
Follow You need to be logged in order to follow users or courses
Sold
835
Member since
3 year
Number of followers
445
Documents
20956
Last sold
4 days ago
ECONOMICS,NURSING,BIOLOGY AND ALL REVISION MATERIALS

DEDICATED TO PROVIDE YOU WITH THE BEST LEARNING MATERIALS THAT WILL IMPROVE YOUR GRADES ,WELCOME TO ALIZGRADES AND LETS DO IT TOGETHER!!! GOODLUCK!!!!!!!

3.7

156 reviews

5
72
4
24
3
25
2
11
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions