반응형
해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. How many Secrets exist on the system?
답: 1
Q2. How many secrets are defined in the dashboard-token secret?
답: 3
Q3. What is the type of the dashboard-token secret?
답: kubernetes.io/service-account-token
Q4. Which of the following is not a secret data defined in dashboard-token secret?
답: type
Q5. We are going to deploy an application with the below architecture. We have already deployed the required pods and services. Check out the pods and services created. Check out the web application using the Webapp MySQL link above your terminal, next to the Quiz Portal Link.
Q6. The reason the application is failed is because we have not created the secrets yet. Create a new secret named db-secret with the data given below.
- Secret Name: db-secret
- Secret 1: DB_Host=sql01
-
Secret 2: DB_User=root
-
Secret 3: DB_Password=password123
Q7. Configure webapp-pod to load environment variables from the newly created secret.
-
Pod name: webapp-pod
-
Image name: kodekloud/simple-webapp-mysql
-
Env From: Secret=db-secret
kubectl edit pod webapp-pad
문서 참고
(다시 풀기)
Q8. View the web application to verify it can successfully connect to the database
(다시 풀기)
반응형
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 114: Practice Test - Init Containers (0) | 2023.01.13 |
---|---|
Udemy CKA 강의 정리 105: Practice Test - Secrets (0) | 2023.01.13 |
Udemy CKA 강의 정리 113: Init Containers (0) | 2023.01.12 |
Udemy CKA 강의 정리 112: Multi Container PODs Design Patterns (0) | 2023.01.12 |
Udemy CKA 강의 정리 109: Multi Container PODs (1) | 2023.01.12 |
댓글