Bird
0
0

Which of the following is the correct way to set up an alert for API downtime in a monitoring tool?

easy📝 Configuration Q12 of 15
Rest API - API Testing and Monitoring
Which of the following is the correct way to set up an alert for API downtime in a monitoring tool?
ATrigger alert if API response time is less than 100ms
BTrigger alert if API documentation changes
CTrigger alert if API returns status code 200
DTrigger alert if API returns status code 500 or no response
Step-by-Step Solution
Solution:
  1. Step 1: Understand alert conditions for downtime

    An alert for downtime should trigger when the API fails or does not respond, such as status code 500 or no response.
  2. Step 2: Evaluate options

    Trigger alert if API returns status code 500 or no response correctly triggers alert on error or no response. Other options either alert on success or unrelated events.
  3. Final Answer:

    Trigger alert if API returns status code 500 or no response -> Option D
  4. Quick Check:

    Alert on errors or no response = Trigger alert if API returns status code 500 or no response [OK]
Quick Trick: Alert on errors or no response, not success [OK]
Common Mistakes:
MISTAKES
  • Alerting on successful responses
  • Alerting on unrelated changes like docs
  • Using wrong status codes for alerts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes