Subdomain 1.1: Get or connect to data
1.You are connecting to an OData feed that requires a specific API key for authentication. In the 'Access Web Content' dialog, which authentication method should you select to input the API key?
- A.Anonymous
- B.Windows
- C.Basic
- D.Web API
Show answer & explanation
Correct answer: D — Web API
- A. Anonymous authentication is used when the data source is public and does not require any credentials. It does not provide a field or mechanism to input an API key.
- B. Windows authentication uses domain-based credentials (NTLM or Kerberos) from an Active Directory environment. It is not intended for supplying API keys for web-based services.
- C. Basic authentication expects a username and password pair. While some services might allow an API key to be passed in a username or password field, it is not the standard or direct method provided in Power BI for API keys.
- D. The Web API authentication method is specifically designed for services requiring API keys. It provides a dedicated field to enter the key and allows the user to specify the key's application (header or query parameter), making it the correct choice for this scenario.