ExamGecko
Home / Fortinet / NSE8_812 / Practice Test 2
Ask Question

Fortinet NSE8_812 Practice Test 2

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

A customer wants to use the FortiAuthenticator REST API to retrieve an SSO group called SalesGroup. The following API call is being made with the 'curl' utility:

Fortinet NSE8_812 image Question 11 63877670141628566235946

Which two statements correctly describe the expected behavior of the FortiAuthenticator REST API? (Choose two.)

Only users with the 'Full permission' role can access the REST API

Only users with the 'Full permission' role can access the REST API

This API call will fail because it requires that API version 2

This API call will fail because it requires that API version 2

If the REST API web service access key is lost, it cannot be retrieved and must be changed.

If the REST API web service access key is lost, it cannot be retrieved and must be changed.

The syntax is incorrect because the API calls needs the get method.

The syntax is incorrect because the API calls needs the get method.

Comment (0)
Suggested answer: B, D
Explanation:

To retrieve an SSO group called SalesGroup using the FortiAuthenticator REST API, the following issues need to be fixed in the API call:

The API version should be v2, not v1, as SSO groups are only supported in version 2 of the REST API.

The HTTP method should be GET, not POST, as GET is used to retrieve information from the server, while POST is used to create or update information on the server. Therefore, a correct API call would look like this: curl -X GET -H ''Authorization: Bearer <token>'' https://fac.example.com/api/v2/sso/groups/SalesGroup

Reference: https://docs.fortinet.com/document/fortiauthenticator/6.4.1/rest-api-solution-guide/927310/introduction https://docs.fortinet.com/document/fortiauthenticator/6.4.1/rest-api-solution-guide/927311/sso-groups

asked 15/03/2025
Ahmed Dawoud
48 questions