Bird
0
0

Given this traffic splitting configuration, what percentage of requests go to service v2?

medium📝 Analysis Q13 of 15
Microservices - Service Mesh
Given this traffic splitting configuration, what percentage of requests go to service v2?
split:
  - weight: 70
    service: v1
  - weight: 30
    service: v2
A100%
B70%
C50%
D30%
Step-by-Step Solution
Solution:
  1. Step 1: Read the weights for each service

    Service v1 has weight 70, and service v2 has weight 30.
  2. Step 2: Calculate percentage for v2

    Total weight = 70 + 30 = 100. So, v2 gets 30/100 = 30% of requests.
  3. Final Answer:

    30% -> Option D
  4. Quick Check:

    Weight 30 means 30% traffic [OK]
Quick Trick: Traffic % = service weight / total weight [OK]
Common Mistakes:
MISTAKES
  • Adding weights incorrectly
  • Assuming equal split without weights
  • Confusing service names

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes