Question 48 — AB-620 Practice Exam 1
For each REST API authentication concept, drag it to the appropriate box in the Correct Match column to match it with its function.
Each item may be used once, more than once, or not at all.
| Option | Correct Match |
|---|---|
| Used when the API can be accessed without supplying credentials | [Gap 1] |
| Used when authentication depends on a key included with the API request | [Gap 2] |
| Used when authentication is performed through an identity provider | [Gap 3] |
| Defines the friendly name displayed when a user is asked to provide a key | [Gap 4] |
| Specifies the actual header or query-string parameter expected by the API | [Gap 5] |
| Determines whether the key is transmitted in the Header or Query | [Gap 6] |
| Causes users to supply the required key when the tool is first invoked in a conversation | [Gap 7] |
- OAuth 2.0
- None
- API key
- Parameter location
- Parameter label
- Parameter name
Correct answers
- Gap 1: None
- Gap 2: API key
- Gap 3: OAuth 2.0
- Gap 4: Parameter label
- Gap 5: Parameter name
- Gap 6: Parameter location
- Gap 7: API key
Explanations
Correct Matches
None – This authentication option applies when the API is openly accessible and does not require credentials.
API key – This option authenticates requests by supplying a key. Users are prompted to provide the required API key when the tool is first invoked in a conversation.
OAuth 2.0 – This authentication option uses an identity provider rather than an unauthenticated request or a directly supplied API key.
Parameter label – This field defines the display name users see when they are prompted to enter an API key.
Parameter name – This field identifies the actual header or query parameter name that the target API expects.
Parameter location – This setting determines whether the API key is included in the request Header or Query.