Bird
0
0

What is the effect of setting the environment variable AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true in the VPC CNI plugin?

medium📝 service behavior Q5 of 15
AWS - EKS
What is the effect of setting the environment variable AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true in the VPC CNI plugin?
ADisables the VPC CNI plugin entirely
BAutomatically scales the number of ENIs
CForces pods to use host network namespace
DEnables custom networking for pods on secondary ENIs
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of the environment variable

    Setting AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG to true enables custom networking mode, allowing pods to be assigned IPs from secondary ENIs.
  2. Step 2: Eliminate incorrect effects

    The variable does not disable the plugin, force host networking, or auto-scale ENIs.
  3. Final Answer:

    Enables custom networking for pods on secondary ENIs -> Option D
  4. Quick Check:

    Custom network config = true enables secondary ENI pod IPs [OK]
Quick Trick: Custom network config true = pods use secondary ENIs [OK]
Common Mistakes:
  • Thinking it disables the plugin
  • Confusing with host networking
  • Assuming it auto-scales ENIs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes