AWS EKS Flashcards

(31 cards)

1
Q

What is AWS EKS?

A

AWS Elastic Kubernetes Service (EKS) is a managed Kubernetes service that makes it easy to run Kubernetes clusters on AWS without installing or managing your own Kubernetes control plane.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main components of an EKS cluster?

A
  1. Control Plane (managed by AWS)
  2. Worker Nodes (EC2 or Fargate)
  3. Networking (VPC, subnets, security groups)
  4. IAM roles and policies
  5. Add-ons (like VPC CNI Core DNS kube-proxy) .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Who manages the Kubernetes control plane in EKS?

A

AWS fully manages the control plane including the API server and control plane nodes .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can you run EKS worker nodes on Fargate?

A

Yes. EKS supports AWS Fargate for serverless compute allowing pods to run without managing EC2 instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What networking plugin does EKS use by default?

A

AWS VPC CNI plugin which allows Kubernetes pods to have native VPC IP addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you connect to an EKS cluster from your local machine?

A

Using kubectl and the aws EKS update-kubeconfig command to configure kubeconfig with cluster details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What IAM roles are required in EKS?

A
  1. EKS Cluster Role (for control plane)
  2. Node Instance Role (for EC2 worker nodes)
  3. ServiceAccount roles for pods (optional).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you upgrade an EKS cluster?

A

EKS provides managed upgrades for control plane.
Worker nodes must be updated separately.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between EKS Managed Node Groups and self-managed nodes?

A

Managed Node Groups: AWS provisions and manages EC2 nodes automatically.
Self-managed: You manually manage EC2 instances and the node lifecycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you enable logging for an EKS cluster?

A

Enable Amazon CloudWatch
Container Insights
EKS control plane logging (API audit authenticator scheduler).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the maximum number of nodes supported in an EKS cluster?

A

Default limit: 1000 nodes per cluster (can be increased via AWS support)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does EKS handle high availability?

A

Control plane runs in multiple AZs automatically.
Worker nodes can be deployed across multiple AZs for HA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Can EKS run on-premises?

A

Not directly.
Use EKS Anywhere for running Kubernetes clusters on-premises with EKS-compatible tooling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some common EKS add-ons?

A
  1. CoreDNS
  2. kube-proxy
  3. VPC CNI
  4. Amazon EBS CSI driver
  5. Amazon EFS CSI driver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you integrate EKS with AWS IAM for pods?

A

Using IAM Roles for Service Accounts (IRSA) to assign fine-grained IAM permissions to Kubernetes pods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between EKS Standard and EKS Fargate profiles?

A

Standard: runs on EC2 nodes.
Fargate profile: runs on serverless Fargate pods automatically scheduled in subnets

17
Q

What is the default Kubernetes version in EKS?

A

AWS maintains support for multiple versions.
Usually the latest 3 versions are supported for upgrades

18
Q

How do you manage secrets in EKS?

A

Use Kubernetes Secrets or integrate with AWS Secrets Manager and AWS Systems Manager Parameter Store

19
Q

How does EKS integrate with CI/CD?

A

Use:

CodePipeline
CodeBuild
GitHub Actions
or Jenkins to deploy containerized workloads to EKS

20
Q

How do you monitor EKS clusters?

A

Use:

Amazon CloudWatch
Amazon CloudTrail
Prometheus/Grafana
or Container Insights

21
Q

How does EKS handle cluster autoscaling?

A

Using:

Cluster Autoscaler for EC2 nodes.
Horizontal Pod Autoscaler (HPA) for scaling pods based on CPU/memory metrics.

22
Q

How do you secure EKS clusters?

A
  1. Use IAM for access control
  2. Enable RBAC in Kubernetes
  3. Network policies
  4. Pod security policies
  5. Encryption at rest and in transit
23
Q

What is the difference between Kubernetes Deployment and EKS Managed Node Group?

A

Deployment manages pods and replicas inside the cluster.
Node Group manages the underlying EC2 worker nodes running pods.

24
Q

Can EKS integrate with load balancers?

A

Yes. EKS supports AWS Fargate for serverless compute allowing pods to run without managing EC2 instances.

25
What storage options are available in EKS?
1. Amazon EBS 2. Amazon EFS 3. Amazon FSx 4. S3 via CSI driver 5. Local storage (ephemeral)
26
Which service allows you to run EKS pods without managing EC2 instances? A) EC2 Auto Scaling B) Fargate C) Lambda D) Elastic Beanstalk
B) Fargate
27
How do you provide IAM permissions to pods in EKS? A) Node IAM Role B) ClusterRoleBinding C) IAM Role for Service Account D) Security Group
C) IAM Role for Service Account
28
What networking plugin gives pods native VPC IP addresses? A) Calico B) Flannel C) AWS VPC CNI D) Cilium
C) AWS VPC CNI
29
Who is responsible for patching the EKS control plane? A) User B) AWS C) Both D) CloudFormation
B) AWS
30
How many availability zones does EKS control plane run in? A) 1 B) 2 C) 3 D) All AZs in region
C) 3
31
Which logging service is used for EKS control plane logs? A) CloudTrail B) CloudWatch C) S3 D) DynamoDB
B) CloudWatch