Original practice · fully worked
Original variant: routed data-transfer sessions
A cloud platform routes each data-transfer session to a standard server with probability 0.25 and to an accelerated server with probability 0.75. Conditional on the route, the completion time in minutes is exponential with rate 0.4 for a standard server and 0.8 for an accelerated server. Calculate the median completion time for a randomly routed session.
- A
0.405 - B
0.507 - C
1.014 - D
1.155 - E
1.733
Answer and calculation
The unconditional completion time is a mixture, so its survival function is the route-weighted sum of the two conditional survivals. Solving the median equation gives 1.013663 minutes, selecting choice C.
Setup
Setup
Let T be the session time and condition on the randomly selected server class.
Pr(T>t)=0.25e−0.4t+0.75e−0.8t Model
Model
For the median m, set the mixture survival probability to one-half and substitute y for the slower exponential factor.
0.25e−0.4m+0.75e−0.8m=0.5 y=e−0.4m⟹y+3y2=2 Compute
Compute
The admissible quadratic root is two-thirds. Convert that survival factor back to time.
3y2+y−2=0⟹y=32 m=−0.4log(2/3)=0.4log(3/2)=1.0136627703… Answer
Answer
The median session completes in approximately 1.014 minutes.
m≈1.014(C)