A global e-commerce company receives customer support emails in over 30 languages. They want to automatically route each email to the correct department (Billing, Technical Support, or Returns) and also extract the order number and the product name mentioned in the email. The solution must be able to identify the language of each email before further processing. Which combination of Azure AI Language features should they use?
Language Detection first identifies the email's language so downstream processing can use the correct language model. Custom Text Classification, trained on labeled support tickets, assigns the email to the right department (e.g., refunds, technical support). Entity Recognition then extracts structured data points such as order numbers and product names using prebuilt or custom entity types, enabling automated follow-up. Together these three capabilities cover the full triage workflow.
Why this answer
The scenario requires three distinct capabilities: Language Detection to identify the email's language (a prerequisite for further processing), Custom Text Classification to route emails to the correct department (Billing, Technical Support, or Returns), and Entity Recognition to extract the order number and product name. Azure AI Language provides these as separate, combinable features that directly map to the stated requirements.
Exam trap
The trap here is that candidates often confuse Key Phrase Extraction with Entity Recognition, or assume Sentiment Analysis is needed for routing, when in fact the scenario's explicit requirements (language identification, department routing, and specific entity extraction) map directly to Language Detection, Custom Text Classification, and Entity Recognition.
How to eliminate wrong answers
Option B is wrong because Key Phrase Extraction and Sentiment Analysis do not route emails to departments or extract structured entities like order numbers and product names; they only identify key terms and sentiment polarity. Option C is wrong because it lacks Language Detection, which is explicitly required to identify the language before further processing, and Sentiment Analysis is irrelevant to routing or entity extraction. Option D is wrong because it omits Language Detection and Entity Recognition, and Sentiment Analysis is unnecessary for the routing and extraction tasks.