ICA Istio Installation Upgrade And Configuration Practice Question
A team wants to enable sidecar injection for a specific namespace without modifying the deployment manifests. What is the most efficient way to achieve this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
kubectl label namespace <name> istio-injection=enabled
Labeling the namespace with 'istio-injection=enabled' triggers the sidecar injector webhook to automatically inject proxies into new pods.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
istioctl inject -n <namespace>
Why it's wrong here
This is for manual injection, not namespace-wide automatic injection.
- ✗
kubectl apply -f sidecar-injector.yaml
Why it's wrong here
This is not a valid way to enable injection for a namespace.
- ✓
kubectl label namespace <name> istio-injection=enabled
Why this is correct
Labels are the standard way to trigger injection.
- ✗
kubectl annotate namespace <name> istio-injection=enabled
Why it's wrong here
Annotations do not trigger the auto-injection webhook.
About these practice questions
This ICA question is part of Courseiva's 292-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This ICA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ICA exam.