Courseiva

CCNA Implement natural language processing solutions Questions

75 of 156 questions · Page 1/3 · Implement natural language processing solutions · Answers revealed

1
MCQhard

You have a Conversational Language Understanding (CLU) project in Azure AI Language. Users frequently type utterances such as 'Book a flight from Seattle to Tokyo next Friday for two people.' The solution must extract the origin city, destination city, date, and passenger count as separate structured values so the booking system can act on them. You need to configure the project to capture these values. What should you do?

A.Add more intents and assign each utterance to a single intent.
B.Enable sentiment analysis and opinion mining on the CLU project.
C.Add entities to the project and label them in the training utterances, using prebuilt entities where available.
D.Increase the training data by duplicating existing utterances with slight wording changes.
AnswerC

CLU extracts entities that are defined and labeled in the training utterances. Adding entities for origin, destination, date, and passenger count and labeling their spans teaches the model to return those values as structured fields. Using prebuilt components such as geography or number where available improves accuracy without building everything from scratch.

Why this answer

In Conversational Language Understanding, entity extraction depends on defining entities and labeling their occurrences in training utterances. Adding entities for the four values and labeling them, using prebuilt components such as geography and number where applicable, enables the model to return those values as structured fields for the booking system.

Exam trap

The trap here is assuming intents alone can produce structured values, when only labeled entities yield the extracted fields.

2
MCQhard

Refer to the exhibit. You send this request to the Conversational Language Understanding API. The response includes the intent 'BookFlight' with entities 'FromCity: Seattle' and 'ToCity: Boston', but the 'Date' entity is missing. What is the most likely cause?

A.The stringIndexType should be 'Utf16CodeUnit'
B.The API version does not support entity extraction
C.The endpoint is pointing to the wrong deployment
D.The model was not trained to recognize date entities
AnswerD

Entity extraction depends entirely on labelled training utterances. If the model was never trained with examples containing date entities, the runtime cannot recognise them, so 'Date' is omitted even though intent and city entities resolve correctly.

Why this answer

The Conversational Language Understanding (CLU) API returns only intents and entities that the deployed model was explicitly trained to recognize. If the training data did not include labeled 'Date' entities, the model will not extract them regardless of the input text. The API itself supports entity extraction, and the endpoint and string index type settings do not affect whether a specific entity type is recognized.

Exam trap

The trap here is that candidates may assume the API automatically extracts common entities like dates (similar to LUIS's prebuilt entities), but CLU requires all entities to be explicitly defined and trained in the model.

How to eliminate wrong answers

Option A is wrong because the stringIndexType parameter (e.g., 'Utf16CodeUnit') controls how offsets are returned, not whether entities are extracted; it has no impact on entity recognition. Option B is wrong because all stable versions of the Conversational Language Understanding API (e.g., 2023-04-01) support entity extraction as a core feature. Option C is wrong because pointing to the wrong deployment would cause a deployment-not-found error or return results from a different model, but the response correctly returned the 'BookFlight' intent and two city entities, indicating the correct deployment was used.

3
MCQhard

A company uses Azure AI Language Service with Custom Entity Recognition to extract invoice fields. The model correctly extracts invoice numbers but fails to extract dates in the format 'dd/mm/yyyy'. The training data includes dates in 'mm/dd/yyyy' format. What is the most likely issue?

A.The training data does not contain examples with the 'dd/mm/yyyy' format
B.The dates exceed the maximum entity length
C.The language detection is incorrectly identifying the locale
D.The model is overfitting to invoice numbers
AnswerA

Custom Entity Recognition learns patterns from labelled examples, so a model trained only on 'mm/dd/yyyy' dates has no signal for the day-first format. Adding 'dd/mm/yyyy' examples is required for it to extract those dates correctly.

Why this answer

Custom Entity Recognition in Azure AI Language Service learns patterns from labeled training data. Since the training data only contains dates in 'mm/dd/yyyy' format, the model has not seen any examples of 'dd/mm/yyyy' and therefore cannot generalize to that format. The model relies on the exact token sequences and date structures present in the training set, so missing format variations directly cause extraction failures.

Exam trap

The trap here is that candidates may assume the model can infer date formats from context or that language detection handles locale-specific formatting, but Custom Entity Recognition strictly learns from labeled examples and does not apply automatic format normalization.

How to eliminate wrong answers

Option B is wrong because the maximum entity length in Custom Entity Recognition is configurable (default 500 characters) and 'dd/mm/yyyy' dates are well within that limit, so length is not the issue. Option C is wrong because language detection is not used for Custom Entity Recognition; the service operates on the provided text without automatic locale detection, and locale is set manually during project creation. Option D is wrong because overfitting to invoice numbers would cause poor performance on other entities, but the model correctly extracts invoice numbers and only fails on dates, indicating a training data coverage gap rather than overfitting.

4
Multi-Selecteasy

Which TWO capabilities are provided by the Azure AI Language service?

Select 2 answers
A.Text translation.
B.Speech-to-text conversion.
C.Custom text classification.
D.Image captioning.
E.Key phrase extraction.
AnswersC, E

Custom text classification is a prebuilt-and-customisable Azure AI Language capability that trains a model on labelled data to assign your own categories to text, satisfying the capability question. It is distinct from translation and speech, which belong to other Azure AI services.

Why this answer

Option C (Custom text classification) is correct because Azure AI Language includes a custom text classification feature that lets you train models to categorize documents or text into user-defined classes. Option E (Key phrase extraction) is correct because Azure AI Language provides prebuilt key phrase extraction to identify the main talking points in unstructured text. Option A (Text translation) is not part of Azure AI Language; translation is handled by Azure AI Translator.

Option B (Speech-to-text conversion) belongs to Azure AI Speech, not Azure AI Language. Option D (Image captioning) is a computer vision capability in Azure AI Vision, not Azure AI Language.

Exam trap

The trap here is that candidates confuse the Azure AI Language service with other Azure AI services (e.g., Translator, Speech, Vision) that handle specific modalities like translation, audio, or images, leading them to select options that belong to those separate services.

5
MCQeasy

A retailer wants to analyze thousands of product reviews per day and needs to know which aspects of the products customers mention, such as battery life or screen quality, and whether sentiment toward each aspect is positive or negative. The reviews are already stored as text in an Azure SQL Database. Which Azure AI Language feature should you use?

A.Custom text classification with a project trained on labeled reviews
B.Document-level sentiment analysis with the default opinionMining setting disabled
C.Opinion mining with sentiment analysis on the analyze-text endpoint
D.Key phrase extraction on each review to list the most frequent terms
AnswerC

Opinion mining extends sentiment analysis by returning aspect-level assessments, so the response identifies terms such as battery life or screen quality and pairs each with a target and a sentiment. This directly answers the requirement to know which product aspects customers mention and whether sentiment toward each is positive or negative.

Why this answer

Opinion mining, exposed as an extension of sentiment analysis on the analyze-text endpoint, returns aspect-level targets with individual sentiment labels and confidence scores. That output maps directly to the retailer's need to know which product aspects are mentioned and whether sentiment toward each is positive or negative, without the labeling overhead of a custom classification project.

Exam trap

The trap here is stopping at document-level sentiment, which gives one overall polarity and never attributes that polarity to individual product aspects.

6
MCQhard

You are building a custom named entity recognition (NER) model using Azure AI Language. After labeling 200 documents, you train the model and achieve 85% precision but only 60% recall. Which action is most likely to improve recall?

A.Lower the confidence threshold
B.Increase the training hours
C.Increase the number of labeled documents, especially those containing the target entities
D.Switch to a different Azure AI Language feature
AnswerC

Low recall means the model misses many true entities, typically because training data under-represents their contexts and variations. Adding more labelled documents containing the target entities exposes the model to those patterns, raising recall while precision stays broadly stable.

Why this answer

Low recall in a custom NER model typically indicates that the model is failing to identify many instances of the target entities. Increasing the number of labeled documents, especially those containing the target entities, provides more positive examples for the model to learn from, directly improving its ability to recognize those entities and thus boosting recall.

Exam trap

The trap here is that candidates often confuse confidence threshold tuning with a data quality fix, thinking lowering the threshold will magically fix recall, when in reality it only trades precision for recall without addressing the root cause of insufficient training examples.

How to eliminate wrong answers

Option A is wrong because lowering the confidence threshold would increase the number of predictions (including false positives), which could improve recall but at the cost of significantly reducing precision, and it does not address the underlying issue of insufficient training examples for the target entities. Option B is wrong because increasing training hours does not improve model performance if the training data is insufficient or imbalanced; the model will simply overfit or plateau without more labeled examples. Option D is wrong because switching to a different Azure AI Language feature (e.g., from custom NER to pre-built entity extraction) would not solve the recall problem for custom entities, as pre-built features are not designed to recognize domain-specific entities.

7
MCQmedium

You are using Azure AI Language's custom question answering feature. Your knowledge base contains 500 FAQ pairs. Users report that the bot returns irrelevant answers when their questions are phrased differently from the stored FAQs. You want to improve the bot's ability to match paraphrased questions without retraining a full model. Which action should you take?

A.Enable the 'chit-chat' personality in the project settings to make responses more conversational.
B.Increase the confidence threshold in the project settings to filter low-scoring answers.
C.Add alternative question phrasings to each FAQ pair in the knowledge base.
D.Switch the project to use a custom text classification model instead of question answering.
AnswerC

Custom question answering uses the alternative questions as additional training data to learn semantic matches. Adding paraphrased variations directly improves the model's ability to match differently worded user queries to the correct FAQ, without requiring a separate retraining pipeline.

Why this answer

Custom question answering learns from the question-answer pairs and their alternative phrasings. Adding alternative questions provides the model with more surface forms of the same intent, which improves semantic matching for paraphrased user queries without requiring a separate model training process.

Exam trap

The trap here is assuming that tuning thresholds or enabling chit-chat improves semantic matching, when the real lever is adding alternative question phrasings to the knowledge base.

8
MCQmedium

Refer to the exhibit. You called the Named Entity Recognition API on a document. Which entity type is "Seattle"?

A.Organization
B.Location
C.Person
D.City
AnswerB

"Seattle" denotes a geographic place, so the Named Entity Recognition model classifies it under the Location entity category, which covers cities, countries and regions. This satisfies the stem's requirement to identify the entity type returned for a place name, rather than Person, Organisation or DateTime.

Why this answer

The Named Entity Recognition (NER) API in Azure AI Language identifies 'Seattle' as a Location entity because it is a recognized geographical place. The API uses a pre-trained model that categorizes entities into types such as Location, Person, Organization, etc., and 'Seattle' falls under the Location type based on its semantic context in the document.

Exam trap

The trap here is that candidates may confuse the specific instance (e.g., 'City') with the official entity type label used by the API, leading them to choose 'City' instead of the correct 'Location' type.

How to eliminate wrong answers

Option A is wrong because 'Seattle' is not an organization; it is a city, and the NER API would classify it as a Location, not an Organization (which typically refers to companies, agencies, or institutions). Option C is wrong because 'Seattle' is not a person; the NER API's Person type is reserved for names of individuals, not places. Option D is wrong because 'City' is not a standard entity type in the NER API's output; the API uses broader categories like Location, and 'City' is a subtype or specific instance within Location, not a top-level entity type.

9
MCQmedium

You are building a solution that uses Azure AI Language to analyze transcribed call-center conversations. The transcripts are stored as plain text in Azure Blob Storage. You need to identify the specific products, dates, and monetary amounts mentioned in each conversation while distinguishing them from generic nouns. You also need to return the character offset and length for each detected mention so the UI can highlight them. Which Azure AI Language feature should you use?

A.Key Phrase Extraction
B.Named Entity Recognition (NER)
C.Extractive Summarization
D.Conversation Summarization
AnswerB

NER returns entity categories such as Product, DateTime, and Quantity with the exact text, offset, and length for each mention, which supports highlighting in the UI. It distinguishes specific entity types from generic tokens, matching the requirement to isolate products, dates, and money amounts from ordinary nouns.

Why this answer

Named Entity Recognition in Azure AI Language is designed to detect entity categories such as Product, DateTime, and Quantity and to return each mention with its offset and length. Those offsets allow the application to highlight exact spans in the transcript, and the category labels let developers filter products from dates and amounts.

Exam trap

The trap here is assuming any phrase extraction feature returns entity categories and offsets, when only NER provides typed entities with span metadata.

10
MCQhard

You are designing a solution that must extract personally identifiable information (PII) from medical records stored in Azure Blob Storage. The solution must redact the PII before storing the results. Which combination of Azure services should you use?

A.Use Azure AI Language's PII detection feature and a custom Azure Function to redact.
B.Use Azure AI Search with cognitive skills for PII detection.
C.Use Azure OpenAI to detect and redact PII.
D.Use Text Analytics for Health and then manually redact.
AnswerA

Azure AI Language's PII detection returns entity offsets and categories, letting a custom Azure Function mask or replace each span before writing results back to Blob Storage. This satisfies the stem's redaction-before-storage constraint, since the Function performs the redaction step rather than relying on a service that only detects.

Why this answer

Azure AI Language's PII detection feature is specifically designed to identify and categorize PII entities in text, and combining it with a custom Azure Function allows you to programmatically redact those entities before storing the results in Blob Storage. This provides a serverless, scalable pipeline that meets the requirement of extracting and redacting PII from medical records without manual intervention.

Exam trap

The trap here is that candidates often confuse Text Analytics for Health (which is for medical entity extraction) with Azure AI Language's PII detection (which is for privacy compliance), leading them to choose Option D despite its lack of redaction capabilities.

How to eliminate wrong answers

Option B is wrong because Azure AI Search with cognitive skills is primarily for indexing and enriching searchable content, not for direct PII redaction before storage; it would require additional custom logic to achieve redaction. Option C is wrong because Azure OpenAI is a general-purpose language model that lacks built-in, deterministic PII detection and redaction capabilities, and relying on it for compliance-grade PII handling introduces risks of inconsistent or incomplete redaction. Option D is wrong because Text Analytics for Health is optimized for extracting medical entities (e.g., diagnoses, medications) and does not natively support PII detection or redaction; manual redaction is error-prone and violates the automation requirement.

11
MCQmedium

You are building an Azure AI Language solution that analyzes customer support emails. You need to detect the language of each email before routing it to the correct translation pipeline. You call the Language Detection API with the following request body: {"kind": "LanguageDetection", "analysisInput": {"documents": [{"id": "1", "text": "Bonjour, je besoin d'aide avec mon compte."}]}}. What will the response contain?

A.The translated version of the text in English, because the default target language is English.
B.A list of all supported languages with confidence scores for each, allowing you to select the highest-scoring language.
C.An error because the text contains an apostrophe, which is not supported in the JSON payload.
D.A single document result with the detected language code 'fr', a confidence score, and the original text with offsets.
AnswerD

The Language Detection API returns the detected language ISO code, a confidence score between 0 and 1, and the analyzed text with character offsets for each document. For the provided French text, the response includes the language code 'fr' and a high confidence score, enabling downstream routing to French-specific processing.

Why this answer

The Language Detection API returns the detected language code, confidence score, and text metadata for each document. It does not return all languages, translated text, or errors for common punctuation. The correct response includes the ISO code 'fr' and a confidence score, which you can use to route the email appropriately.

Exam trap

The trap here is assuming the API returns multiple candidate languages or performs translation, when it only identifies the single most likely language.

12
Multi-Selectmedium

You are deploying an Azure AI Language custom text classification model. You need to ensure the model meets performance requirements before promoting it to production. Which two actions should you take? (Choose two.)

Select 2 answers
A.Evaluate the model on a held-out test set that was not used during training.
B.Review the confusion matrix to understand which classes are frequently misclassified.
C.Ensure the model achieves at least 95% accuracy on a cross-validation split.
D.Use the training set to compute accuracy and ensure it is above 90%.
E.Compare the model's performance to a baseline model that always predicts the most common class.
AnswersA, B

Evaluating on a held-out test set never seen during training yields unbiased precision, recall and F1 scores, confirming the model generalises rather than memorising training data. This validation gate must pass before promotion to production, satisfying the performance-verification requirement.

Why this answer

Option A is correct because evaluating the custom text classification model on a held-out test set that was never used during training provides an unbiased estimate of generalization performance, which is essential before promoting the model to production. Option B is correct because reviewing the confusion matrix reveals per-class precision/recall patterns and shows exactly which classes are frequently misclassified, enabling targeted data or label improvements. Option C is incorrect because Azure AI Language does not require a fixed 95% accuracy threshold on a cross-validation split; performance targets are scenario-specific and cross-validation is not the standard evaluation workflow for this service.

Option D is incorrect because computing accuracy on the training set measures memorization rather than generalization and will be optimistically biased. Option E is incorrect because comparing to a majority-class baseline is a useful sanity check but is not one of the required actions for validating a custom text classification model before production.

Exam trap

The trap here is that candidates often assume a fixed accuracy threshold (like 95%) is required for production promotion, but Microsoft Azure AI Language custom text classification does not mandate any specific metric value—the focus is on evaluating generalization via a held-out test set and analyzing misclassifications with the confusion matrix.

13
MCQeasy

A company wants to build a solution that can identify and redact personally identifiable information (PII) from customer support transcripts. The solution must handle multiple languages. Which Azure AI service should be used?

A.Azure AI Content Safety
B.Azure AI Document Intelligence
C.Azure AI Translator
D.Azure AI Language - PII Detection
AnswerD

Azure AI Language's PII detection feature natively identifies and redacts personal data across multiple languages, directly satisfying the stem's multilingual requirement. Its prebuilt entity models recognise names, addresses, and phone numbers in transcripts without custom training, unlike translation or vision services that lack redaction capability.

Why this answer

Azure AI Language's PII Detection feature is specifically designed to identify and redact personally identifiable information in text across multiple languages. It supports over 30 languages and can detect entities such as names, addresses, phone numbers, and credit card numbers, making it the correct choice for this multilingual PII redaction requirement.

Exam trap

The trap here is that candidates may confuse Azure AI Language's PII detection with Azure AI Content Safety, assuming 'safety' includes privacy, but Content Safety addresses content moderation (e.g., toxicity) rather than PII redaction.

How to eliminate wrong answers

Option A is wrong because Azure AI Content Safety focuses on detecting harmful or offensive content (e.g., hate speech, self-harm) rather than PII entities. Option B is wrong because Azure AI Document Intelligence is optimized for extracting structured data from documents (e.g., invoices, forms) and does not provide native PII detection or redaction capabilities. Option C is wrong because Azure AI Translator is a machine translation service that translates text between languages but does not identify or redact PII; it can be used alongside PII detection but is not a standalone solution for this task.

14
MCQeasy

You need to build a solution that extracts the main topics discussed in recorded customer service calls. The audio is already transcribed to text, and you must return the most salient phrases without any predefined categories. Which Azure AI Language feature should you use?

A.Named entity recognition
B.Extractive summarization
C.Key phrase extraction
D.Custom text classification
AnswerC

Key phrase extraction returns the main talking points from a document without requiring predefined categories. Because the transcripts have no labels and the goal is to surface salient topics, this feature matches the requirement directly. It is available through the analyze-text endpoint and returns a list of key phrases per document, which can be aggregated across calls to summarize discussion themes.

Why this answer

Key phrase extraction is the Azure AI Language feature designed to surface the main talking points in text without any predefined categories or training. It returns a list of salient phrases per document, which can be aggregated across call transcripts to reveal discussion themes. Custom classification needs labeled classes, entity recognition targets named entities rather than topics, and extractive summarization returns sentences instead of topic phrases.

Exam trap

The trap here is conflating summarization with key phrase extraction, when the requirement for short salient phrases without predefined categories points specifically to key phrase extraction.

15
MCQhard

A financial services company uses Azure AI Language's custom text classification to categorize loan applications as 'Approved', 'Denied', or 'Review Required'. The model is trained on historical data but is producing poor accuracy on new applications. The data scientist suspects data leakage between training and test sets. What should the data scientist do to validate this?

A.Increase the training dataset size and retrain the model.
B.Use k-fold cross-validation during training.
C.Adjust the classification confidence threshold.
D.Split the data chronologically and ensure no overlapping data between train and test sets.
AnswerD

Chronological splitting prevents future loan applications leaking into training, which inflates test accuracy and masks poor generalisation. Random splits on time-ordered financial data let later patterns contaminate training, so temporal separation is the correct validation for suspected leakage between train and test sets.

Why this answer

Data leakage occurs when information from outside the training set inadvertently influences the model, often due to overlapping or non-independent data splits. By splitting the data chronologically (e.g., training on older applications and testing on newer ones), the data scientist ensures that no future information leaks into the training process, which directly validates whether temporal leakage is causing poor accuracy. This approach is standard for time-series or sequential data like loan applications, where patterns may shift over time.

Exam trap

The trap here is that candidates often confuse data leakage with model performance issues and choose to increase data or adjust thresholds, not realizing that the core problem is the integrity of the train-test split, which must be validated through chronological separation.

How to eliminate wrong answers

Option A is wrong because simply increasing the training dataset size does not address data leakage; if the leakage exists, more data will only reinforce the spurious correlations. Option B is wrong because k-fold cross-validation randomly shuffles data, which can actually mask or even exacerbate leakage by mixing future and past samples across folds, making it unsuitable for detecting temporal leakage. Option C is wrong because adjusting the classification confidence threshold only changes the decision boundary for predictions, not the underlying data split or leakage issue, so it cannot validate whether leakage exists.

16
MCQhard

A healthcare company uses Azure AI Language's custom question answering to build a bot that answers patient FAQs. The knowledge base contains documents with sensitive information. The company needs to ensure that the bot only returns answers from documents that the user is authorized to access. What should they implement?

A.Configure the bot to prompt users for credentials before answering and validate against Azure Active Directory.
B.Enable role-based access control (RBAC) on the Azure AI Language resource.
C.Implement document-level access control by using metadata tags and filtering in the query.
D.Use separate knowledge bases for each user group and route queries based on user identity.
AnswerC

Azure AI Language custom question answering supports metadata on documents, which can be used to tag documents with access levels or user groups. At query time, you can filter results based on metadata, ensuring users only get answers from documents they are authorized to see. This is the recommended approach for document-level security.

Why this answer

The correct solution is to use metadata tags on documents and apply filters during query execution. This allows the custom question answering service to return only answers from documents that match the user's authorization level. Other options either address resource management, require complex duplication, or only authenticate without enforcing access control.

Exam trap

The trap here is confusing authentication with authorization; authenticating a user does not automatically restrict which documents they can retrieve answers from.

17
MCQmedium

You are deploying a question answering solution using Azure AI Language. The solution must be able to provide answers from a set of frequently asked questions (FAQs) in PDF format. What should you do?

A.Use Azure AI Search with cognitive skills.
B.Create a custom question answering project and add the PDF as a source.
C.Use Azure OpenAI with a system prompt containing the PDFs.
D.Use the pre-built question answering in Azure AI Language.
AnswerB

Adding the PDF as a source in a custom question answering project lets Azure AI Language extract question-and-answer pairs directly from the document, satisfying the FAQ-from-PDF requirement. Unlike unstructured text ingestion, this source type parses the PDF's structure into a searchable knowledge base without manual pair creation.

Why this answer

Azure AI Language's custom question answering feature allows you to directly upload a PDF as a knowledge source. The service automatically extracts Q&A pairs from the document, enabling the solution to answer questions based on the FAQ content without needing additional search or cognitive skill pipelines.

Exam trap

The trap here is that candidates often confuse the pre-built question answering (which is a generic, non-customizable service) with the custom question answering project, leading them to choose option D, or they overcomplicate the solution by selecting Azure AI Search with cognitive skills when a direct PDF ingestion capability exists.

How to eliminate wrong answers

Option A is wrong because Azure AI Search with cognitive skills is designed for indexing and enriching unstructured data with AI capabilities, but it does not natively extract Q&A pairs from PDFs or provide a direct question-answering interface; it would require building a custom Q&A pipeline on top of the search index. Option C is wrong because Azure OpenAI with a system prompt containing the PDFs would require manual prompt engineering and does not automatically parse or structure the FAQ content into a queryable knowledge base; it also incurs higher latency and cost for each query. Option D is wrong because the pre-built question answering in Azure AI Language is a general-purpose service that does not support custom sources like PDFs; it only works with predefined, built-in knowledge bases and cannot ingest your specific FAQ document.

18
MCQmedium

You are building an Azure AI Language solution that ingests support tickets and routes each ticket to the correct department. Each ticket must be assigned exactly one department, and departments are defined only by the examples you label in Language Studio. You need to build the model with the fewest labeling and configuration steps. Which project type and configuration should you use?

A.A custom multi-label classification project with one class per department
B.A custom single-label classification project with one class per department
C.A custom named entity recognition project with one entity type per department
D.A conversational language understanding project with one intent per department
AnswerB

Single-label classification assigns exactly one class per document, matching the requirement that each ticket maps to one department. Each department becomes a class, so labeling a ticket with its department directly trains the model. This is the minimal configuration because no multi-label scoring, entity extraction, or orchestration layer is needed, and the deployed model returns the single predicted department for routing.

Why this answer

The scenario requires exactly one department per ticket and departments defined purely by labeled examples, which is precisely what custom single-label classification provides. Each department maps to one class, so the deployed model returns a single predicted department that can drive routing without additional logic. The other project types either permit multiple labels, extract text spans, or model utterances, none of which enforces a single whole-document category.

Exam trap

The trap here is assuming that more expressive project types such as multi-label classification or entity recognition are always better, when the routing requirement of exactly one department per ticket makes single-label classification the correct and simplest choice.

19
MCQeasy

Your company uses Azure AI Language to analyze customer feedback. You need to extract key phrases from reviews in multiple languages. Which feature should you use?

A.Named entity recognition
B.Language detection
C.Key phrase extraction
D.Sentiment analysis
AnswerC

Key phrase extraction in Azure AI Language identifies the main concepts in text and natively supports multiple languages, satisfying the multilingual reviews constraint. It returns salient terms directly from each document, so no translation pipeline is needed before analysis.

Why this answer

Key phrase extraction is the correct feature because it is specifically designed to identify and extract the most important points or topics from text, regardless of the language. Azure AI Language's key phrase extraction supports multiple languages and returns a list of key phrases that represent the main subjects discussed in the customer feedback, which directly meets the requirement.

Exam trap

The trap here is that candidates often confuse key phrase extraction with named entity recognition, assuming that extracting important names or places is the same as extracting key topics, but NER focuses on specific entity types while key phrase extraction captures broader, contextually important phrases.

How to eliminate wrong answers

Option A is wrong because named entity recognition (NER) identifies and categorizes entities like people, organizations, and locations, not the key topics or phrases that summarize the feedback. Option B is wrong because language detection only identifies the language of the text and does not extract any content or key phrases from the reviews. Option D is wrong because sentiment analysis determines the overall emotional tone (positive, negative, neutral) of the text, not the key phrases or main topics.

20
Multi-Selecteasy

Which TWO capabilities are provided by Azure AI Language's pre-built entity recognition?

Select 2 answers
A.Identifying domain-specific medical terms
B.Identifying names of people
C.Extracting key phrases from text
D.Identifying organization names
E.Determining overall sentiment of the text
AnswersB, D

Pre-built NER in Azure AI Language includes a Person category that returns personal names such as individuals mentioned in text. This is a native pre-built entity type, requiring no custom training, so it directly satisfies the question's requirement for a provided entity recognition capability.

Why this answer

Azure AI Language's pre-built NER (Named Entity Recognition) model extracts general-purpose entities from unstructured text, and its entity categories explicitly include Person, so option B (identifying names of people) is correct. The same pre-built model also includes an Organization category, so option D (identifying organization names) is correct. Both are part of the standard entity taxonomy returned by the NER endpoint without any custom training.

Option A is wrong because domain-specific medical terms require the separate Text Analytics for Health feature, not the general pre-built NER model. Option C is wrong because key phrase extraction is a distinct Azure AI Language capability (the Key Phrase Extraction feature), not entity recognition. Option E is wrong because sentiment analysis is its own Azure AI Language feature, separate from NER.

Exam trap

The trap here is that candidates often confuse the distinct capabilities within Azure AI Language—entity recognition, key phrase extraction, and sentiment analysis—and assume they are all part of the same pre-built entity recognition feature.

21
MCQeasy

A team is developing a solution to automatically summarize long documents using Azure AI Language. Which feature should they use?

A.Sentiment analysis.
B.Key phrase extraction.
C.Extractive summarization.
D.Entity recognition.
AnswerC

Extractive summarization selects and returns the most salient existing sentences from the source document verbatim, which suits condensing long documents without generating new wording. Abstractive summarization would paraphrase instead, risking factual drift from the original text.

Why this answer

Extractive summarization is the correct feature because it specifically identifies and extracts the most important sentences from a document to create a concise summary. Azure AI Language's extractive summarization uses a ranking model to score sentences based on relevance and informativeness, directly addressing the requirement to automatically summarize long documents.

Exam trap

The trap here is that candidates often confuse key phrase extraction (which finds important words) with extractive summarization (which extracts entire sentences), leading them to choose Option B instead of the correct feature for document summarization.

How to eliminate wrong answers

Option A is wrong because sentiment analysis determines the overall positive, negative, or neutral sentiment of text, not the extraction of key content for summarization. Option B is wrong because key phrase extraction identifies individual words or short phrases that are important, but it does not produce a coherent summary of sentences or paragraphs. Option D is wrong because entity recognition identifies named entities like people, places, and organizations, but it does not extract or rank sentences to form a summary.

22
MCQhard

Based on the exhibit, which entity should you focus on improving by adding more labeled examples?

A.Date
B.OrderNumber
C.All entities need improvement.
D.ProductName
AnswerD

ProductName shows the weakest per-entity precision and recall in the exhibit, so adding labelled examples for it yields the greatest accuracy gain. Improving entities already scoring highly would waste labelling effort without lifting overall model performance.

Why this answer

The exhibit shows that ProductName has a recall of 0.65, which is lower than the recall for Date (0.98) and OrderNumber (0.99). Low recall indicates that the model is missing many true instances of ProductName. Adding more labeled examples specifically for ProductName will help the model learn its patterns better, improving recall and overall performance.

This aligns with the practice of iterative model improvement in custom entity extraction within Azure AI Language.

Exam trap

The trap is that candidates may choose 'All entities need improvement' (Option C) because they overlook the recall scores shown in the exhibit. While ProductName has low recall (0.65), Date and OrderNumber have very high recall (0.98 and 0.99), indicating they are already performing well. The pitfall is failing to compare the scores and identify the one entity with significantly lower recall.

How to eliminate wrong answers

Option A is wrong because Date likely has a high confidence score (as dates follow predictable formats), so adding more labeled examples would yield minimal improvement. Option B is wrong because OrderNumber, like dates, typically follows a structured pattern (e.g., alphanumeric codes), so the model already performs well on it. Option C is wrong because not all entities need improvement; only the entity with the lowest confidence (ProductName) should be prioritized for additional labeling to optimize effort and resources.

23
Multi-Selectmedium

Which TWO actions should you take to ensure that an Azure AI Language Service custom entity recognition model complies with data privacy regulations?

Select 2 answers
A.Use prebuilt entity recognition models instead of custom
B.Increase the number of training epochs
C.Enable diagnostic logging for audit trails
D.Configure data retention policies to delete data after processing
E.Anonymize or remove PII from training data
AnswersD, E

Configuring retention policies that delete utterance data after processing directly satisfies the data minimisation and storage limitation principles. Azure AI Language stores training utterances and their labelled entities in the project's storage account; purging them post-processing removes personal data from the training pipeline, limiting exposure without affecting the deployed model's inference capability.

Why this answer

Option D is correct because configuring data retention policies to delete data after processing ensures that sensitive text used by the Azure AI Language custom entity recognition model is not stored longer than necessary, directly supporting data minimization and storage-limitation requirements of privacy regulations such as GDPR. Option E is correct because anonymizing or removing PII from training data prevents the model from learning and potentially exposing personal data, reducing privacy risk at the source and aligning with principles of data protection by design. The other options do not address privacy compliance: A (using prebuilt models) changes model type but does not itself enforce privacy controls, B (increasing training epochs) only affects model accuracy/training time, and C (enabling diagnostic logging) may aid auditing but can also create additional personal data retention unless carefully governed, so it is not one of the two required actions here.

Exam trap

The trap here is that candidates confuse operational features like logging or model tuning with data privacy controls, mistakenly thinking audit trails or increased epochs satisfy compliance requirements.

24
MCQmedium

Refer to the exhibit. You submit this request to Azure AI Language's conversational language understanding (CLU) for the 'FlightBooking' project. The model correctly identifies the intent as 'BookFlight' and extracts entities: 'Seattle' as FromCity, 'New York' as ToCity, and 'June 15th' as Date. What is the next step for the application?

A.Call a separate booking API with the extracted entities to complete the reservation.
B.Use the CLU response to directly book the flight via the Azure AI Language service.
C.Prompt the user to rephrase the request because the intent is ambiguous.
D.Send another request to CLU to confirm the booking details.
AnswerA

CLU returns only intent and entity predictions; it performs no booking action itself. The application must pass the extracted FromCity, ToCity and Date values to a separate booking API to complete the reservation, which is the required next step.

Why this answer

After CLU extracts the intent and entities, the application must use those entities to call a separate booking API to complete the reservation. CLU itself does not perform bookings; it only provides language understanding. Option B is incorrect because the CLU response cannot directly book a flight.

Option C is incorrect because the intent is already clearly identified as 'BookFlight' and entities are extracted, so no rephrasing is needed. Option D is incorrect because sending another request to CLU would not confirm booking; confirmation is handled by the booking API.

25
MCQmedium

A developer is building a multilingual chatbot using Azure AI Language. The bot must detect the user's language automatically and route the query to the appropriate language-specific model. Which Azure AI Language feature should the developer use?

A.Translator API.
B.Conversational language understanding (CLU) with multilingual project.
C.Language detection API.
D.Custom text classification model.
AnswerC

The Language detection API returns the detected language and ISO code for input text, letting the bot identify the user's language before routing the query to the matching language-specific model. This satisfies the automatic detection requirement without manual selection.

Why this answer

The Language Detection API is the correct choice because it is specifically designed to identify the language of input text automatically, returning a language code and confidence score. This enables the chatbot to route the query to the appropriate language-specific model without requiring any prior training or configuration. The other options either require explicit language specification or are designed for different tasks like translation or intent classification.

Exam trap

The trap here is that candidates often confuse the Translator API's built-in language detection capability with the dedicated Language Detection API, assuming the Translator API is sufficient, but the exam expects you to choose the feature whose primary purpose matches the requirement—pure language detection—rather than a multi-purpose tool.

How to eliminate wrong answers

Option A is wrong because the Translator API is used for translating text from one language to another, not for detecting the source language; it does include language detection as a side feature, but its primary purpose and billing model are centered on translation, making it an indirect and less efficient choice for pure detection. Option B is wrong because Conversational Language Understanding (CLU) with a multilingual project is designed to understand intents and entities across multiple languages, but it requires the user to specify the language or rely on a separate detection step; it does not natively perform automatic language detection on raw input. Option D is wrong because Custom Text Classification is a supervised learning feature that requires labeled training data to classify text into custom categories; it is not designed for language identification and cannot detect languages without extensive training on language-labeled datasets.

26
MCQmedium

You are developing an Azure AI Language solution to analyze customer support tickets. Each ticket has a subject and a description. You need to automatically classify tickets into categories (e.g., 'billing', 'technical', 'account') and extract the product name mentioned. You have a labeled dataset of 10,000 tickets with category labels and product name annotations. The solution must be cost-effective and easy to retrain as new categories emerge. You want to use a single Azure AI Language resource. Which approach should you use?

A.Use custom text classification for category and key phrase extraction for product name.
B.Use conversational language understanding (CLU) to handle both classification and entity extraction in a single model.
C.Use custom text classification for category and custom named entity recognition for product name extraction.
D.Use custom text classification for category and prebuilt named entity recognition for product name extraction.
AnswerC

Both custom text classification and custom named entity recognition can be trained on the labeled dataset. They can be used within the same Azure AI Language resource, making the solution cost-effective and easy to retrain. This is the best approach.

Why this answer

The most cost-effective and retrainable approach is to use custom text classification for categorizing tickets and custom named entity recognition (NER) for extracting product names. Both are part of Azure AI Language and can be trained on your labeled dataset. Custom NER allows you to define your own entity types (e.g., product name) and is more accurate than prebuilt NER for domain-specific products.

Using a single Azure AI Language resource supports both features.

Exam trap

AI-102 often tests the choice between custom and prebuilt models; candidates may choose prebuilt NER for product names, not realizing that custom NER is needed for domain-specific entities.

How to eliminate wrong answers

Option A is wrong because key phrase extraction is unsupervised and may not accurately extract product names; it's not trainable on your specific annotations. Option B is wrong because Conversational Language Understanding (CLU) is designed for conversational apps (intents and entities) and may not be cost-effective or easy to retrain for this classification task; it's overkill and not optimized for document classification. Option D is wrong because prebuilt NER may not recognize your specific product names, especially if they are not common; custom NER is needed for domain-specific entities.

27
MCQmedium

You notice a spike in errors (HTTP 429) on a specific day. What is the most likely cause?

A.Network connectivity issues.
B.The number of calls exceeded the rate limit for the service tier.
C.Authentication tokens expired.
D.Invalid API keys were used.
AnswerB

HTTP 429 signals throttling: the subscription or resource tier's requests-per-second or token quota was exceeded, so Azure rejects calls until the window resets. A spike in call volume against a fixed tier limit is the classic trigger, distinguishing it from authentication (401) or server faults (500).

Why this answer

HTTP 429 (Too Many Requests) is a rate-limiting response that occurs when the number of API calls exceeds the allowed threshold for the service tier. In Azure AI services, each pricing tier has a specific requests-per-second (RPS) or requests-per-minute (RPM) limit, and exceeding this limit triggers a 429 error to protect backend resources.

Exam trap

In Azure AI services, HTTP 429 indicates rate limiting rather than service unavailability. Candidates often confuse 429 with 503 (service unavailable) or authentication errors (401/403).

How to eliminate wrong answers

Option A is wrong because network connectivity issues typically result in HTTP 4xx/5xx errors like 503 (Service Unavailable) or 504 (Gateway Timeout), not 429 which is explicitly a rate-limit response. Option C is wrong because expired authentication tokens cause HTTP 401 (Unauthorized) errors, not 429. Option D is wrong because invalid API keys result in HTTP 403 (Forbidden) or 401 errors, not 429.

28
MCQhard

You are building a custom text classification solution in Azure AI Language. You have a dataset with 10 categories and 1000 labeled documents. You need to choose the best project type. What should you use?

A.Conversational Language Understanding (CLU)
B.Key Phrase Extraction
C.Prebuilt Text Classification API
D.Custom text classification (single or multi-label)
AnswerD

Custom text classification supports both single-label and multi-label projects, letting each document map to one or several of the ten categories. This flexibility matches the dataset's structure, whereas other Azure AI Language project types cannot assign categories to documents.

Why this answer

Custom text classification (single or multi-label) is the correct project type because you have a labeled dataset with 10 categories and need to train a model to classify text into those specific categories. Azure AI Language provides a custom text classification feature that allows you to train a model using your own labeled data, supporting both single-label and multi-label classification scenarios. This is the only option that enables you to build a bespoke classifier tailored to your 10-category dataset.

Exam trap

The trap here is that candidates often confuse Conversational Language Understanding (CLU) with custom text classification, but CLU is specifically for conversational flows (intents and entities) and cannot be used for general document-level classification tasks.

How to eliminate wrong answers

Option A is wrong because Conversational Language Understanding (CLU) is designed for intent classification and entity extraction in conversational contexts (e.g., chatbots), not for general text classification with a fixed set of categories. Option B is wrong because Key Phrase Extraction is an unsupervised feature that extracts key terms from text, not a classification model that assigns predefined labels. Option C is wrong because the Prebuilt Text Classification API only supports a fixed set of built-in categories (e.g., sentiment, language detection) and cannot be trained on your custom 10-category dataset.

29
Multi-Selecteasy

Which TWO components are required to create a custom text classification model in Azure AI Language?

Select 2 answers
A.A set of labeled documents
B.A QnA Maker knowledge base
C.A project in Azure AI Language
D.A Language Understanding (LUIS) app
E.An Azure Functions app
AnswersA, C

Custom text classification is a supervised task, so the model learns decision boundaries from human-provided examples. Labelled documents supply those intent or class annotations; without them training cannot begin, making this a mandatory component alongside the Azure AI Language project.

Why this answer

Option A (a set of labeled documents) is correct because custom text classification in Azure AI Language is a supervised learning feature that requires training data in the form of documents tagged with the custom categories (labels) you want the model to learn. Option C (a project in Azure AI Language) is correct because you must create a custom text classification project in Azure AI Language (via Language Studio or the REST API) to hold your dataset, labels, training configuration, and deployed model. Option B (a QnA Maker knowledge base) is incorrect because QnA Maker is for building question-and-answer bots, not for training custom classification models.

Option D (a Language Understanding (LUIS) app) is incorrect because LUIS is a separate conversational language understanding service for intents and entities, not custom text classification. Option E (an Azure Functions app) is incorrect because Azure Functions is a serverless compute service and is not a required component for creating or training a custom text classification model.

Exam trap

The trap here is that candidates often confuse the required components for custom text classification with those for other Azure AI Language features (like custom question answering or conversational language understanding), leading them to select QnA Maker or LUIS as plausible options when they are not applicable.

30
MCQeasy

A company wants to build a conversational interface that can understand user intents and extract key information from utterances, such as booking a flight to a specific city on a specific date. They need to implement this using Azure AI Language. Which feature should they use?

A.Conversational language understanding (CLU)
B.Custom text classification
C.Named entity recognition (NER)
D.Key phrase extraction
AnswerA

CLU is designed to understand user intents and extract entities from conversational text. It allows you to define intents like 'BookFlight' and entities like destination and date, then train a model to predict them from utterances. This directly matches the requirement of understanding intents and extracting key information from user input.

Why this answer

Conversational language understanding (CLU) is the Azure AI Language feature built for intent recognition and entity extraction in conversational input. It supports custom intents and entities, making it ideal for building chatbots and voice assistants that need to parse user requests like flight bookings. Other features lack intent understanding or custom entity extraction.

Exam trap

The trap here is confusing entity extraction features like NER with intent understanding, which only CLU provides in Azure AI Language.

31
MCQhard

You are a developer at a global e-commerce company. You are building a multilingual chatbot using Azure AI Language that supports English, French, German, and Spanish. The chatbot must answer frequently asked questions about order status, returns, and shipping. You plan to use Custom Question Answering with a single project containing questions and answers in all four languages. However, during testing, you notice that queries in French and German often return incorrect answers or no answer, while English and Spanish work well. You need to ensure accurate answers across all four languages. What should you do?

A.Create a separate Custom Question Answering project for each language and route user queries to the appropriate project based on language detection.
B.Use Azure Cognitive Search with semantic ranking to index the QnA pairs.
C.Add synonyms in the project for French and German terms to improve matching.
D.Deploy the same project to multiple regions and use traffic manager.
AnswerA

Custom Question Answering projects are language-bound: a single project cannot reliably match questions across multiple languages, so French and German queries miss. Separate per-language projects, selected via language detection, give each language its own trained question-answer pairs and accurate matching.

Why this answer

Custom Question Answering (CQA) projects are language-specific; a single project cannot reliably handle multiple languages due to differences in tokenization, stemming, and stop-word handling. By creating a separate project per language and routing queries based on language detection (e.g., using Azure AI Language's language detection API), you ensure that each project's model is optimized for its respective language, improving answer accuracy for French and German.

Exam trap

The trap here is that candidates assume a single Custom Question Answering project can handle multiple languages by simply adding translated QnA pairs, overlooking that the underlying NLP pipeline is language-specific and cannot correctly process queries in languages other than the project's configured primary language.

How to eliminate wrong answers

Option B is wrong because Azure Cognitive Search with semantic ranking is a search enhancement for indexed documents, not a solution for multilingual QnA matching; it does not address the language-specific tokenization and model training limitations of a single CQA project. Option C is wrong because adding synonyms only improves lexical matching for individual terms but does not resolve the fundamental issue that CQA's underlying model is trained on a single language's linguistic patterns; it cannot correctly interpret grammar, syntax, or phrasing differences across multiple languages. Option D is wrong because deploying the same project to multiple regions and using Traffic Manager only improves latency and availability, not the accuracy of answers for different languages; the underlying model remains unchanged and still fails for French and German.

32
MCQeasy

You need to analyze customer call transcripts to identify positive and negative sentiment. Which Azure AI Language feature should you use?

A.Language Detection
B.Named Entity Recognition
C.Key Phrase Extraction
D.Sentiment Analysis
AnswerD

Sentiment Analysis directly returns per-document and per-sentence sentiment labels with confidence scores, satisfying the requirement to identify positive and negative opinions in call transcripts. It is purpose-built for opinion mining within Azure AI Language, unlike key phrase extraction or entity recognition, which surface terms rather than polarity.

Why this answer

Sentiment Analysis is the correct Azure AI Language feature because it is specifically designed to evaluate text and determine whether the sentiment expressed is positive, negative, or neutral. For customer call transcripts, this feature analyzes each sentence or document and returns a sentiment label and confidence scores, directly addressing the requirement to identify positive and negative sentiment.

Exam trap

The trap here is that candidates often confuse Key Phrase Extraction with Sentiment Analysis, assuming that identifying key topics inherently reveals sentiment, but Key Phrase Extraction provides no sentiment polarity or confidence scores.

How to eliminate wrong answers

Option A is wrong because Language Detection identifies the language of the text (e.g., English, Spanish) and does not evaluate sentiment or emotion. Option B is wrong because Named Entity Recognition extracts entities like people, organizations, and locations from text, but does not assess sentiment polarity. Option C is wrong because Key Phrase Extraction identifies important phrases and topics in the text, but it does not classify sentiment as positive or negative.

33
MCQhard

A legal firm uses Azure AI Language's custom NER to extract party names, dates, and clauses from contracts. The model performs well on English contracts but poorly on French contracts. The firm wants to improve performance without retraining from scratch. What is the most efficient approach?

A.Create a separate custom NER project for French and train from scratch using French contracts.
B.Retrain the English model with a mix of English and French contracts.
C.Use Azure AI Translator to translate French contracts to English, then use the English model.
D.Use the multilingual option in Azure AI Language custom NER to extend the existing project to include French.
AnswerD

Enabling the multilingual option extends the existing project's training to cover French alongside English, reusing the current labelled data and model rather than building and training a separate project from scratch, which is the most efficient route.

Why this answer

Azure AI Language's custom NER supports a multilingual option that allows you to extend an existing project to include additional languages without retraining from scratch. By enabling this option and adding French labeled data, the model learns to recognize entities in French while retaining its English performance, making it the most efficient approach.

Exam trap

A common pitfall in the AI-102 exam is assuming you must train separate models for each language or rely on translation, when Azure AI Language's built-in multilingual support is the correct and efficient path.

How to eliminate wrong answers

Option A is wrong because creating a separate project and training from scratch is inefficient and ignores the multilingual capability that avoids redundant effort. Option B is wrong because retraining with a mix of English and French contracts without enabling the multilingual option would not properly handle language-specific features and could degrade performance. Option C is wrong because translating French contracts to English introduces translation errors and latency, and the model would still fail on native French text in production.

34
MCQhard

You are designing an NLP solution to analyze legal documents. The solution must identify specific clauses and parties involved. Which Azure AI service is most appropriate?

A.Custom Named Entity Recognition in Azure AI Language
B.Pre-built Named Entity Recognition in Azure AI Language
C.Text Analytics for Health
D.Immersive Reader
AnswerA

Custom Named Entity Recognition trains a model on your labelled legal data to extract domain-specific entities such as clauses and party names, which prebuilt models cannot recognise. It satisfies the requirement to identify bespoke fields rather than generic persons or organisations.

Why this answer

Custom Named Entity Extraction (Custom NER) in Azure AI Language is the correct choice because it allows you to train a model to recognize domain-specific entities like legal clauses and party names from your own labeled data. Pre-built NER only recognizes generic entity types (e.g., person, organization, location) and cannot be customized for legal terminology. This makes Custom NER the only option that meets the requirement to identify specific clauses and parties unique to legal documents.

Exam trap

The trap here is that candidates often confuse Pre-built NER with Custom NER, assuming the pre-built model can handle domain-specific entities like legal clauses, but it only recognizes generic categories and cannot be retrained.

How to eliminate wrong answers

Option B is wrong because Pre-built Named Entity Recognition only identifies a fixed set of common entity types (e.g., Person, Organization, Location) and cannot be trained to recognize custom legal clauses or specific party roles. Option C is wrong because Text Analytics for Health is designed specifically for medical and healthcare entities (e.g., diagnoses, medications, symptoms) and has no capability to parse legal document structures or clauses. Option D is wrong because Immersive Reader is a tool for improving reading comprehension (e.g., text-to-speech, translation, focus mode) and does not perform any entity extraction or NLP analysis.

35
MCQhard

Refer to the exhibit. You have created a Text Analytics resource and retrieved its keys. You want to use the key1 to call the Sentiment Analysis API from a Python application. Which endpoint URL should you use?

A.https://mytextanalytics.cognitiveservices.azure.com/sentiment/v3.1
B.https://mytextanalytics.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment
C.https://mytextanalytics.cognitiveservices.azure.com/analyze
D.https://mytextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/sentiment
AnswerD

Cognitive Services multi-service and Text Analytics resources expose a regional or custom subdomain endpoint ending in cognitiveservices.azure.com, followed by the service path. The sentiment route under /text/analytics/v3.1/ matches the Sentiment Analysis API for this resource.

Why this answer

The Sentiment Analysis API for Azure Cognitive Services Text Analytics uses the endpoint pattern `https://<resource-name>.cognitiveservices.azure.com/text/analytics/v3.1/sentiment`. This is the standard REST API endpoint for sentiment analysis in version 3.1, which requires the `/text/analytics/v3.1/sentiment` path appended to the custom resource domain.

Exam trap

The trap here is that candidates often confuse the legacy domain (`api.cognitive.microsoft.com`) with the current Azure domain (`cognitiveservices.azure.com`), or they mistakenly use the Analyze API endpoint (`/analyze`) when a dedicated sentiment endpoint is required, leading them to pick options B or C.

How to eliminate wrong answers

Option A is wrong because it omits the required `/text/analytics/` path segment and uses an incorrect path `/sentiment/v3.1`; the version should be in the path after `analytics`, not after `sentiment`. Option B is wrong because it uses the legacy domain `api.cognitive.microsoft.com` instead of the current Azure global domain `cognitiveservices.azure.com`, which is required for all new Cognitive Services resources. Option C is wrong because `/analyze` is the endpoint for the Analyze API (which performs multiple tasks like key phrase extraction, entity recognition, and sentiment analysis in a single call), not the dedicated Sentiment Analysis API endpoint.

36
MCQeasy

You are using Azure AI Language to analyze customer reviews. You need to determine whether each review expresses a positive, negative, or neutral sentiment. Which API should you call?

A.Language detection API.
B.Entity recognition API.
C.Sentiment analysis API.
D.Key phrase extraction API.
AnswerC

The sentiment analysis API returns per-document and per-sentence scores across positive, negative and neutral labels, directly satisfying the requirement to classify each review's polarity. Other Azure AI Language features, such as key phrase extraction or entity recognition, do not produce sentiment classifications.

Why this answer

The Sentiment Analysis API is specifically designed to evaluate text and return sentiment labels (positive, negative, neutral) along with confidence scores. This directly matches the requirement to determine whether each customer review expresses positive, negative, or neutral sentiment.

Exam trap

The trap here is that candidates confuse 'sentiment' with 'key phrases' or 'entities,' assuming that extracting important words or names can imply sentiment, but only the Sentiment Analysis API directly evaluates emotional tone.

How to eliminate wrong answers

Option A is wrong because the Language Detection API identifies the language of the text (e.g., English, Spanish), not the sentiment. Option B is wrong because the Entity Recognition API extracts named entities such as people, places, and organizations, not sentiment. Option D is wrong because the Key Phrase Extraction API identifies important phrases and topics in the text, but does not evaluate sentiment.

37
Multi-Selecteasy

You are using the Azure AI Language service to process customer reviews. You need to extract the following insights: overall sentiment, key phrases, and entity types (such as product names). Which THREE operations should you call?

Select 3 answers
A.Key Phrase Extraction
B.Language Detection
C.Sentiment Analysis
D.PII Detection
E.Entity Recognition
AnswersA, C, E

Key Phrase Extraction returns the salient terms within review text, satisfying the requirement to surface key phrases. It is one of three separate Azure AI Language operations, alongside Sentiment Analysis and Named Entity Recognition, so it cannot alone deliver sentiment scores or entity types.

Why this answer

Sentiment Analysis (C) is correct because it returns the overall sentiment of the review (positive, negative, neutral, or mixed) along with confidence scores, which is exactly the first insight required. Key Phrase Extraction (A) is correct because it identifies the main talking points in the review text, satisfying the key phrases requirement. Entity Recognition (E) is correct because it extracts and classifies named entities such as product names, locations, and organizations, which covers the entity types requirement.

Language Detection (B) is not needed because the scenario does not ask for identifying the review's language, and PII Detection (D) is not needed because the scenario does not require detecting or redacting personal information.

Exam trap

The trap here is that candidates often confuse Language Detection or PII Detection with the required insights, mistakenly thinking language identification or privacy data extraction fulfills the need for sentiment, key phrases, and entity types, when in fact they serve entirely different purposes.

38
MCQhard

Refer to the exhibit. You are defining a custom entity recognition model in Azure AI Language. The exhibit shows a partial configuration. What is the relationship between 'Laptop' and 'Electronics'?

A.Laptop is a type of Electronics.
B.There is no defined relationship.
C.Electronics is a type of Laptop.
D.Laptop is a part of Electronics.
AnswerA

The exhibit configures 'Electronics' as a parent entity and 'Laptop' as its child, so the model treats Laptop as a subtype of Electronics. This hierarchical relationship enables extraction of both the specific item and its broader category from text.

Why this answer

In Azure AI Language custom entity recognition, you define entity types and subtypes using a hierarchical structure. The exhibit shows 'Laptop' as a child of 'Electronics', meaning Laptop is a subtype or specific type of the broader Electronics category. This allows the model to recognize that any Laptop entity is also an instance of Electronics, enabling more granular classification and downstream processing.

Exam trap

The trap here is that candidates confuse hierarchical 'type-of' relationships with 'part-of' relationships, leading them to incorrectly select Option D, or they assume no relationship exists (Option B) because they overlook the visual hierarchy in the exhibit.

How to eliminate wrong answers

Option B is wrong because the exhibit explicitly shows a parent-child relationship between 'Electronics' and 'Laptop', so there is a defined relationship. Option C is wrong because it reverses the hierarchy: 'Electronics' is the parent category, not a subtype of 'Laptop'. Option D is wrong because 'part of' implies a meronymic relationship (e.g., a keyboard is part of a laptop), but the exhibit uses a type-of (hyponymic) relationship, not a part-whole relationship.

39
MCQmedium

A company uses Azure AI Language's custom text classification to categorize support tickets. The model was trained with 5000 labeled examples and achieves 90% accuracy. However, for a specific category (e.g., 'billing'), the model frequently misclassifies tickets that contain both billing and technical issues. Which action should you take to improve classification for this category?

A.Reduce the number of categories to simplify the classification.
B.Add more labeled examples for the 'billing' category, especially those that are mixed with other categories.
C.Increase the number of training epochs to further train the model.
D.Use a different classification algorithm, such as a neural network.
AnswerB

Mixed billing-and-technical tickets are underrepresented, so the model lacks boundary examples distinguishing overlapping categories. Adding labelled examples that explicitly cover these ambiguous, multi-intent tickets gives the classifier the discriminative signal needed to separate billing from technical content.

Why this answer

Adding more labeled examples for the 'billing' category, especially those that are mixed with other categories, will help the model learn to distinguish them better. Option A is wrong because reducing the number of categories may not address the specific confusion. Option C is wrong because increasing the training epochs may lead to overfitting.

Option D is wrong because using a different algorithm is not an option in Azure AI Language's custom text classification.

40
MCQeasy

You are a solution architect at a media company. The company uses Azure AI Speech to generate subtitles for videos. The current solution uses the batch transcription API and takes several hours to process a 1-hour video. The business requires near-real-time subtitles for live streaming events. You need to design a new solution that provides low-latency transcription. You have the following options: Option A: Use the batch transcription API with a higher priority queue. Option B: Use the Speech-to-text REST API for real-time streaming with the Speech SDK. Option C: Use the Azure AI Language API to transcribe audio from a file. Option D: Use Azure AI Video Indexer to generate subtitles.

A.Option C
B.Option B
C.Option D
D.Option A
AnswerB

Speech SDK with real-time streaming provides low-latency transcription.

Why this answer

The Speech-to-text REST API with the Speech SDK supports real-time streaming transcription, which provides low-latency results suitable for live streaming events. Unlike the batch transcription API, which processes audio asynchronously and can take hours, the streaming API processes audio chunks in near-real-time, returning partial and final results with sub-second latency.

Exam trap

The trap here is that candidates may confuse the batch transcription API's priority queues with real-time performance, or mistakenly think the Azure AI Language API can handle speech-to-text tasks, when it is strictly a text-based NLP service.

How to eliminate wrong answers

Option A is wrong because the batch transcription API is designed for asynchronous, high-latency processing; even with a higher priority queue, it still processes audio in batches and cannot achieve the sub-second latency required for live streaming. Option C is wrong because the Azure AI Language API is for text analytics (e.g., sentiment, key phrases), not for transcribing audio from a file; it does not include speech-to-text capabilities. Option D is wrong because Azure AI Video Indexer is optimized for indexing and analyzing pre-recorded videos, not for real-time streaming transcription; it introduces significant latency due to its indexing pipeline.

41
MCQhard

A company uses Azure AI Language Service for custom text classification. The model is trained to classify support tickets into categories. After deployment, the model performs well on the test set but poorly on new incoming tickets. Which action should be taken to improve generalization?

A.Switch to a prebuilt text classification model
B.Increase the number of training epochs
C.Reduce the confidence threshold for classification
D.Add more labeled data from actual production tickets
AnswerD

Adding labelled examples drawn from real production tickets exposes the model to the actual vocabulary, phrasing and class distribution of live traffic, which the test set failed to represent. This directly addresses the poor generalisation caused by training data that did not match incoming ticket characteristics.

Why this answer

Adding more labeled data from actual production tickets helps the model learn the true distribution of real-world inputs, reducing overfitting to the test set. The model's poor performance on new tickets indicates it memorized patterns specific to the training data rather than generalizing. Incorporating production data directly addresses the distribution shift between the test set and live traffic.

Exam trap

Candidates often mistakenly tune hyperparameters (epochs, confidence threshold) or switch to a prebuilt model, but the real issue is distribution shift between test data and production data. Adding representative labeled data from production is the correct solution.

How to eliminate wrong answers

Option A is wrong because switching to a prebuilt text classification model would not solve the generalization issue; prebuilt models are generic and unlikely to match the custom categories or domain-specific language of support tickets, potentially worsening performance. Option B is wrong because increasing the number of training epochs can lead to overfitting, especially if the model already performs well on the test set; more epochs do not improve generalization and may exacerbate memorization. Option C is wrong because reducing the confidence threshold for classification would lower the bar for predictions, causing more false positives and misclassifications, not improving the model's ability to generalize to new data.

42
MCQeasy

You need to analyze customer feedback to determine whether the sentiment is positive, negative, or neutral. Which Azure AI service should you use?

A.Azure AI Language - Key Phrase Extraction
B.Azure AI Language - Named Entity Recognition
C.Azure AI Language - Sentiment Analysis
D.Azure AI Language - Language Detection
AnswerC

Azure AI Language Sentiment Analysis returns per-document scores and labels of positive, negative or neutral, directly matching the requirement to classify customer feedback polarity. It is purpose-built for opinion mining rather than translation, OCR or entity extraction.

Why this answer

Azure AI Language's Sentiment Analysis is the correct service because it is specifically designed to evaluate text and return sentiment labels (positive, negative, neutral) along with confidence scores. This directly matches the requirement to determine whether customer feedback sentiment is positive, negative, or neutral.

Exam trap

The trap here is that candidates often confuse Key Phrase Extraction or Named Entity Recognition with Sentiment Analysis, because they all involve analyzing text, but only Sentiment Analysis directly outputs positive/negative/neutral labels.

How to eliminate wrong answers

Option A is wrong because Key Phrase Extraction identifies important words or phrases in text but does not evaluate sentiment. Option B is wrong because Named Entity Recognition extracts entities like people, places, or organizations, not sentiment. Option D is wrong because Language Detection identifies the language of the text (e.g., English, Spanish), not the sentiment expressed.

43
Multi-Selectmedium

Which TWO actions should you take to optimize a custom text classification model in Azure Cognitive Service for Language?

Select 2 answers
A.Ensure that training examples for different labels do not have overlapping content.
B.Use a stratified split of training and testing data.
C.Oversample the minority classes to balance the dataset.
D.Remove all stop words from the training data.
E.Remove examples with neutral sentiment to focus on positive and negative classes.
AnswersA, B

Overlapping content confuses the model.

Why this answer

Overlapping content between labels (e.g., the same text appearing in both 'positive' and 'negative' training examples) confuses the custom text classification model, leading to poor decision boundaries. Azure Cognitive Service for Language uses a multi-class or multi-label classifier that learns distinct patterns for each label; overlapping content introduces ambiguity, reducing precision and recall. Ensuring distinct, non-overlapping training examples per label helps the model learn clear, separable features.

Exam trap

The trap here is that candidates often confuse general data preprocessing techniques (like oversampling or stop word removal) with the specific optimization requirements of Azure Cognitive Service for Language's custom text classification, where the service's internal architecture already handles many of these concerns, and the key optimization is ensuring label distinctness and proper data splitting.

44
MCQmedium

A research organization uses Azure AI Language to process large volumes of scientific papers. They need to extract specific entities such as gene names, protein names, and chemical compounds. The entity types are highly specialized and not covered by prebuilt models. The organization has a labeled dataset of 10,000 documents. You need to recommend the most efficient approach to build the entity extraction solution. What should you do?

A.Use the prebuilt NER model and map the recognized entities to the required types.
B.Train a Custom Named Entity Recognition (NER) model using the labeled dataset in Azure AI Language.
C.Use Azure Logic Apps to call the Text Analytics API and post-process the results.
D.Train a custom NER model for genes and use prebuilt NER for chemicals.
AnswerB

Custom NER trains on your labelled dataset to recognise domain-specific entity types such as gene, protein and chemical names that prebuilt models do not cover. With 10,000 labelled documents, it is the most efficient fit for specialised extraction.

Why this answer

Custom Named Entity Recognition (NER) in Azure AI Language allows you to train a model on your own labeled dataset (10,000 documents) to extract highly specialized entity types like gene names, protein names, and chemical compounds that are not covered by prebuilt models. This approach is the most efficient as it leverages the labeled data directly, avoiding the need for complex post-processing or hybrid solutions.

Exam trap

The trap here is that candidates may assume prebuilt NER can be adapted via mapping or post-processing, but Azure AI Language's prebuilt models are fixed and cannot recognize custom entity types without training a custom model.

How to eliminate wrong answers

Option A is wrong because prebuilt NER models only recognize general entity types (e.g., person, location, organization) and cannot be remapped to extract highly specialized scientific entities like gene or protein names without additional training. Option C is wrong because Azure Logic Apps calling the Text Analytics API would still rely on prebuilt NER capabilities, which cannot extract the specialized entities required, and post-processing would be inefficient and error-prone. Option D is wrong because training a custom NER model for genes while using prebuilt NER for chemicals is inconsistent—prebuilt NER does not recognize chemical compounds in a specialized scientific context, and this hybrid approach would require separate handling and likely reduce accuracy.

45
MCQeasy

Refer to the exhibit. You are calling the Azure AI Language NER API. The response returns no entities. What is the most likely reason?

A.The text does not contain any recognized entities
B.The API version is incorrect
C.The document language should be 'es' for Spanish
D.The endpoint URL is for the wrong region
AnswerA

The NER API returns entities only when it recognises spans matching its trained entity categories. Empty results mean the submitted text contained no such recognisable entities, not a request failure, so the most likely cause is simply that no entities were present.

Why this answer

The NER API returns entities only if the input text contains recognized entity types (e.g., Person, Location, Organization, DateTime, etc.). If no entities are found, the API returns an empty entities array. This is the most straightforward and common reason for a zero-entity response, assuming the request is otherwise valid.

Exam trap

Azure often tests the misconception that a missing or incorrect parameter (like API version, language, or region) would silently return empty results, when in reality those errors manifest as HTTP status codes or error messages, not a successful empty response.

How to eliminate wrong answers

Option B is wrong because an incorrect API version would typically result in an HTTP 400 Bad Request or 404 Not Found error, not a successful response with zero entities. Option C is wrong because the document language parameter is optional; if omitted, the API auto-detects the language, and even if set to 'es', Spanish text would still return entities if present. Option D is wrong because an incorrect region endpoint would cause a connection or authentication failure (e.g., 401 Unauthorized or 403 Forbidden), not a valid response with no entities.

46
MCQhard

Refer to the exhibit. A developer is configuring a QnA Maker skill for a bot. The skill fails to respond to queries. What is the most likely issue?

A.The kbId is not published.
B.The skill is not deployed.
C.The endpointKey is incorrect.
D.The modelUrl points to the authoring API instead of the runtime endpoint.
AnswerD

The URL should be for the runtime (e.g., https://westus.api.cognitive.microsoft.com/qnamaker/v4.0) but the correct runtime endpoint is typically 'https://<your-resource-name>.azurewebsites.net/qnamaker' or similar. The v4.0 authoring API is not used for querying.

Why this answer

The modelUrl uses the v4.0 API, but the endpoint key and kbId are hardcoded and may be invalid or expired. Additionally, the URL should be for the runtime endpoint, not the authoring API.

47
MCQhard

Your organization uses Azure AI Language for custom text classification. You have deployed a model to a dedicated endpoint. After updating the training data, you retrain and redeploy the model. Users report that the endpoint still returns predictions from the old model. What is the most likely cause?

A.The training data changes are not saved
B.The project needs to be rebuilt from scratch
C.The endpoint has a caching issue
D.The new model is not yet deployed; you must deploy it to the endpoint
AnswerD

Retraining creates a new model version but does not automatically replace the one assigned to a deployed endpoint. The endpoint continues serving its previously assigned deployment until you explicitly deploy the updated model to it, which explains why users still receive old predictions.

Why this answer

In Azure AI Language, retraining a custom text classification model does not automatically update the deployed endpoint. After training, you must explicitly deploy the new model to the endpoint using the 'Deploy model' action. Until that step is completed, the endpoint continues to serve predictions from the previously deployed model.

Exam trap

The trap here is that candidates assume retraining automatically updates the endpoint, but Azure AI Language requires an explicit deployment step to bind the new model to the endpoint.

How to eliminate wrong answers

Option A is wrong because training data changes are automatically saved when you edit the dataset in Azure AI Language; the issue is not about saving but about deployment. Option B is wrong because rebuilding the project from scratch is unnecessary; you can retrain and redeploy the same project without recreating it. Option C is wrong because Azure AI Language endpoints do not have a client-side or server-side caching mechanism that would serve stale model predictions; the endpoint simply returns results from whichever model is currently deployed.

48
Multi-Selecthard

Which THREE factors should be considered when choosing between Azure AI Language's pre-built sentiment analysis and custom sentiment analysis for a specialized domain?

Select 3 answers
A.Custom models require a large set of labeled training data.
B.Custom models always have faster response times.
C.The pre-built model may not accurately handle domain-specific jargon.
D.Pre-built models cannot be used in containers.
E.Pre-built models offer multilingual support out-of-the-box.
AnswersA, C, E

Custom sentiment models are trained via Azure AI Language's labelled classification workflow, so a substantial volume of domain-tagged utterances is a prerequisite. This labelled-data overhead is the practical cost that distinguishes custom training from simply calling the pre-built endpoint.

Why this answer

Option A is correct because custom sentiment analysis in Azure AI Language is a fine-tuned model that requires you to provide a substantial set of labeled training data (typically hundreds of labeled utterances per class) so the model can learn domain-specific patterns. Option C is correct because the pre-built sentiment analysis model is trained on general-purpose text, so specialized jargon, acronyms, or industry-specific phrasing in a niche domain may be misclassified, which is a key reason to consider a custom model. Option E is correct because Azure AI Language's pre-built sentiment analysis supports multiple languages out-of-the-box, which is a significant advantage when your data spans several languages and you want to avoid building separate custom models per language.

Option B is not correct because custom models are not inherently faster; latency depends on deployment, and custom models can add overhead compared to the pre-built service. Option D is not correct because pre-built Azure AI Language models can be deployed in containers (for example, via Docker with the Language container images) for on-premises or disconnected scenarios.

Exam trap

The trap here is that candidates may assume custom models are always superior or faster, overlooking the critical requirement for labeled training data and the fact that pre-built models already offer robust multilingual support and container deployment options.

49
MCQeasy

A company wants to build a solution that summarizes long support call transcripts into concise paragraphs. The transcripts are stored as plain text in Azure Blob Storage. You plan to use the summarization feature in Azure AI Language. Which summarization type should you use to generate a short paragraph that captures the main points of each transcript?

A.Extractive summarization
B.Key phrase extraction
C.Named entity recognition
D.Abstractive summarization
AnswerD

Abstractive summarization generates new, concise text that captures the main ideas of the input, rather than extracting existing sentences. This matches the requirement to produce a short paragraph summarizing the call transcripts. The Azure AI Language abstractive summarization feature is designed for exactly this scenario, producing coherent summaries in natural language.

Why this answer

Abstractive summarization in Azure AI Language generates new, concise text that captures the essence of the input, making it suitable for creating short paragraphs from long transcripts. Extractive summarization only selects existing sentences, key phrase extraction returns terms, and named entity recognition identifies entities. Only abstractive summarization produces the rephrased, paragraph-style summary required.

Exam trap

The trap here is assuming that extractive summarization produces a rephrased paragraph, when it actually returns a subset of the original sentences without generating new text.

50
Multi-Selectmedium

Which THREE actions should an engineer take when deploying a custom question answering project in Azure Cognitive Service for Language?

Select 3 answers
A.Integrate LUIS for intent detection.
B.Set up a multi-turn extraction policy for follow-up questions.
C.Enable active learning to improve answer suggestions.
D.Add chit-chat to handle common conversational phrases.
E.Configure a single-turn extraction policy.
AnswersB, C, D

Multi-turn extraction is needed for conversation flow.

Why this answer

Multi-turn extraction is a core feature of custom question answering that allows the system to handle follow-up questions by maintaining context across turns. This is essential for conversational flows where a user's subsequent query depends on the previous answer, and it is configured via the project settings in Language Studio.

Exam trap

The trap here is that candidates often confuse the need for LUIS integration (Option A) with question answering, not realizing that custom question answering is a standalone service that does not require intent detection from LUIS.

51
MCQhard

Refer to the exhibit. You deployed a custom model for Language service. Which command should you run to check if the deployment is ready to accept inference requests?

A.az cognitiveservices account deployment list --resource-group myRG --name myLangService
B.az cognitiveservices account deployment delete --resource-group myRG --name myLangService --deployment-name myDeployment
C.az cognitiveservices account deployment show --resource-group myRG --name myLangService --deployment-name myDeployment
D.az cognitiveservices account deployment create --resource-group myRG --name myLangService --deployment-name myDeployment
AnswerC

The deployment show command returns the provisioning state and status of the named custom model deployment. A succeeded provisioningState confirms the deployment is ready to accept inference requests, which is exactly what the check requires.

Why this answer

The `az cognitiveservices account deployment show` command retrieves the current state of a specific deployment, including its provisioning status (e.g., 'Succeeded'). Only when the status is 'Succeeded' can the deployment accept inference requests. This is the correct command to verify readiness before sending any prediction calls.

Exam trap

Azure often tests the distinction between commands that manage resources (create, delete, list) versus those that inspect state (show), and the trap here is that candidates might confuse 'list' (which shows all deployments but not readiness) with 'show' (which gives the specific deployment's status).

How to eliminate wrong answers

Option A is wrong because `az cognitiveservices account deployment list` returns all deployments in the account, not the status of a specific deployment, and does not directly indicate readiness for inference. Option B is wrong because `az cognitiveservices account deployment delete` removes the deployment entirely, which is destructive and unrelated to checking readiness. Option D is wrong because `az cognitiveservices account deployment create` initiates a new deployment or updates an existing one, but it does not check the current state; it is used to create or modify, not to verify.

52
MCQeasy

You are building a solution that analyzes customer feedback in real-time using Azure AI Language. The feedback is streamed from a web app and must be processed within 1 second. You need to extract sentiment and key phrases. Which service should you use?

A.Azure AI Language synchronous API
B.Azure AI Language asynchronous API
C.Azure AI Language container
D.Azure AI Language batch processing with Azure Blob Storage
AnswerA

The synchronous API for Azure AI Language is designed for real-time processing of small text inputs, returning results immediately. It supports sentiment analysis and key phrase extraction, and can meet the 1-second latency requirement for short texts. This is the appropriate choice for low-latency, interactive scenarios.

Why this answer

The synchronous API is built for immediate analysis of short texts, making it ideal for real-time sentiment and key phrase extraction from streaming feedback. Asynchronous and batch options introduce delays, and containers are not optimized for low-latency cloud-based streaming.

Exam trap

The trap here is assuming that any Azure AI Language endpoint can handle real-time streaming, when only the synchronous API is designed for low-latency individual requests.

53
MCQeasy

You need to translate a large volume of documents from English to French while preserving the original formatting. Which Azure service should you use?

A.Azure AI Language
B.Azure AI Translator (Document Translation)
C.Custom Translator in Azure AI Translator
D.Azure OpenAI Service with GPT-4
AnswerB

Document Translation is the Translator feature that translates whole files while retaining their original layout, tables and formatting. The plain text translation API returns only translated strings, so it cannot preserve document structure across a large batch.

Why this answer

Azure AI Translator's Document Translation feature is specifically designed to translate entire documents while preserving the original structure, layout, and formatting (e.g., tables, headers, bullet points). It supports batch processing of large volumes of documents and maintains the source file's format in the translated output, making it the correct choice for this requirement.

Exam trap

Microsoft often tests the distinction between text translation and document translation, leading candidates to choose Azure AI Language (option A) because they confuse its general language processing capabilities with the specific document translation feature, or to pick Custom Translator (option C) thinking customization is required for formatting preservation.

How to eliminate wrong answers

Option A is wrong because Azure AI Language provides text analytics and language understanding capabilities (e.g., sentiment analysis, key phrase extraction) but does not include document-level translation with formatting preservation. Option C is wrong because Custom Translator is a customization feature within Azure AI Translator that allows you to build custom translation models for domain-specific terminology, but it does not directly handle document translation or formatting preservation; it is used to improve translation quality, not to process documents. Option D is wrong because Azure OpenAI Service with GPT-4 is a general-purpose language model that can translate text but is not optimized for batch document translation with formatting preservation; it lacks native support for handling document structures and may produce inconsistent formatting output.

54
Multi-Selecthard

Which THREE factors should you consider when choosing between a pre-built model and a custom model in Azure AI Language?

Select 3 answers
A.Domain-specific vocabulary coverage
B.Time to develop and deploy
C.Need for a trained endpoint
D.Availability of labeled training data
E.Model size and memory footprint
AnswersA, B, D

Domain-specific vocabulary coverage determines whether a model recognises industry jargon, product names and abbreviations in your text. Pre-built models may miss specialised terms, whereas custom models can be trained on domain data, making coverage a decisive selection factor.

Why this answer

Option A (Domain-specific vocabulary coverage) is correct because pre-built models are trained on general-purpose text and may not recognize industry jargon, acronyms, or specialized entities, so if your scenario requires understanding niche terminology you may need a custom model trained on your own domain data. Option B (Time to develop and deploy) is correct because pre-built models can be consumed immediately via the Azure AI Language service with no training pipeline, whereas custom models require data preparation, training, evaluation, and deployment, which adds significant time. Option D (Availability of labeled training data) is correct because custom models in Azure AI Language (for example custom named entity recognition, custom text classification, or custom question answering) depend on sufficient, high-quality labeled examples; without that data a pre-built model is the practical choice.

Option C (Need for a trained endpoint) is not a deciding factor because both pre-built and custom models are consumed through an endpoint in Azure AI Language, so this does not differentiate the two approaches. Option E (Model size and memory footprint) is not a relevant consideration because Azure AI Language is a managed service that abstracts away model hosting, sizing, and memory concerns from the developer.

Exam trap

The trap here is that candidates confuse 'need for a trained endpoint' (which is always required for custom models but also exists for pre-built models via a shared endpoint) with the decision factor of whether you have labeled training data to build a custom model.

55
Multi-Selecteasy

You need to use Azure AI Language to analyze customer feedback. Which THREE analysis types are available in the Text Analytics API?

Select 3 answers
A.Image captioning
B.Speech-to-text
C.Sentiment analysis
D.Entity recognition
E.Key phrase extraction
AnswersC, D, E

Sentiment analysis is a core Text Analytics capability, returning per-document and per-sentence scores between 0 and 1 for positive, neutral and negative tones. It satisfies the stem's requirement for available analysis types, alongside key phrase extraction and named entity recognition, which together form the three standard features.

Why this answer

Sentiment analysis (C) is a core Text Analytics API feature that returns sentiment labels and confidence scores (positive, neutral, negative, mixed) for documents or sentences, making it valid for analyzing customer feedback. Entity recognition (D), specifically Named Entity Recognition (NER), is also available and identifies entities such as people, places, organizations, and dates in text. Key phrase extraction (E) is another supported Text Analytics capability that returns the main concepts or topics in a document, which is useful for summarizing customer feedback.

Image captioning (A) belongs to Azure AI Vision, not Azure AI Language, and speech-to-text (B) is provided by Azure AI Speech, so neither is part of the Text Analytics API.

Exam trap

Azure often tests your ability to distinguish between Azure AI services, so the trap here is that candidates confuse the Text Analytics API with broader AI capabilities like image or speech processing, leading them to select options that belong to other services.

56
MCQmedium

You are building a custom question answering solution using Azure AI Language. The knowledge base contains a large number of question-answer pairs. You need to ensure that the solution returns the most relevant answer for a user's query, even when the query contains synonyms not present in the knowledge base. What should you do?

A.Enable the 'enableHierarchicalExtraction' setting in the project configuration.
B.Set the 'defaultAnswer' to a response that asks the user to rephrase using known terms.
C.Add alternative questions for each answer that include common synonyms.
D.Increase the number of documents in the knowledge base to provide more context.
AnswerC

Custom question answering uses the alternative questions to match user queries. Adding synonyms as alternative questions improves recall and ensures that queries with different wording still find the correct answer. This is a supported and straightforward way to enhance relevance without changing the underlying model.

Why this answer

Custom question answering matches user queries to questions in the knowledge base. To handle synonyms, you can add alternative questions that include common synonyms for each answer. This improves the likelihood that a query with different wording will match the correct answer.

Other options do not directly address synonym matching and may not improve relevance.

Exam trap

The trap here is assuming that enabling a configuration setting or adding more documents will automatically handle synonyms, when the correct approach is to explicitly add alternative questions with synonyms.

57
MCQeasy

You are developing a solution that uses Azure AI Language to analyze customer feedback. You need to determine whether the sentiment of a given sentence is positive, negative, or neutral. Which Azure AI Language feature should you use?

A.Sentiment Analysis
B.Entity Recognition
C.Language Detection
D.Key Phrase Extraction
AnswerA

Sentiment Analysis in Azure AI Language returns per-sentence labels of positive, negative or neutral together with confidence scores. It directly satisfies the requirement to classify each sentence's sentiment, unlike key phrase extraction or entity recognition, which return different output types.

Why this answer

Sentiment Analysis is the correct Azure AI Language feature because it is specifically designed to evaluate text and determine whether the sentiment expressed is positive, negative, or neutral. This feature uses machine learning classifiers trained on large datasets to assign a sentiment label and confidence scores at the sentence and document level, directly matching the requirement to analyze customer feedback for sentiment polarity.

Exam trap

The trap here is that candidates often confuse Key Phrase Extraction with Sentiment Analysis because both seem to 'analyze' text, but Key Phrase Extraction only identifies topics or terms, not the emotional polarity of the content.

How to eliminate wrong answers

Option B is wrong because Entity Recognition identifies and categorizes named entities (e.g., people, organizations, locations) in text, but it does not evaluate sentiment or polarity. Option C is wrong because Language Detection identifies the language in which the text is written (e.g., English, Spanish), not the sentiment expressed. Option D is wrong because Key Phrase Extraction returns a list of key phrases or main talking points from the text, but it does not classify the overall sentiment as positive, negative, or neutral.

58
MCQmedium

You are building an ASP.NET Core web app that must analyze the sentiment of user-submitted product reviews in real time. The app is deployed to an Azure App Service web app. You want to avoid managing API keys in code and prefer to use the app's managed identity for authentication to the Azure AI Language resource. What should you do to enable the app to call the sentiment analysis API securely?

A.Configure the app to use the Language resource's endpoint and a SAS token generated from the resource's keys.
B.Store the Language resource's subscription key in Azure Key Vault and retrieve it at runtime using the app's managed identity.
C.Enable a system-assigned managed identity on the App Service and add the identity's object ID to the Language resource's access control list (ACL).
D.Assign the Cognitive Services User role to the App Service's managed identity on the Language resource, and use DefaultAzureCredential in the app code.
AnswerD

This is correct because the app uses its managed identity to obtain a token from Microsoft Entra ID, and the role assignment grants permission to call the Language service. DefaultAzureCredential automatically picks up the managed identity in Azure, eliminating the need to store keys. This is the recommended passwordless approach for Azure-hosted apps.

Why this answer

The recommended secure approach is to use managed identity with Microsoft Entra ID authentication. Assigning the Cognitive Services User role to the App Service's managed identity grants the necessary permissions, and DefaultAzureCredential in the SDK automatically obtains a token. This eliminates the need to store or manage API keys in code, aligning with the scenario's requirement.

Exam trap

The trap here is assuming that storing keys in Key Vault fully solves the secret management problem, but the app still uses a key for authentication rather than a passwordless identity.

59
MCQmedium

A development team is using Azure Cognitive Service for Language to extract key phrases from customer reviews. They notice that some reviews are not being processed, and the API returns a 400 error code. What is the most likely cause?

A.One of the reviews exceeds the maximum character limit for a single document.
B.The reviews contain characters that are not valid UTF-8.
C.The request contains more than 5 documents.
D.The reviews are written in a language not supported by the service.
AnswerA

The service limits each document to 5,120 characters.

Why this answer

The Azure Cognitive Service for Language key phrase extraction API enforces a maximum document size of 5,120 characters per document. When a single review exceeds this limit, the API returns a 400 Bad Request error because the request payload violates the service's input constraints. This is the most common cause of 400 errors in batch text analysis operations.

Exam trap

The trap here is that candidates often assume the 400 error is due to unsupported languages or encoding issues, but the actual constraint is the per-document character limit, which is explicitly documented in the service's input specifications.

How to eliminate wrong answers

Option B is wrong because the service automatically handles UTF-8 encoding validation and would return a different error (e.g., 400 with 'InvalidRequestContent') if characters were not valid UTF-8, but the question states the reviews are standard customer reviews, making invalid UTF-8 unlikely. Option C is wrong because the API supports up to 10 documents per request (not 5), so a request with more than 5 documents would still succeed unless it exceeds the 10-document limit. Option D is wrong because unsupported languages typically result in a successful response with empty key phrases or a warning, not a 400 error; the service supports over 40 languages for key phrase extraction.

60
MCQhard

You are developing a chatbot for a retail company using Azure AI Language's custom question answering. The chatbot must provide answers from a knowledge base of 500 FAQ documents. Users often ask the same question in different wording, and the chatbot fails to return an answer for paraphrased queries. What is the most effective solution?

A.Use Azure AI Bot Service's Direct Line Speech channel to improve accuracy.
B.Enable active learning in the project settings and periodically publish the updated knowledge base.
C.Increase the number of FAQ documents in the knowledge base.
D.Manually add alternate question phrases to the knowledge base for each QnA pair.
AnswerB

Active learning logs paraphrased queries that score low confidence, surfacing them for review so you can add alternative question phrasings to each FAQ pair. Republishing applies those additions, letting the model match the varied wording users actually type instead of only the original phrasing.

Why this answer

Enabling active learning in Azure AI Language's custom question answering allows the system to learn from user interactions. It suggests alternative phrasings for existing QnA pairs, which helps answer paraphrased queries without manual effort. Option A is wrong because Direct Line Speech channel is for voice interactions, not improving answer coverage.

Option C is wrong because simply adding more documents does not address the paraphrasing issue; it may increase redundancy but not handle different wording of the same question. Option D is wrong because manually adding alternate phrases is time-consuming and not scalable; active learning automates this process by identifying and suggesting variations based on user queries.

61
MCQeasy

A logistics company receives shipping manifests as PDF documents. They need to extract the shipper name, consignee, and total weight from each document. The documents have a consistent layout. Which Azure AI service should they use?

A.Azure AI Document Intelligence with a custom extraction model.
B.Azure AI Translator to convert the PDF to text and then parse with regex.
C.Azure AI Language with custom named entity recognition (NER).
D.Azure AI Vision with OCR and then custom text classification.
AnswerA

Document Intelligence is designed to extract structured data from documents. A custom extraction model can be trained on labeled samples of the manifests to recognize shipper name, consignee, and total weight. Because the layout is consistent, a custom model will achieve high accuracy, making this the appropriate service.

Why this answer

Document Intelligence is built to extract fields from documents, especially forms with consistent layouts. A custom extraction model can be trained to identify shipper name, consignee, and total weight accurately. The other services either do not handle document layout or are not designed for field extraction from PDFs.

Exam trap

The trap here is choosing a text-based service like custom NER or OCR plus classification, when the scenario requires extracting structured fields from documents with layout.

62
MCQeasy

A company wants to use Azure AI Translator to translate customer emails from English to French. They need to ensure that the translation preserves the tone and formality of the original text. What should they configure in the request?

A.Set the 'category' parameter to 'general' to use a standard translation model.
B.Set the 'scope' parameter to 'document' to ensure context-aware translation.
C.Set the 'formality' parameter to the desired level (e.g., 'formal' or 'informal').
D.Set the 'language' parameter to 'fr' and the 'from' parameter to 'en'.
AnswerC

The formality parameter instructs the neural translation model to bias output toward formal or informal register, preserving the source email's tone in French. Setting it to the desired level satisfies the requirement to maintain formality, which standard translation without this parameter would not reliably control.

Why this answer

Azure AI Translator provides a 'formality' parameter that allows you to specify the desired level of formality (e.g., 'formal' or 'informal') in the translated text. This parameter directly controls the tone and register of the output, ensuring that the translation preserves the original email's tone and formality, which is critical for customer communications.

Exam trap

The trap here is that candidates often confuse the 'formality' parameter with language or category settings, mistakenly thinking that simply specifying the target language (Option D) or using a general category (Option A) is sufficient to control tone, when in fact the formality parameter is the only dedicated mechanism for this purpose.

How to eliminate wrong answers

Option A is wrong because the 'category' parameter is used to select a custom translation model or domain (e.g., 'general' for standard translations), but it does not control tone or formality; it affects terminology and style based on the training domain. Option B is wrong because Azure AI Translator does not have a 'scope' parameter; context-aware translation for documents is handled by the Document Translation feature, not by a request parameter in the standard Translate operation. Option D is wrong because while setting 'language' to 'fr' and 'from' to 'en' is necessary for specifying the source and target languages, it does not address the requirement to preserve tone and formality; it only defines the language pair.

63
MCQeasy

You need to summarize a large document using Azure AI Language. Which feature should you use?

A.Document summarization
B.Key phrase extraction
C.Entity recognition
D.Sentiment analysis
AnswerA

Document summarization is the Azure AI Language feature purpose-built for condensing long text into extractive or abstractive summaries, handling documents exceeding token limits. Sentiment analysis, entity recognition and key phrase extraction return labels or phrases rather than coherent summaries, so they cannot satisfy the requirement.

Why this answer

Document summarization is the correct feature because it is specifically designed to generate concise summaries of large documents, extracting the most important information. Azure AI Language's document summarization uses extractive or abstractive techniques to produce a summary, directly addressing the requirement to summarize a large document.

Exam trap

The trap here is that candidates may confuse key phrase extraction with summarization, thinking that extracting important phrases is equivalent to summarizing the document, but key phrase extraction lacks the narrative structure and coherence of a true summary.

How to eliminate wrong answers

Option B is wrong because key phrase extraction identifies and returns a list of key terms or phrases from the text, but it does not produce a coherent summary or reduce the document's length. Option C is wrong because entity recognition identifies and categorizes named entities (e.g., people, organizations, locations) but does not summarize the content. Option D is wrong because sentiment analysis determines the overall emotional tone (positive, negative, neutral) of the text, not a summary of its content.

64
MCQhard

A healthcare portal must summarize patient feedback stored in Azure Blob Storage. Documents are plain UTF-8 text and the summaries must be generated without sending content to a public endpoint. You are building the pipeline with Azure AI Language and a private network. Which configuration should you use to call extractive summarization while meeting the network requirement?

A.Create an Azure AI Language resource with a private endpoint and disable public network access, then call the REST API from a client inside the virtual network.
B.Deploy the open-source summarization container for Azure AI Language on an Azure Kubernetes Service cluster and call its local endpoint.
C.Create a standard Azure AI Language resource and authenticate with an account key, relying on TLS to protect the content in transit.
D.Use the Azure AI Language resource with a service tag firewall rule that allows only the portal's app service outbound IP addresses.
AnswerA

A private endpoint places the Azure AI Language resource inside your virtual network and disabling public network access blocks internet traffic, so REST calls from an in-network client never traverse a public endpoint. This satisfies the requirement while still allowing the extractive summarization operation, which is available through the standard Language REST API.

Why this answer

Meeting a no-public-endpoint requirement means the Azure AI Language resource must be reachable only through private networking. Combining a private endpoint with disabled public network access forces all calls, including extractive summarization, to travel inside the virtual network, which keeps document content off the public internet while preserving full API functionality.

Exam trap

The trap here is treating encryption in transit or IP allowlisting as equivalent to eliminating the public endpoint entirely.

65
Multi-Selectmedium

You plan to deploy a custom named entity recognition (NER) project in Azure AI Language. The project must extract supplier names and contract identifiers from procurement documents. You need to prepare the project so that the model can be trained and evaluated before deployment. Which two actions should you perform? (Choose two.)

Select 2 answers
A.Define a list of intents that correspond to each procurement document type.
B.Upload and label training documents by selecting the text spans for SupplierName and ContractId entities.
C.Create a question answering knowledge base that contains the procurement documents.
D.Create a project of type Custom named entity recognition in Azure AI Language and select the language for the documents.
E.Enable opinion mining so the model can detect sentiment around supplier mentions.
AnswersB, D

Custom NER learns from labeled spans, so documents must be uploaded and the exact text for each entity marked. Labeling SupplierName and ContractId spans teaches the model the boundaries and context of those entities, which is required before training and evaluation can produce meaningful results.

Why this answer

To train a custom NER model, you create a project of the custom named entity recognition type with the correct language, then upload and label documents by marking the spans for each entity such as SupplierName and ContractId. Training and evaluation follow, and only then can the model be deployed for extraction.

Exam trap

The trap here is mixing features from other Azure AI Language project types, such as intents or knowledge bases, into a custom NER workflow that only requires labeled entity spans.

66
MCQhard

You are implementing a conversational language understanding (CLU) project in Azure AI Language. Your utterances include entities that are sometimes a single word and sometimes a multi-word phrase, such as 'New York' and 'San Francisco'. You need the model to correctly capture these multi-word entities during training and prediction. Which entity component type should you use?

A.Prebuilt entity component
B.Learned entity component
C.Regex entity component
D.List entity component
AnswerB

Learned entities use labeled examples to train the model to recognize entity spans, including multi-word phrases, based on context. This allows the model to generalize to new phrasings such as 'New York' or 'San Francisco' without requiring exact matches in a list.

Why this answer

Learned entity components in CLU are trained from labeled utterances, allowing the model to identify entity spans based on surrounding context. This is the correct choice for multi-word entities such as city names that vary in phrasing and cannot be captured reliably by exact-match lists or fixed regex patterns.

Exam trap

The trap here is confusing list or regex entities, which require explicit patterns or synonyms, with learned entities that generalize from labeled examples.

67
MCQeasy

A news organization wants to automatically summarize long articles into short, coherent summaries. The solution must preserve the original meaning and key points. Which Azure AI service should be used?

A.Azure AI Document Intelligence
B.Azure AI Language - Key Phrase Extraction
C.Azure AI Language - Extractive Summarization
D.Azure AI Translator
AnswerC

Extractive summarization selects and ranks the most salient existing sentences from the source article, guaranteeing the summary preserves original wording and key points. This directly satisfies the requirement to maintain meaning without generative paraphrasing, which could introduce distortion.

Why this answer

Azure AI Language's Extractive Summarization is specifically designed to generate concise summaries by extracting the most important sentences from a document while preserving the original meaning and key points. This service uses natural language processing to rank sentences based on relevance and coherence, making it ideal for summarizing long articles without altering the original content.

Exam trap

The trap here is that candidates often confuse Key Phrase Extraction (Option B) with summarization, but Key Phrase Extraction only returns isolated terms, not a coherent summary, whereas Extractive Summarization returns full sentences that preserve meaning.

How to eliminate wrong answers

Option A is wrong because Azure AI Document Intelligence (formerly Form Recognizer) is optimized for extracting structured data (e.g., tables, key-value pairs) from documents, not for generating textual summaries. Option B is wrong because Azure AI Language - Key Phrase Extraction identifies individual keywords or phrases, not coherent summaries; it lacks the sentence-level extraction and ranking needed for summarization. Option D is wrong because Azure AI Translator focuses on translating text between languages, not summarizing content in the same language.

68
MCQhard

You are developing a solution that uses Azure AI Language's custom named entity recognition (NER) to extract product names from technical support tickets. After training a model, you notice it performs well on the training set but poorly on new tickets. You need to improve the model's ability to generalize. What should you do?

A.Add more labeled examples that include variations in phrasing, context, and entity placement.
B.Reduce the training dataset size to prevent the model from memorizing too much information.
C.Increase the number of training epochs to allow the model to learn more from the existing data.
D.Switch to a prebuilt entity extraction model, because custom models cannot generalize.
AnswerA

Overfitting occurs when the model memorizes training data rather than learning general patterns. Adding diverse labeled examples that vary sentence structure, context, and entity position helps the model generalize to unseen tickets. This is the recommended approach to improve performance on new data without changing the model architecture.

Why this answer

Poor generalization on new data indicates overfitting. The best remedy is to expand the training set with varied examples that reflect real-world diversity, helping the model learn robust patterns. Increasing epochs or reducing data would exacerbate overfitting, and prebuilt models cannot extract custom entities like product names.

Exam trap

The trap here is thinking that more training on the same data will improve performance, when it actually worsens overfitting.

69
MCQmedium

You are testing a Conversational Language Understanding application. You send the JSON request shown in the exhibit. What is the purpose of this request?

A.Translate the text to another language.
B.Generate a response to the user.
C.Summarize the conversation.
D.Analyze the utterance for intent and entities.
AnswerD

The prediction request submits an utterance to the Conversational Language Understanding runtime, returning the top-scoring intent plus any extracted entities. It performs inference only; authoring, training and deployment occur through separate project and model endpoints.

Why this answer

The JSON request sends a user utterance to a Conversational Language Understanding (CLU) endpoint, which is designed to analyze natural language input. The response will include the predicted intent (e.g., 'GetWeather') and extracted entities (e.g., 'location: Seattle'), fulfilling the core function of CLU: intent and entity recognition. This is not a generative or translation task; it is a classification and extraction operation.

Exam trap

The trap here is that candidates confuse the purpose of CLU (intent/entity analysis) with generative AI or other NLP services, assuming any language input to Azure AI implies translation, summarization, or response generation, when in fact CLU is strictly a classification and extraction engine.

How to eliminate wrong answers

Option A is wrong because translation is handled by Azure Translator or Cognitive Services Translator, not by the Conversational Language Understanding API, which does not output translated text. Option B is wrong because generating a response is the role of a conversational AI like Azure OpenAI or a bot framework; CLU only analyzes the utterance and returns structured data (intent/entities), not a natural language reply. Option C is wrong because summarization is a separate capability (e.g., Azure Text Analytics for conversation summarization), and CLU does not produce a condensed version of the conversation; it processes a single utterance at a time.

70
MCQmedium

A company uses Azure AI Speech for real-time captioning during live events. They notice a delay of 5 seconds between speech and caption display. Which action should they take to reduce latency?

A.Deploy a custom speech model
B.Use the Speech SDK with intermediate results enabled
C.Switch to batch transcription API
D.Increase the maxAlternatives parameter
AnswerB

Enabling intermediate results streams partial transcriptions as recognition progresses, rather than waiting for final utterance boundaries. This directly addresses the five-second delay constraint by surfacing captions before endpoint detection completes, cutting perceived latency for live captioning.

Why this answer

Enabling intermediate results in the Speech SDK allows the client to receive partial, real-time recognition hypotheses as the audio is being processed, rather than waiting for the final, fully processed result. This reduces the perceived latency from the full utterance duration (which can be several seconds) to near-instantaneous display of partial captions, directly addressing the 5-second delay.

Exam trap

The trap here is that candidates often confuse latency reduction with accuracy improvements, incorrectly assuming that a custom model or more alternatives will speed up processing, when in fact the solution lies in changing the result delivery mode from final-only to streaming partial results.

How to eliminate wrong answers

Option A is wrong because deploying a custom speech model improves recognition accuracy for domain-specific vocabulary or accents, but does not reduce the fundamental processing latency of the speech-to-text pipeline; it may even add overhead for model loading. Option C is wrong because the batch transcription API is designed for asynchronous, offline processing of pre-recorded audio, not for real-time captioning, and would introduce even greater delays (minutes to hours). Option D is wrong because increasing the maxAlternatives parameter only increases the number of alternative recognition hypotheses returned in the final result, which has no effect on how quickly the first hypothesis is delivered.

71
MCQhard

You deploy the ARM template shown in the exhibit. After deployment, you need to allow access to the Language service from your on-premises application. What should you do?

A.Add an IP rule with your on-premises public IP address.
B.Remove the customSubDomainName property.
C.Set the defaultAction to Allow.
D.Change the SKU to F0 to allow public access.
AnswerA

The deployed Language resource uses network restrictions, so on-premises traffic must be explicitly permitted. Adding a network rule containing the on-premises public IP address allows that origin through the firewall while keeping other public access blocked.

Why this answer

The ARM template deploys an Azure Cognitive Services Language service with a network ACL that defaults to denying all traffic (defaultAction: Deny). To allow your on-premises application to access the service, you must add an IP rule that permits traffic from your on-premises public IP address. This is because the network ACL evaluates IP rules before the default action, and adding a rule with your public IP overrides the default deny for that specific source.

Exam trap

The trap here is that candidates often confuse the 'defaultAction' property with a simple on/off switch for public access, not realizing that IP rules are evaluated first and can selectively permit traffic even when defaultAction is Deny.

How to eliminate wrong answers

Option B is wrong because removing the customSubDomainName property would not affect network access; it only controls the endpoint subdomain naming and is unrelated to IP-based access control. Option C is wrong because setting defaultAction to Allow would open the service to all public internet traffic, which is a security risk and not a targeted solution for allowing only your on-premises application. Option D is wrong because changing the SKU to F0 (free tier) does not change network access policies; the F0 SKU still respects the same network ACL rules and does not automatically enable public access.

72
Multi-Selectmedium

You are designing a solution that uses Azure AI Language's conversational language understanding (CLU) to interpret user requests in a banking app. The app must handle utterances like 'Transfer $500 from savings to checking' and extract the amount, source account, and destination account. Which two actions should you perform when creating the CLU project? (Choose two.)

Select 2 answers
A.Create entities for 'Amount', 'SourceAccount', and 'DestinationAccount'.
B.Train the model using only the default training set provided by Azure.
C.Add a prebuilt entity for 'Number' to automatically extract the amount.
D.Define intents such as 'TransferMoney' and 'CheckBalance'.
E.Configure the project to use multiple languages for utterance interpretation.
AnswersA, D

Entities are used to extract specific pieces of information from utterances. In this scenario, extracting the amount, source account, and destination account is crucial for executing the transfer. Defining these entities with appropriate labels enables the model to identify and return them in the response.

Why this answer

To correctly interpret the banking utterances, you must define intents to capture the user's goal and entities to extract the specific data fields. Intents like 'TransferMoney' and entities for 'Amount', 'SourceAccount', and 'DestinationAccount' are fundamental. Prebuilt entities alone lack specificity, and custom training is required.

Exam trap

The trap here is thinking that prebuilt entities can replace custom entity definitions for domain-specific extraction, when they lack the context to distinguish between similar numeric values.

73
MCQhard

Refer to the exhibit. You are calling the Azure AI Language API for entity linking. What is the primary purpose of this request?

A.To identify entities in the text and link them to a knowledge base.
B.To extract named entities from the text without linking.
C.To extract key phrases from the text.
D.To analyze the sentiment of the text.
AnswerA

Entity linking detects mentions in the supplied text and resolves each to a corresponding entry in a knowledge base such as Wikipedia, disambiguating between candidates. It returns linked identifiers rather than merely classifying spans, which matches the exhibit's stated purpose.

Why this answer

The request is configured for entity linking, which is a specific capability of the Azure AI Language API that identifies named entities in the text and resolves them to a unique identifier in a knowledge base (such as Wikipedia or a custom knowledge graph). This goes beyond simple named entity recognition (NER) by providing a canonical link, enabling disambiguation of entities with the same name (e.g., 'Washington' as a state vs. a person). The response includes both the entity name and a URL to the knowledge base entry, confirming the primary purpose is linking to a knowledge base.

Exam trap

The trap here is that candidates confuse Named Entity Recognition (NER) with Entity Linking, assuming both simply 'find entities,' but the key differentiator is that entity linking explicitly resolves entities to a knowledge base with a unique identifier and URL, which is the core purpose of this request.

How to eliminate wrong answers

Option B is wrong because extracting named entities without linking is the function of Named Entity Recognition (NER), not entity linking; the request explicitly uses the 'entityLinking' task, not 'entities'. Option C is wrong because key phrase extraction is a separate API capability (KeyPhraseExtraction) that identifies important terms without entity resolution or linking. Option D is wrong because sentiment analysis is performed by the SentimentAnalysis task, which returns sentiment scores and opinions, not entity links or knowledge base references.

74
Multi-Selecthard

You are deploying a custom question answering solution in Azure AI Language. You need to ensure that the knowledge base can handle synonyms and alternative phrasings for questions. Which THREE strategies should you implement? (Select THREE.)

Select 3 answers
A.Add alternative question phrases to each QnA pair.
B.Use a custom question answering project type instead of the prebuilt one.
C.Increase the confidence threshold to 0.9 to reduce false positives.
D.Enable active learning to suggest new question variants from user queries.
E.Utilize the synonym feature to map equivalent terms.
AnswersA, D, E

Alternative phrases help the model match different phrasings.

Why this answer

Adding alternative question phrases to each QnA pair directly expands the surface area of possible user queries that will match a given answer. This is a core feature of custom question answering in Azure AI Language, allowing you to predefine synonyms and rephrasings for each QnA pair without relying on external logic.

Exam trap

The trap here is that candidates often confuse the confidence threshold (a post-ranking filter) with a mechanism for handling synonyms or alternative phrasings, when in fact it only controls the minimum score required to return an answer and does not expand the knowledge base's linguistic coverage.

75
Multi-Selecthard

You are building a solution that uses Azure AI Language's question answering (custom question answering) to create a bot that answers employee HR questions. You have created a project and added a knowledge base with 50 question-answer pairs. You need to ensure the bot provides accurate answers and can handle paraphrased questions. Which two actions should you perform? (Choose two.)

Select 2 answers
A.Configure the project to use a different language model for better semantic understanding.
B.Increase the confidence threshold for answer matching to ensure only high-confidence answers are returned.
C.Add a prebuilt entity for 'person' to the project to extract employee names from questions.
D.Add alternative questions for each question-answer pair to cover different ways employees might ask the same question.
E.Enable active learning and regularly review and accept or reject suggested question-answer pairs.
AnswersD, E

This is correct because alternative questions help the model understand paraphrases. Custom question answering uses these variations to match user queries to the correct answer. By providing multiple phrasings, you improve the likelihood that the bot recognizes a paraphrased question and returns the right answer.

Why this answer

To improve paraphrase handling in custom question answering, you should add alternative questions to cover different phrasings and enable active learning to continuously refine the knowledge base based on user queries. Increasing thresholds or adding entities does not help with matching paraphrased questions.

Exam trap

The trap here is thinking that increasing the confidence threshold improves accuracy, but it actually reduces the bot's ability to match paraphrased questions by making it more conservative.

Page 1 of 3 · 156 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Implement natural language processing solutions questions.