Bird
0
0

Which file does aws eks update-kubeconfig modify by default?

easy📝 Conceptual Q2 of 15
AWS - EKS
Which file does aws eks update-kubeconfig modify by default?
A/var/lib/eks/kubeconfig.yaml
B~/.kube/config
C/etc/kubernetes/kubelet.conf
D/usr/local/bin/kubeconfig
Step-by-Step Solution
Solution:
  1. Step 1: Identify default kubeconfig location

    The default kubeconfig file used by kubectl is located at ~/.kube/config in the user's home directory.
  2. Step 2: Understand update-kubeconfig behavior

    The aws eks update-kubeconfig command updates this default file unless a different path is specified.
  3. Final Answer:

    ~/.kube/config -> Option B
  4. Quick Check:

    update-kubeconfig modifies ~/.kube/config [OK]
Quick Trick: Default kubeconfig is ~/.kube/config [OK]
Common Mistakes:
  • Assuming it modifies system files
  • Confusing with kubelet config
  • Thinking it creates a new file elsewhere

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes