An endpoint needs 180 requests/second with p95 latency below 50 ms; validated per-instance results are G4dn: 60 requests/second, 45 ms, $0.60/hour; G5: 100, 40 ms, $1.00/hour; P4d: 400, 35 ms, $4.00/hour; Inf2: 200, 70 ms, $1.20/hour. Assuming linear throughput scaling and unchanged per-instance latency, which configuration meets the requirements at the LOWEST hourly cost?
Show the answer
Correct answerB. Three G4dn instances
AWhy not this: Two G5 instances meet throughput and latency requirements but cost $2.00/hour, more than the qualifying G4dn configuration.
BWhy this is right: Three G4dn instances provide 180 requests/second at 45 ms p95 for the lowest qualifying cost of $1.80/hour.
CWhy not this: One P4d instance meets performance requirements but costs $4.00/hour, more than the qualifying alternatives.
DWhy not this: One Inf2 instance provides sufficient throughput but exceeds the 50 ms p95 latency limit.
Three G4dn instances deliver 180 requests/second at 45 ms p95 for $1.80/hour, less than qualifying G5 or P4d configurations. One Inf2 instance costs less and provides enough throughput, but its 70 ms p95 violates the latency requirement.