Domain 6: Build Back-End Integrations
IBM Certified Specialist - watsonx Assistant · 34 questions
- A developer is configuring a custom extension in watsonx Assistant to call an external REST API that requires an API key passed in a request header named X-API-Key. Where in the OpenAPI specification must this authentication method be defined?
- Your watsonx Assistant dialog node calls a webhook, but the external inventory service intermittently returns HTTP 503 Service Unavailable. Users are seeing a raw error message instead of a helpful reply. What is the recommended way to handle this gracefully?
- A financial services company wants to verify that a customer's account is in good standing before watsonx Assistant processes any message in the session. Which webhook configuration satisfies this requirement?
- A developer stores the user-selected product SKU in a context variable called $productid and needs to include it in the JSON body of a webhook POST request. Which syntax correctly injects the variable value into the request body?
- A developer has imported an OpenAPI spec that defines an oauth2 security scheme using the client credentials flow. The spec references a token URL and required scopes. What must the developer do next in the watsonx Assistant UI to finish the authentication configuration?
- A webhook call returns a JSON response with a nested object: {"customer": {"status": "active", "tier": "gold"}}. A developer wants to store the tier value in a context variable named $customertier. Which expression correctly retrieves this nested field from the webhook response in watsonx Assistant?
- An enterprise security team requires that all outbound API calls from watsonx Assistant pass through IBM API Connect for rate limiting, OAuth policy enforcement, and audit logging. What is the correct integration approach?
- A developer configures a webhook and triggers it from the Try it out panel, but the assistant returns a generic fallback response and no webhook data appears in the output. What is the most efficient first diagnostic step?
- A retail company wants to capture each user message and the corresponding assistant response and send both to a third-party analytics API after every turn, without modifying every dialog node in a large skill. Which configuration achieves this most efficiently?
- A developer needs to call an order-management REST API from within a watsonx Assistant action. The API requires a static API key passed as a custom HTTP header 'X-API-Key'. After importing the OpenAPI spec as a custom extension, where should the developer configure this header value?
- What is a custom extension in watsonx Assistant?
- Where are API key credentials configured when adding an authenticated custom extension to a watsonx Assistant environment?
- After an action calls a custom extension; how does a developer map an API response field to a session variable?
- Which HTTP status code range indicates a successful API response from a custom extension call?
- What must be configured when setting up OAuth 2.0 authentication for a custom extension connecting to a corporate system?
- A custom extension call returns a 404 status code during an action. What is the recommended handling approach?
- What is the purpose of importing an OpenAPI specification when creating a custom extension?
- An API returns a nested JSON field 'customer.email.' How should this be referenced in the custom extension output mapping?
- When should OAuth 2.0 authorization code flow be used versus client credentials flow for a custom extension?
- An action calls a custom extension that can take over 5 seconds to respond. What is a best practice?
- At which point in an action should a custom extension call to POST order data to a CRM occur?
- A custom extension returns an array of up to 5 results. How can the developer surface the first item to the user?
- A custom extension's OpenAPI spec defines a required query parameter 'city.' If the action calls the extension without supplying 'city'; what most likely happens?
- Which section of an OpenAPI specification defines authentication requirements?
- A developer wants to call an external API from an action but the API has no published OpenAPI spec. What should be done?
- A custom extension returns HTTP 200 but the response body contains an error message field. How does watsonx Assistant handle this?
- Which statement about the maximum number of custom extensions per watsonx Assistant instance is correct?
- A developer needs to pass a session variable as a REST API path parameter (e.g.; /orders/{orderId}). How is this done?
- What is the purpose of versioning an OpenAPI spec imported into a custom extension?
- An API returns an array of up to 10 records. How can the developer show all items to the user in web chat?
- Which HTTP method should a custom extension use to update an existing resource in a REST API?
- A custom extension call returns HTTP 401 Unauthorized. What is the most likely cause?
- When a custom extension call times out; what best practice should the developer implement?
- Which OpenAPI specification version is supported for custom extension imports in watsonx Assistant?