100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CKAD Exam 1 Questions & Answers 2024/2025 $8.99   Add to cart

Exam (elaborations)

CKAD Exam 1 Questions & Answers 2024/2025

 5 views  0 purchase
  • Course
  • CKAD
  • Institution
  • CKAD

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

[Show more]

Preview 2 out of 14  pages

  • August 26, 2024
  • 14
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CKAD
  • CKAD
avatar-seller
Bensuda
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>

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Bensuda. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80435 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.99
  • (0)
  Add to cart