CCNA: Cisco Certified Network Associate — Question 1248

Which two REST API status-code classes represent errors? (Choose two.)

Answer options

Correct answer: D, E

Explanation

The correct answers are D (4XX) and E (5XX) because these classes indicate client-side and server-side errors, respectively. Options A (1XX), B (2XX), and C (3XX) represent informational responses, successful requests, and redirection, which are not error statuses.