Bird
0
0

Given the following EKS setup, which node group type will run the pod?

medium📝 service behavior Q13 of 15
AWS - EKS
Given the following EKS setup, which node group type will run the pod?
apiVersion: v1
kind: Pod
metadata:
  name: myapp
  namespace: production
spec:
  containers:
  - name: app
    image: myapp:latest

Assuming a Fargate profile exists for namespace 'production' and a managed node group is also present.
AManaged node group
BSelf-managed node group
CNo node group will run the pod
DFargate
Step-by-Step Solution
Solution:
  1. Step 1: Check pod namespace against Fargate profile

    The pod is in 'production' namespace, which matches the Fargate profile selector.
  2. Step 2: Understand pod scheduling priority

    Pods matching Fargate profiles run on Fargate instead of node groups.
  3. Final Answer:

    Fargate -> Option D
  4. Quick Check:

    Pod in Fargate profile namespace runs on Fargate [OK]
Quick Trick: Pod namespace matching Fargate profile means Fargate runs it [OK]
Common Mistakes:
  • Assuming managed node group runs all pods
  • Ignoring Fargate profile selectors
  • Thinking self-managed node group runs pods by default

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes