ICA Sample Practice Questions¶
Practice Resources¶
Traffic Management (40%)¶
Question 1¶
Create a VirtualService that routes 80% of traffic to v1 and 20% to v2 of the reviews service.
Show Solution
Question 2¶
Create a DestinationRule that defines subsets v1 and v2 based on version labels.
Show Solution
Question 3¶
Create an Istio Gateway for incoming HTTPS traffic on port 443.
Show Solution
Question 4¶
Configure request timeout of 10 seconds for the ratings service.
Show Solution
Securing Workloads (20%)¶
Question 5¶
Enable strict mTLS for the entire mesh.
Show Solution
Question 6¶
Create an AuthorizationPolicy that only allows GET requests from the frontend service.
Show Solution
Question 7¶
Configure JWT authentication for a service.
Show Solution
Resiliency and Fault Injection (10%)¶
Question 8¶
Inject a 5-second delay for 50% of requests to the ratings service.
Show Solution
Question 9¶
Configure circuit breaker with max 100 connections and 1000 pending requests.
Show Solution
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
name: reviews
spec:
host: reviews
trafficPolicy:
connectionPool:
tcp:
maxConnections: 100
http:
h2UpgradePolicy: UPGRADE
http1MaxPendingRequests: 1000
outlierDetection:
consecutive5xxErrors: 5
interval: 30s
baseEjectionTime: 30s
Question 10¶
Inject HTTP 503 errors for 10% of requests.
Show Solution
Observability (10%)¶
Question 11¶
What are the three pillars of observability in Istio?
Show Solution
1. **Metrics** - Collected by Prometheus, visualized in Grafana 2. **Distributed Tracing** - Using Jaeger or Zipkin 3. **Access Logs** - Envoy access logs for debuggingQuestion 12¶
How do you enable access logging in Istio?
Show Solution
Or via IstioOperator:Installation & Configuration (7%)¶
Question 13¶
Install Istio with the demo profile using istioctl.
Question 14¶
Enable automatic sidecar injection for a namespace.
Exam Tips¶
- Know VirtualService and DestinationRule - These are heavily tested
- Understand mTLS modes - STRICT, PERMISSIVE, DISABLE
- Practice traffic management - Routing, splitting, mirroring
- Know AuthorizationPolicy - ALLOW, DENY, CUSTOM actions
- Understand fault injection - Delays and aborts