PL 400 Custom Connectors 2 — Questions and Answers
Question 1: When defining a custom connector in Power Platform, which file format is used to describe the API operations and parameters?
- RAML 1.0
- OpenAPI (Swagger) 2.0 or 3.0 (Correct answer)
- WSDL 1.1
- GraphQL SDL
Correct answer: OpenAPI (Swagger) 2.0 or 3.0
Custom connectors use OpenAPI (Swagger) 2.0 or 3.0 specifications to describe API operations, parameters, and responses.
Question 2: A custom connector needs to call an API that returns paginated results. Which feature should you configure to automatically retrieve all pages?
- Response transformation
- Pagination policy (Correct answer)
- Chunked transfer encoding
- Retry policy
Correct answer: Pagination policy
The pagination policy on a custom connector action automatically fetches subsequent pages by following next-page links or incrementing offsets.
Question 3: You want to hide an internal API parameter from canvas app makers using your custom connector. What should you set on that parameter?
- Required = true
- Visibility = internal (Correct answer)
- Default value = null
- Schema type = object
Correct answer: Visibility = internal
Setting a parameter's visibility to 'internal' hides it from the connector UI while still allowing it to be sent in requests.
Question 4: Which authentication type should you choose for a custom connector that must support individual user logins via Azure AD without sharing a single service account?
- API Key
- Basic authentication
- OAuth 2.0 (Correct answer)
- Windows authentication
Correct answer: OAuth 2.0
OAuth 2.0 delegates authentication to Azure AD so each user authenticates with their own identity rather than a shared credential.
Question 5: A custom connector action returns a dynamic list of properties that vary per record. Which feature lets Power Automate show these properties dynamically in the designer?
- Static schema definition
- Dynamic schema using x-ms-dynamic-schema (Correct answer)
- Response headers mapping
- Webhook trigger
Correct answer: Dynamic schema using x-ms-dynamic-schema
The x-ms-dynamic-schema extension calls a separate API endpoint to retrieve the actual response schema at design time.
Question 6: What is the maximum size of the OpenAPI definition file that can be imported when creating a custom connector via the Power Platform portal?
- 1 MB (Correct answer)
- 5 MB
- 10 MB
- 50 MB
Correct answer: 1 MB
The Power Platform custom connector import wizard accepts OpenAPI definition files up to 1 MB in size.
Question 7: Which connector policy template would you use to add a static header value to every outbound request made by a custom connector?
- Set query parameter
- Set HTTP header (Correct answer)
- Route request
- Convert array to object
Correct answer: Set HTTP header
The 'Set HTTP header' policy template lets you inject a fixed or expression-based header into every request the connector sends.
When defining a custom connector in Power Platform, which file format is used to describe the API operations and parameters?