CS FundamentalsVery hardProduct company interview · GATE level
A service runs on 3 identical servers, each 95% available and failing independently; it works when at least 2 of the 3 are up (a majority quorum). Traffic reaches them through a single load balancer that is 99.9% available. What is the overall availability?
- A. About 85.65%
- B. About 99.89%
- C. About 99.18%
- D. About 99.28%
Correct answer: C. About 99.18%
P(at least 2 of 3 up) = 3 x 0.95^2 x 0.05 + 0.95^3 = 0.135375 + 0.857375 = 0.99275. In series with the load balancer: 0.99275 x 0.999 = 0.99176, about 99.18%. 99.89% treats the tier as working if any one server is up (1 - 0.05^3) and then multiplies; 85.65% needs all three servers; 99.28% forgets the load balancer, the single point of failure.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A system needs all three of its components to work. Their failure times are exponential with MTTFs of 2,000, 5,000 and 10,000 hours. What…
- Two inspectors review the same document independently. Inspector 1 finds 30 defects, inspector 2 finds 24, and 12 defects are found by…
- To estimate remaining defects, 20 artificial defects are seeded into a program. Testing then finds 15 of the seeded defects and 45 genuine…
- In a class hierarchy, B, C and D extend A; E and F extend B; G extends E; H extends C. Using the Chidamber-Kemerer metrics with DIT(A) =…
- A risk has probability 0.4 and would cost ₹50 lakh. Three mitigations are proposed: M1 costs ₹6 lakh and cuts the probability to 0.1; M2…
- A Kanban team has on average 24 work items in progress and completes 8 items per week. By Little's law, what is the average lead time? If…