본문 바로가기
MLOps/Doker & Kubernetes

Udemy CKA 강의 정리 154: Practice Test - KubeConfig

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

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

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


Q1. Where is the default kubeconfig file located in the current environment?

 

Q2. How many clusters are defined in the default kubeconfig file?

 

Q3. How many Users are defined in the default kubeconfig file?

 

Q4. How many contexts are defined in the default kubeconfig file?

 

Q5. What is the user configured in the current context?

 

Q6. What is the name of the cluster configured in the default kubeconfig file?

 

Q7. A new kubeconfig file named my-kube-config is created. It is placed in the /root directory. How many clusters are defined in that kubeconfig file?

 

Q8. How many contexts are configured in the my-kube-config file?

 

Q9. What user is configured in the research context?

 

Q10. What is the name of the client-certificate file configured for the aws-user?

 

Q11. What is the current context set to in the my-kube-config file?

 

Q12. I would like to use the dev-user to access test-cluster-1. Set the current context to the right one so I can do that.

 

Q13. We don't want to have to specify the kubeconfig file option on each command. Make the my-kube-config file the default kubeconfig.

 

Q14. With the current-context set to research, we are trying to access the cluster. However something seems to be wrong. Identify and fix the issue.

반응형

댓글