Courseiva

ICA · domain

Traffic Management

Traffic Management covers Istio's routing and resilience APIs: VirtualService, DestinationRule, Gateway, and ServiceEntry. The exam tests whether you can shape request flow with match conditions, weighted routes, subsets, retries, timeouts, fault injection, and traffic mirroring, and whether you understand how Envoy sidecars act on the configuration you write.

93 questions26 easy39 medium28 hard

Focused practice

Practice Traffic Management questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Traffic Management

You must be able to write VirtualService and DestinationRule YAML that routes by header, splits traffic by weight, and mirrors requests. The single most important thing: subsets live in DestinationRule, while VirtualService decides which subset and weight receives traffic.

Writing VirtualService http match blocks on headers, URI, method, and source labels

Defining DestinationRule subsets and policies for load balancing, outlier detection, and connection pools

Configuring Gateway and ServiceEntry to expose mesh services and external endpoints

Applying traffic shifting, mirroring, retries, timeouts, and fault injection via Istio CRDs

Watch out for

Common Traffic Management exam traps

  • ▸Putting subset definitions in the VirtualService instead of the DestinationRule, so routing to a version silently fails
  • ▸Forgetting that a VirtualService route to a service with no matching pods returns 503, not a fallback
  • ▸Assuming mirror/shadow traffic counts toward the primary route or that weights must sum to 100

Question index

All Traffic Management questions (93)

Click any question to see the full explanation, or start a practice session above.

1

Which resource configuration is necessary to allow a service to communicate with a database outside the mesh using TLS?

Hard
2

How do you handle SNI-based routing in a Gateway?

Hard
3

You notice your traffic is not being routed correctly despite a VirtualService. Which step is most likely to resolve common issues?

Hard
4

A mesh operator needs to configure a DestinationRule so that the sidecar reuses existing HTTP/2 connections to an upstream service and automatically ejects endpoints that return repeated 5xx errors. Which two configuration elements are required to meet these goals? (Choose two.)

Hard
5

Which resources control mTLS settings? (Choose TWO)

Medium
6

When using a ServiceEntry for a TCP service, what protocol should be specified?

Hard
7

What is the primary function of the 'istio-proxy' container in a pod?

Easy
8

You want to test a new version of a service by sending a copy of live traffic to it. What feature should you use?

Easy
9

What is the default load balancing policy if none is specified in the DestinationRule?

Easy
10

Which TWO components must be configured to allow external traffic to enter the mesh?

Easy
11

What is the purpose of the 'retryOn' field in a VirtualService?

Medium
12

You need to expose a service to traffic outside the mesh using Istio. Which resource is required to configure the entry point for incoming traffic?

Easy
13

What is the purpose of the 'istio-system' namespace?

Easy
14

Where do you configure the hostnames that a Gateway should accept?

Easy
15

Which command helps troubleshoot configuration issues by analyzing the cluster for errors?

Easy
16

Which THREE features are supported by the Istio 'trafficPolicy' in a DestinationRule?

Hard
17

A team wants to perform a canary deployment by shifting 10% of traffic to a new version of their service. Which resource allows this weighting?

Medium
18

To ensure traffic to a service is encrypted via mTLS, where should you verify the policy?

Medium
19

Which THREE configurations affect the way traffic is distributed across pods?

Medium
20

Which THREE are valid load balancing policies in Istio?

Hard
21

Which actions can a VirtualService perform on a request? (Choose TWO)

Medium
22

Which command lists all virtual services in the current namespace?

Easy
23

You want to limit the number of concurrent connections to a service. Which field in the DestinationRule handles this?

Medium
24

Which TWO actions can a VirtualService perform on a request?

Medium
25

Which of the following are valid DestinationRule fields? (Choose THREE)

Hard
26

You want to perform a 'headers' modification on an incoming request. Which resource allows this?

Hard
27

To strip a URL prefix before passing a request to a backend service, which field do you use?

Medium
28

Which are valid match conditions in VirtualService? (Choose THREE)

Hard
29

How do you implement a circuit breaker to eject a pod that returns 5xx errors?

Hard
30

You want to access an external API (e.g., api.google.com) from within your mesh. What must you configure?

Medium
31

You need to inspect the envoy config for a specific pod. Which command do you use?

Hard
32

Which THREE are types of traffic management patterns?

Easy
33

Which of the following are valid traffic management components in Istio? (Choose TWO)

Medium
34

What protocol does the Gateway resource support?

Easy
35

Which resource is used to provide a unified entry point for multiple services?

Easy
36

You need to ensure that traffic is only routed to healthy pods. What feature does this?

Medium
37

How do you specify a header-based match in a VirtualService?

Medium
38

Which THREE settings are required in a VirtualService for a canary deployment?

Hard
39

What is the function of the 'weight' parameter in a VirtualService route?

Medium
40

You want to limit the total number of concurrent connections to a service. Where is this defined?

Hard
41

Which of these are valid sub-commands for istioctl? (Choose TWO)

Medium
42

Which parameters can be configured in a VirtualService retry policy? (Choose TWO)

Hard
43

Your team runs a payments service in the 'prod' namespace with a Kubernetes Service named 'payments' listening on port 8443. During a canary rollout you created a Gateway 'payments-gw' in the 'istio-system' namespace and a VirtualService 'payments-vs' in the 'prod' namespace that references the gateway as 'payments-gw'. Clients report HTTP 404 errors when calling the service, but the sidecar-injected payments pods show healthy endpoints and the Gateway pod logs report 'no matching route'. Which change resolves the routing failure?

Hard
44

A platform engineer is migrating a legacy service into the mesh. The service exposes an HTTP API on port 8080 but also a raw TCP admin port on 9090. The engineer wants the sidecar to treat port 8080 as HTTP so that Istio can apply request-level routing, while treating port 9090 as opaque TCP. Which configuration achieves this?

Medium
45

Which of the following are valid Gateway configurations? (Choose TWO)

Medium
46

Which load balancing policy would you choose to ensure requests from the same user always hit the same pod?

Medium
47

Which TWO resources are essential for configuring traffic splitting between versions?

Easy
48

A VirtualService is not correctly routing traffic to a new version. Which tool helps verify the actual route configuration loaded in the proxy?

Hard
49

You want to inject a 5-second delay into requests for testing. Which resource allows this?

Medium
50

Which THREE fields are found within the 'trafficPolicy' block of a DestinationRule?

Hard
51

Where do you define the hosts that a Gateway will listen on?

Easy
52

To perform a canary deployment, you have two versions of a service. Which resource do you use to split traffic between them?

Easy
53

A DestinationRule is configured with a 'v1' subset but traffic is failing. Where should you check for the label match?

Medium
54

Which type of routing allows you to route to different services based on URL path?

Medium
55

Which resource type is used for mTLS policy?

Medium
56

How do you specify a custom header match in a VirtualService?

Hard
57

You want to inject a fault to test application resilience. Which field in the VirtualService supports this?

Hard
58

You need to route traffic to a service based on the 'x-user-type' header. How is this defined?

Hard
59

You have an external dependency that is not in the Kubernetes registry. How do you allow the mesh services to communicate with it?

Hard
60

What is the command to view the status of all pods including proxies?

Easy
61

You need to define a local service that is not in the cluster. How?

Hard
62

A team wants to shift 10 percent of traffic to a new version of a service for a canary, while keeping 90 percent on the stable version. Both versions are healthy and registered as subsets in a DestinationRule. Which VirtualService configuration accomplishes this?

Medium
63

You need to restrict traffic to a specific subset of a service defined in a DestinationRule. What should you use in your VirtualService destination block?

Medium
64

Which TWO settings are configured within the 'outlierDetection' block?

Hard
65

If you want to perform traffic shadowing, which field do you use?

Medium
66

Which field in the VirtualService allows you to redirect an incoming request to a different path?

Medium
67

Which field in VirtualService is used for A/B testing?

Medium
68

You want to enforce mTLS globally for all services in the cluster. Which resource should you apply?

Medium
69

What information can you get from 'istioctl proxy-config'? (Choose THREE)

Hard
70

What is the standard path to install istioctl?

Easy
71

When configuring a retry policy for a VirtualService, which parameter defines the maximum time allowed for a single attempt?

Medium
72

You need to expose an application running in the mesh to traffic from outside the cluster. Which resource is required to define the entry point?

Easy
73

Which component is responsible for enforcing traffic policies in the data plane?

Easy
74

What is the primary purpose of the 'subset' field in a VirtualService destination?

Easy
75

You want to route traffic to a specific version of a service based on a header. Where do you define the subset?

Medium
76

A service is experiencing high latency. You want to implement a circuit breaker to prevent cascading failures. Which resource do you use?

Hard
77

You have a service that occasionally hangs. You want to ensure that if a request takes longer than 2 seconds, it fails immediately. Which field do you configure?

Medium
78

What is the default behavior when no VirtualService is defined for a service?

Medium
79

You need to route 10% of traffic to a new version of your service. Which object do you configure?

Easy
80

A developer needs to expose an internal service to external clients through the Istio ingress gateway on port 443 using TLS termination at the gateway. The service listens on port 80 inside the mesh. Which pairing of resources is required?

Easy
81

You are observing 503 errors. You want to automatically retry failed requests. Where is this configured?

Medium
82

You need to enforce a 5-second timeout on all calls to a specific service. Where is this configured?

Hard
83

Which field in the DestinationRule allows defining different versions of a service?

Medium
84

What is the purpose of 'istioctl analyze'?

Easy
85

What is the default Istio load balancing algorithm?

Easy
86

Which items can be configured under DestinationRule trafficPolicy? (Choose THREE)

Hard
87

Which TWO mechanisms are used to secure traffic within the mesh?

Medium
88

Which tool provides a GUI for visualizing your traffic management rules?

Easy
89

What does the 'mirror' feature in a VirtualService do?

Medium
90

Which field in the VirtualService allows you to redirect traffic to a different URI?

Medium
91

Which TWO fields are mandatory in a Gateway resource?

Medium
92

If a VirtualService has a route to a service that has no pods matching the label, what happens?

Medium
93

Which command is used to view the effective configuration of a specific Envoy proxy?

Easy

Frequently asked questions

What does the Traffic Management domain cover on the ICA exam?
You must be able to write VirtualService and DestinationRule YAML that routes by header, splits traffic by weight, and mirrors requests. The single most important thing: subsets live in DestinationRule, while VirtualService decides which subset and weight receives traffic.
How many questions are in this domain?
This page lists all 93 Traffic Management questions in the ICA question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Traffic Management questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Istio Certified Associate (ICA, CNCF/Linux Foundation) (ICA) Traffic Management Practice Questions