Bird
0
0

Given this VirtualService snippet, what percentage of traffic goes to version v2?

medium📝 Command Output Q13 of 15
Kubernetes - Service Mesh
Given this VirtualService snippet, what percentage of traffic goes to version v2?
route:
- destination:
    host: reviews
    subset: v1
  weight: 70
- destination:
    host: reviews
    subset: v2
  weight: 30
A30%
B70%
C50%
D100%
Step-by-Step Solution
Solution:
  1. Step 1: Identify weights for each version

    Version v1 has weight 70, v2 has weight 30.
  2. Step 2: Calculate traffic percentage for v2

    Weight 30 means 30% of traffic is routed to v2.
  3. Final Answer:

    30% -> Option A
  4. Quick Check:

    Weight 30 means 30% traffic to v2 [OK]
Quick Trick: Weight number equals traffic percentage [OK]
Common Mistakes:
  • Confusing weights as cumulative
  • Assuming equal split by default
  • Ignoring subset field

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes