Dell EMC Specialist – Systems Administrator, Elastic Cloud Storage — Question 118
An administrator wants to get information about a specific host and runs this code:
GET /v1/hosts/{sn}
An API code 404 is returned.
What is the reason for the error code?
Answer options
- A. The provided {sn} was not valid
- B. There was a server error
- C. The administrator was not authenticated
- D. The API is designed to return all hosts in a cluster
Correct answer: A
Explanation
The 404 error indicates that the requested resource could not be found, which suggests that the provided {sn} does not correspond to any existing host. The other options imply different issues, such as server problems or authentication failures, which are not the cause of a 404 error.