EduFlow
Docker & Kubernetes: Ship with Confidence

Checkpoint: Kubernetes Core

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

You apply a Deployment with 3 replicas, then delete its ReplicaSet with kubectl delete rs notes-api-6c8f9d7b5. What happens?

Question 2 of 5

Pods in namespace web need to call notes-api, whose Service notes-api (port 80) lives in namespace notes. Which URL works?

Question 3 of 5

After a change, notes-api Pods are Running and Ready, but the Service’s EndpointSlice is empty. What changed most likely?

Question 4 of 5

You update the notes-db Secret with a new password, and the Postgres password is changed to match. notes-api reads DATABASE_URL via secretKeyRef. Existing Pods start failing to authenticate. Why, and what’s the fix?

Question 5 of 5

Why do teams run kubectl diff -f k8s/ before kubectl apply -f k8s/?

5 questions unanswered