Skip to main content
  1. Public practice questions
  2. AB-620 Practice Exams | AI Agent Builder Associate
  3. AB-620 Practice Exam 1

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)

  1. Select API key, choose Query, and enter x-service-key as the parameter name

  2. Select OAuth 2.0, choose Header, and enter x-service-key as the parameter name

  3. Select API key, choose Header, and enter x-service-key as the parameter name

  4. Select None and add x-service-key to the server description

Correct answers

  1. Select API key, choose Header, and enter x-service-key as 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.