AI and Machine Learning Azure AI Language premium

Custom question answering

Custom question answering is an Azure AI Language capability for building a project that answers user questions from curated sources, question pairs, and deployed knowledge bases. In plain English, it helps teams turn support articles, FAQs, and business knowledge into a governed answer experience that can be tested, deployed, and improved using answer scores, deployments, and source lists. You see it during Language Studio projects, knowledge base deployments, orchestration workflows, bot integrations, answer tests, and migration planning. Check that ownership, access, configuration, evidence, and runbook steps match the workload.

Aliases
CQA, Azure AI Language custom question answering, question answering project
Difficulty
fundamentals
CLI mappings
3
Last verified
2026-05-13

Microsoft Learn

Custom question answering is an Azure AI Language capability for building a project that answers user questions from curated sources, question pairs, and deployed knowledge bases. Microsoft Learn places it in What is custom question answering?; operators confirm scope, configuration, dependencies, and production impact.

Microsoft Learn: What is custom question answering?2026-05-13

Technical context

Technically, Custom question answering is a language-service project that indexes question-answer content, deploys a knowledge base endpoint, and returns ranked answers through API calls. Inspect project language, sources, question pairs, deployment name, endpoint, confidence score, active test set, authoring access, and retirement migration plan. Validate answer quality, source ownership, RBAC, endpoint privacy, confidence thresholds, fallback behavior, and migration readiness before production use. Review retirement timelines, Foundry migration options, orchestration workflow, content freshness, and bot handoff; it influences support deflection, answer governance, bot accuracy, content ownership, and migration risk.

Why it matters

Custom question answering matters because organizations need controlled answers for common questions, but unmanaged FAQ bots quickly become stale or misleading. If it is ignored, teams can create outdated answers, low-confidence responses, exposed internal content, unsupported future dependencies, weak fallback paths, and confusing bot handoffs. Handled well, it gives architects, developers, finance owners, and operators a shared way to connect Azure settings, CLI output, dashboards, alerts, and incident notes. This is especially important when one misread signal affects budgets, customer experience, compliance evidence, or release timing. The practical value is simple: the term turns a hidden platform detail into a measured operating decision that someone can own, test, and explain.

Where you see it

Signals, screens, and Azure surfaces where this term usually becomes operational.

Signal 01

In the portal, Custom question answering appears near Language Studio question answering projects, where owners confirm scope, state, activity, and review evidence during audits, planning, and change reviews.

Signal 02

In CLI or IaC, Custom question answering appears as language resource endpoints, project APIs, deployment names, helping reviewers compare documented intent with live Azure state before approved production changes.

Signal 03

In operations, Custom question answering appears beside answer tests, confidence logs, content refresh queues, where support teams separate configuration, use, ownership, and platform behavior during incidents and monthly reviews.

When this becomes relevant

Specific situations where this term helps solve real Azure design, operations, migration, security, reliability, cost, or governance problems.

  • Design or review production work where Custom question answering affects cost, performance, ownership, or reliability.
  • Troubleshoot an incident, report variance, or release concern using evidence tied to Custom question answering.
  • Create architecture, audit, or operations evidence for a change involving Custom question answering.

Real-world case studies

Different enterprise-style examples that show the term being used to hit measurable objectives.

Case study 01

Warranty support deflection

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

Northwind Appliances, a consumer manufacturing organization, needed to reduce repetitive warranty-policy calls while keeping published answers consistent with legal-approved content. The team used Custom question answering to answer common support questions from governed sources while protecting production evidence and keeping ownership clear.

Business/Technical Objectives
  • Deflect at least 25 percent of warranty policy contacts
  • Keep answer confidence evidence for weekly reviews
  • Prevent unapproved policy text from being published
  • Prepare a migration backlog before service retirement milestones
Solution Using Custom question answering

Architects designed the approach around Custom question answering by creating a custom question answering project from approved policy pages, deploying a knowledge base, and routing low-confidence answers to agents. They integrated Azure AI Language, Bot Service, Application Insights, content approval workflows, and support CRM so support, security, finance, and engineering teams worked from the same facts. Operators captured read-only Azure CLI output, portal screenshots, dashboard links, and change records before any production adjustment. Security reviewers checked least-privilege access, data exposure, and retention rules. The rollout included owner tags, alert thresholds, a rollback or cleanup step, and a weekly review of the first production signals. This kept the work practical: one named term, one measurable operating control, and one accountable owner for follow-up.

Results & Business Impact
  • Warranty policy contacts dropped 29 percent in the pilot
  • Weekly reviews used confidence and fallback reports
  • Content approval blocked two outdated policy articles
  • The migration backlog listed owners, risks, and target replacement options
Key Takeaway for Glossary Readers

Custom question answering is valuable when teams connect Azure configuration to measurable business outcomes, ownership, and operational proof.

Case study 02

Employee benefits assistant

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

Veridian BioLabs, a biotechnology organization, needed to answer employee benefits questions during open enrollment without overwhelming the HR help desk. The team used Custom question answering to provide consistent answers from curated HR materials while protecting production evidence and keeping ownership clear.

Business/Technical Objectives
  • Reduce HR email volume by 30 percent during enrollment
  • Restrict internal benefits answers to employees
  • Detect questions with low confidence daily
  • Update answers within two business days of policy changes
Solution Using Custom question answering

Architects designed the approach around Custom question answering by building a project from HR FAQ content, testing representative questions, and adding fallback guidance for personal account issues. They integrated Azure AI Language, Teams bot channels, Entra ID access groups, Application Insights, and HR content management so support, security, finance, and engineering teams worked from the same facts. Operators captured read-only Azure CLI output, portal screenshots, dashboard links, and change records before any production adjustment. Security reviewers checked least-privilege access, data exposure, and retention rules. The rollout included owner tags, alert thresholds, a rollback or cleanup step, and a weekly review of the first production signals. This kept the work practical: one named term, one measurable operating control, and one accountable owner for follow-up.

Results & Business Impact
  • HR email volume dropped 34 percent during the enrollment window
  • Employee-only access was enforced through approved bot channels
  • Daily reports identified low-confidence questions for HR review
  • Policy changes were reflected in the project within one business day
Key Takeaway for Glossary Readers

Custom question answering is valuable when teams connect Azure configuration to measurable business outcomes, ownership, and operational proof.

Case study 03

Public transit help bot

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

HarborTransit Authority, a public transportation organization, needed to answer rider questions about fares, lost items, and accessibility services across web and mobile channels. The team used Custom question answering to improve self-service while preserving escalation paths while protecting production evidence and keeping ownership clear.

Business/Technical Objectives
  • Resolve 40 percent of common rider questions without agent handoff
  • Keep accessibility answers reviewed by policy owners
  • Maintain bot response time below two seconds
  • Track unanswered topics for monthly content updates
Solution Using Custom question answering

Architects designed the approach around Custom question answering by organizing rider FAQs into a custom question answering project, deploying it behind a bot, and measuring fallback rates by topic. They integrated Azure AI Language, Azure Bot Service, API Management, Azure Monitor, and accessibility content reviews so support, security, finance, and engineering teams worked from the same facts. Operators captured read-only Azure CLI output, portal screenshots, dashboard links, and change records before any production adjustment. Security reviewers checked least-privilege access, data exposure, and retention rules. The rollout included owner tags, alert thresholds, a rollback or cleanup step, and a weekly review of the first production signals. This kept the work practical: one named term, one measurable operating control, and one accountable owner for follow-up.

Results & Business Impact
  • Self-service resolved 43 percent of common rider questions
  • Accessibility content owners reviewed every production answer
  • Bot response time stayed at 1.3 seconds P95
  • Monthly content updates added 18 missing rider topics
Key Takeaway for Glossary Readers

Custom question answering is valuable when teams connect Azure configuration to measurable business outcomes, ownership, and operational proof.

Why use Azure CLI for this?

Use Azure CLI for Custom question answering to capture repeatable evidence, compare live settings with documented intent, and investigate production questions without changing the JSON engine.

CLI use cases

  • Confirm the active scope, owner, and live Azure configuration before approving a change involving Custom question answering.
  • Export current evidence for incident timelines, audit records, pull requests, and architecture or finance reviews.
  • Compare development, staging, and production when cost, performance, access, or monitoring behavior differs unexpectedly.

Before you run CLI

  • Confirm the active tenant, subscription, management group or resource group, and exact resource names before running commands.
  • Start with read-only commands and avoid mutating, cost-impacting, or security-impacting changes unless a ticket approves them.
  • Capture expected state, business owner, evidence window, rollback path, and maintenance constraints before modifying production resources.

What output tells you

  • It shows where Custom question answering is configured, observed, or missing and whether live Azure state matches the intended design.
  • It exposes scope, resource, metric, tag, policy, identity, endpoint, or status values needed for troubleshooting.
  • It creates repeatable evidence that can be pasted into runbooks, incident summaries, audit records, and release reviews.

Mapped Azure CLI commands

Custom question answering operations

direct
az cognitiveservices account show --name <language-resource> --resource-group <resource-group>
az cognitiveservices accountdiscoverAI and Machine Learning
az rest --method get --uri https://<language-endpoint>/language/query-knowledgebases/projects?api-version=2021-10-01
az restdiscoverAI and Machine Learning
az rest --method post --uri https://<language-endpoint>/language/:query-knowledgebases?api-version=2021-10-01 --body @question.json
az restdiscoverAI and Machine Learning

Architecture context

Technically, Custom question answering is a language-service project that indexes question-answer content, deploys a knowledge base endpoint, and returns ranked answers through API calls. Inspect project language, sources, question pairs, deployment name, endpoint, confidence score, active test set, authoring access, and retirement migration plan. Validate answer quality, source ownership, RBAC, endpoint privacy, confidence thresholds, fallback behavior, and migration readiness before production use. Review retirement timelines, Foundry migration options, orchestration workflow, content freshness, and bot handoff; it influences support deflection, answer governance, bot accuracy, content ownership, and migration risk.

Security

Security for Custom question answering starts with knowing who can view, change, export, or act on the evidence. Use least-privilege Azure RBAC, Microsoft Entra identities, managed identities where relevant, private or restricted data paths, and logged approval workflows. Avoid exposing knowledge base sources, endpoints, keys, sample questions, customer chat transcripts, internal policies, and confidence logs in dashboards, tickets, exports, repositories, or scripts. For Custom question answering, source documents and answer logs may include regulated or internal knowledge, so project access and endpoint exposure must stay scoped. A secure design records owner, scope, allowed readers, change authority, retention expectations, break-glass path, and review cadence so troubleshooting does not become a reason for broad access or unmanaged data sharing.

Cost

Cost for Custom question answering shows up through language resource transactions, bot traffic, content maintenance, migration work, duplicate test projects, and support time for low-quality answers. Measure the signal before changing the setting or blaming the platform, and track ownership, exceptions, and review dates. A cheap configuration for one workload can be expensive for another when traffic patterns, retention, tagging, query shape, or ownership boundaries change. Use tags, budgets, alerts, exports, and per-scope dashboards so product owners can see which behavior drives spend. The strongest cost review connects dollars to a real behavior, such as requests, storage, idle capacity, alerts, shared services, or untagged resources.

Reliability

Reliability for Custom question answering depends on predictable behavior during spikes, month-end processes, deployment changes, regional events, or dependency failures. Test project deployment state, answer confidence, source refresh, endpoint health, bot fallback, language coverage, and migration plan stability with production-shaped data, realistic time windows, and documented recovery steps. Operators should know which symptoms indicate stale data, missing tags, throttling, bad filters, alert noise, or resource pressure. Include rollback or mitigation steps before changing production resources or cost controls, because the setting often affects more than one team. Review the runbook during planned tests. The goal is not only availability; users need correct signals, acceptable response time, and a known path when conditions change.

Performance

Performance for Custom question answering is measured through answer latency, confidence distribution, source ranking, concurrent question volume, bot handoff time, and end-user resolution rate. Review the signal with production-shaped data instead of tiny development samples or one-day cost snapshots. Azure Monitor metrics, Cost Management views, CLI output, SDK diagnostics, and portal evidence should tell the same story. Tune the design only after separating application delays, billing latency, tagging gaps, and configuration drift. A good performance fix reduces latency, noise, or operator effort without weakening security, correctness, allocation accuracy, or recovery. Capture baseline, change, and rollback evidence together. Re-test after deployments because traffic, tags, indexes, and usage patterns can shift the result.

Operations

Operations for Custom question answering should be repeatable enough that a second engineer can verify the same facts without tribal knowledge. Keep authoring workflow, test questions, deployed project names, content owners, answer review cadence, endpoint monitoring, and migration backlog documented with deployment source, owner, change history, dashboard links, and escalation contacts. Use read-only Azure CLI checks, portal review, Azure Monitor or Cost Management views, and export evidence to compare intended state with live behavior. Runbooks should say what is safe to inspect, what requires approval, and what evidence must be captured before and after a change. Review the record after each production change. Good operations make the term a checked production control, not a hidden implementation choice.

Common mistakes

  • Treating Custom question answering as a label instead of checking the Azure scope, owner, access path, and evidence source.
  • Relying on one portal screenshot without confirming the active subscription, time range, filters, and resource scope.
  • Running a mutating or cost-impacting command before confirming permissions, rollback steps, and stakeholder approval.