Question 60 — AB-620 Practice Exam 1
An MCP server requires API key authentication and specifies that every request must contain the key in an HTTP header named x-service-key. A maker is configuring the connection in Copilot Studio. What configuration should the maker use? (Select one answer)
Select API key, choose Query, and enter
x-service-keyas the parameter nameSelect OAuth 2.0, choose Header, and enter
x-service-keyas the parameter nameSelect API key, choose Header, and enter
x-service-keyas the parameter nameSelect None and add
x-service-keyto the server description
Correct answers
Select API key, choose Header, and enter
x-service-keyas the parameter name
Explanations
Correct:
Select API key, choose Header, and enter x-service-key as the parameter name
The authentication type must be API key because the server requires a secret key. Header places the key in the HTTP request header, and the parameter name must exactly match the name expected by the server.
Wrong:
Select API key, choose Query, and enter x-service-key as the parameter name
Query sends the key as a URL query parameter. It does not satisfy a server requirement that the key be delivered in an HTTP header.
Select OAuth 2.0, choose Header, and enter x-service-key as the parameter name
OAuth 2.0 uses an identity-provider authorization flow rather than the API key delivery configuration required by this server.
Select None and add x-service-key to the server description
None sends requests without authentication credentials. The server description provides orchestration context and does not transmit an API key.