본문 바로가기
MLOps/Doker & Kubernetes

Udemy CKA 강의 정리 97: Practice Test - Commands and Arguments

by 공부하는 무니 2023. 1. 11.
반응형

해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.

⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.


Q1. How many PODs exist on the system?

 

Q2. What is the command used to run the pod ubuntu-sleeper?

 

Q3. Create a pod with the ubuntu image to run a container to sleep for 5000 seconds. Modify the file ubuntu-sleeper-2.yaml.

 

Q4. Create a pod using the file named ubuntu-sleeper-3.yaml. There is something wrong with it. Try to fix it!

 

Q5. Update pod ubuntu-sleeper-3 to sleep for 2000 seconds.

 

Q6. Inspect the file Dockerfile given at /root/webapp-color directory. What command is run at container startup?

 

Q7. Inspect the file Dockerfile2 given at /root/webapp-color directory. What command is run at container startup?

 

Q8. Inspect the two files under directory webapp-color-2. What command is run at container startup?

 

Q9. Inspect the two files under directory webapp-color-3. What command is run at container startup?

 

Q10. Create a pod with the given specifications. By default it displays a blue background. Set the given command line arguments to change it to green.

  • Pod Name: webapp-green

  • Image: kodekloud/webapp-color

  • Command line arguments: --color=green

반응형

댓글