Which endpoints are sensitive?

/health
/info
/metric
/trace

The correct answer is: A. /health

The /health endpoint is sensitive because it provides information about the health of the service. This information could be used by an attacker to identify vulnerabilities in the service or to launch a denial-of-service attack.

The /info endpoint is not sensitive because it provides general information about the service, such as its version number and the programming language it is written in. This information is not useful to an attacker.

The /metric endpoint is not sensitive because it provides metrics about the performance of the service, such as the number of requests it has received and the amount of time it has taken to respond to those requests. This information is not useful to an attacker.

The /trace endpoint is not sensitive because it provides information about the execution of the service, such as the calls that have been made and the values of variables. This information is not useful to an attacker.

In general, endpoints that provide information about the internal workings of a service are considered to be sensitive. This information could be used by an attacker to identify vulnerabilities in the service or to launch an attack.

Exit mobile version