Here are some Kubernetes interview questions. Good Luck!
- What is Kubernetes?
- Explain the basics of Cluster Architecture and Components.
- What are the 2 types of nodes. Which components are running on each of them?
- Explain basic Kubernetes concepts.
- What are the pods?
- What are the nodes?
- What are the services?
- What are deployments?
- How to list all contexts present in local kubectl config?
- How to switch kubectl context?
- Introduction to kubectl | My Public Notepad
- kubernetes - How to switch kubectl clusters between gcloud and minikube - Stack Overflow
- How to gracefully remove a node from Kubernetes?
- Kubernetes: how to scale my pods - Stack Overflow
- Expose Kubernetes services running on Amazon EKS clusters | AWS re:Post
- What is API Server?
- What is API Server endpoint?
- What are persistent volumes (PV) in a Kubernetes cluster?
- What Is Kubernetes StorageClass?
Security
- What is role-based access control (RBAC)?
- What are Service Accounts?
- What are 2 distinct ways to authenticate to the API Server?
- How do SAs differ from User Accounts?
- What is their relation to API server, namespace, pods and processes in pods?
- What is a default Service Account? Who creates it and where? What are its permissions? Who it gets assigned to?
- What are use cases for SA?
- How to use service accounts? What is their typical lifecycle?
- How to grant permissions to a ServiceAccount?
- How to assign a ServiceAccount to a Pod?
- Service Accounts | Kubernetes
- Configure Service Accounts for Pods | Kubernetes
- What is Service Account Token?
- How to find its value from command line?
- What does this token contain?
- What is it used for?
- Where is it stored?
- How does pod get it how and when does pod use it?
- Service Accounts | Kubernetes
- What is the process of mounting SA token to a pod?
- Who does it and when?
- What is the path in a container to which token is mounted?
- Can auto-mounting of the token be disabled? How?
- What are the drawbacks of auto-mounting the default ServiceAccount Token in Kubernetes pods?
- What is the best practice around using Service Accounts?
- How to specify using a non-default SA?
- Can SA be changed for an existing pod?
- Auto-Mounting the Default ServiceAccount Token in Kubernetes Pods
- Best Practices for Deactivating Auto-Mount and Managing ServiceAccounts
- Configure Service Accounts for Pods | Kubernetes
No comments:
Post a Comment