Istio Quiz
Select your difficulty level to begin the quiz
Free Istio quiz with 70 multiple-choice questions on service mesh traffic management, mTLS, authorization policies and ambient mode, at beginner, advanced and expert level. Every answer comes with an explanation.
Latest Istio Articles
Istio graphs
All Istio questions
Each question has its own page with the answer and an explanation.
Beginner: 24 easy questions
- What is Istio?
- Which of the following is NOT a core component of Istio?
- What is a sidecar in the context of Istio?
- Which proxy does Istio use for its data plane?
- What is the purpose of Istio's control plane?
- Which Kubernetes resource is used to define routing rules in Istio?
- What is the purpose of an Istio Gateway?
- What command is used to install Istio using the Istio CLI?
- How does Istio inject sidecar proxies into Kubernetes pods?
- What is the purpose of Istio's DestinationRule resource?
- Which of the following is NOT a benefit of using Istio?
- What is the default protocol used by Istio for service-to-service communication?
- What is the purpose of Istio's ServiceEntry resource?
- How can you enable automatic sidecar injection for a namespace in Istio?
- What is the purpose of Istio's RequestAuthentication resource?
- Which mutual TLS mode does an Istio sidecar workload accept by default when no PeerAuthentication policy applies to it?
- Where do you create an Istio PeerAuthentication policy that applies to the whole mesh?
- On Istio metrics reported by the destination proxy, which connection_security_policy value means the request used mutual TLS?
- Which namespace label tells Istio to inject sidecars from a specific control plane revision during a canary upgrade?
- In an Istio sidecar access log, which Envoy response flag on a 503 means the cluster had no healthy endpoint to send the request to?
- With Istio access logging sent to standard output, which container's logs show the Envoy access log lines for a sidecar-injected pod?
- What is the default value of meshConfig.outboundTrafficPolicy.mode in Istio?
- With outboundTrafficPolicy set to REGISTRY_ONLY, what does a sidecar return for a plain HTTP request on port 80 to an external host with no ServiceEntry?
- Which Envoy cluster name shows up in Istio access logs and metrics for outbound traffic dropped by REGISTRY_ONLY?
Advanced: 22 medium questions
- What is the purpose of Istio's AuthorizationPolicy resource?
- Which of the following is NOT a traffic management feature of Istio?
- What is a 'subset' in Istio's DestinationRule?
- How does Istio implement mutual TLS (mTLS) between services?
- What is the purpose of Istio's PeerAuthentication resource?
- Which component of Istio is responsible for certificate generation and distribution?
- What is the purpose of Istio's VirtualService 'match' field?
- How can you implement canary deployments using Istio?
- What is the purpose of Istio's ServiceEntry protocol field?
- What is the purpose of Istio's EnvoyFilter resource?
- Which of the following is NOT a valid mTLS mode in Istio's PeerAuthentication?
- What is the purpose of Istio's Gateway 'servers' field?
- How can you implement fault injection in Istio?
- What is the purpose of Istio's 'outlierDetection' field in DestinationRule?
- What is the purpose of Istio's Sidecar resource?
- A DestinationRule sets trafficPolicy.tls.mode: DISABLE for a host. What happens when that host's Istio PeerAuthentication changes to STRICT?
- What does setting presence: REQUIRED on a jwtRules entry of an Istio RequestAuthentication do?
- Which Istio 1.32 mesh config setting turns off the sidecar's default retry of inbound requests that were reset before reaching the application?
- After enabling ENABLE_GATEWAY_API_HTTPROUTE_AUTH on istiod, an EnvoyFilter that patches the gateway filter envoy.filters.http.rbac no longer affects ALLOW policies. Why?
- A client sidecar's Istio access log shows 503 UO for calls to a service. What rejected those requests?
- An Istio Telemetry resource filters access logs with response.code >= 500, and failed connections never appear in the logs. Which filter expression also keeps them?
- Why does Istio's egress guide use resolution: DNS rather than NONE in a ServiceEntry for an external HTTP host?
Expert: 24 hard questions
- What is the purpose of Istio's WorkloadEntry resource?
- What is the purpose of Istio's WorkloadGroup resource?
- What is the purpose of Istio's 'consistentHash' load balancing in DestinationRule?
- How can you implement rate limiting in Istio?
- What is the purpose of Istio's 'locality' field in DestinationRule?
- What is the purpose of Istio's 'mirror' field in VirtualService?
- How can you implement A/B testing using Istio?
- What is the purpose of Istio's 'portLevelSettings' field in DestinationRule?
- What is the purpose of Istio's 'delegate' field in VirtualService?
- How can you implement traffic mirroring with percentage-based control in Istio?
- What is the purpose of Istio's 'exportTo' field in VirtualService and DestinationRule?
- What is the purpose of Istio's 'subjectAltNames' field in DestinationRule?
- How can you implement header-based routing in Istio?
- What is the purpose of Istio's 'corsPolicy' field in VirtualService?
- What is the purpose of Istio's 'trafficPolicy.connectionPool' field in DestinationRule?
- In Istio ambient mode, which component handles mTLS and L4 policy for the pods on each node?
- A namespace runs in Istio ambient mode. You need HTTP header-based routing and L7 authorization for one of its services. What do you add?
- A workload has AuthorizationPolicies with CUSTOM, DENY, and ALLOW actions. In what order does Istio check them?
- The mesh-wide PeerAuthentication in istio-system sets STRICT. The namespace has one that sets PERMISSIVE. A workload-specific policy sets portLevelMtls to DISABLE for port 8080. Which mode applies to port 8080 of that workload?
- An application in an Istio sidecar pod fails at startup because its first outbound calls happen before the Envoy sidecar is ready. Which setting fixes this?
- You create an Istio PeerAuthentication with a workload selector in the root namespace, istio-system. What does Istio do with it?
- An Istio 1.32 DestinationRule sets outlierDetection.failurePercentageThreshold: 30 for a busy service with three pods. Why is no pod ever ejected for its failure rate?
- You add subset v2 to a DestinationRule and route a VirtualService to it in the same kubectl apply. Some requests fail with 503 for a few seconds. Why?
- A namespace's default Sidecar has egress hosts "./*" and "istio-system/*", and the mesh uses ALLOW_ANY. What happens to calls from that namespace to an external host with a ServiceEntry in another namespace?