Bird
0
0

You want to monitor an API that sometimes returns status 429 (too many requests) temporarily. Which alerting strategy best avoids false alarms?

hard📝 Best Practice Q15 of 15
Rest API - API Testing and Monitoring
You want to monitor an API that sometimes returns status 429 (too many requests) temporarily. Which alerting strategy best avoids false alarms?
AAlert only if 429 responses occur continuously for 5 minutes
BAlert immediately on any 429 response
CIgnore 429 responses completely
DAlert only if 429 responses are followed by 200 responses
Step-by-Step Solution
Solution:
  1. Step 1: Understand 429 status meaning

    Status 429 means too many requests temporarily; it may resolve quickly.
  2. Step 2: Choose alerting strategy to avoid false alarms

    Alerting immediately on one 429 may cause false alarms; waiting for continuous 429s for 5 minutes reduces noise.
  3. Final Answer:

    Alert only if 429 responses occur continuously for 5 minutes -> Option A
  4. Quick Check:

    Delay alerts on temporary errors to reduce false alarms [OK]
Quick Trick: Wait before alerting on temporary errors [OK]
Common Mistakes:
MISTAKES
  • Alerting immediately on every 429
  • Ignoring 429 which may hide real issues
  • Alerting on 429 followed by success

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes