Courseiva

CCNA Text Analysis Questions

71 questions · Text Analysis · All types, answers revealed

1
Multi-Selecthard

You are designing an enterprise text analysis solution with high availability and security requirements. Which THREE practices should you implement? (Choose three.)

Select 3 answers
A.Store subscription keys in plain text configuration files inside the source code repository.
B.Implement exponential backoff retry logic in client applications to handle rate limiting (429 errors).
C.Authenticate API calls using managed identities instead of hardcoded subscription keys.
D.Disable TLS encryption on HTTP client requests to improve API throughput.
E.Configure private endpoints to restrict network access to your virtual network.
AnswersB, C, E

Retry logic with exponential backoff handles transient throttling gracefully.

Why this answer

Enterprise best practices include deploying private endpoints, using managed identities for authentication, and implementing retry logic with exponential backoff for resilience.

2
MCQmedium

You are processing customer feedback emails that contain both English and Spanish paragraphs within the same message. You need to perform sentiment analysis on each paragraph separately. What should you do?

A.Use custom text classification instead of sentiment analysis.
B.Submit the entire email as a single document with the language set to auto-detect.
C.Split the email into individual paragraphs and submit them as separate documents in the request payload.
D.Translate the entire email to French before calling sentiment analysis.
AnswerC

Splitting mixed-language text into distinct documents ensures accurate processing and language association.

Why this answer

Because language detection and sentiment analysis operate per document, you should split the multi-lingual email into separate document chunks (or paragraphs) and specify the language parameter for each document if necessary.

3
MCQhard

You are calling the Azure AI Language REST API for Named Entity Recognition (NER) and receive an HTTP 429 status code. How should your application handle this error?

A.Switch the API endpoint to use the Free pricing tier.
B.Regenerate the subscription key and restart the client service.
C.Immediately re-submit the request with doubled payload size.
D.Implement an exponential backoff retry policy and resend the request after a delay.
AnswerD

Rate limit errors require backing off and retrying after the specified Retry-After duration.

Why this answer

HTTP 429 indicates 'Too Many Requests' (rate limiting). The client application should implement exponential backoff and retry the request.

4
Multi-Selectmedium

You are configuring an Azure AI Language service resource in the Azure portal. Which THREE settings or blades are available for managing the resource? (Choose three.)

Select 3 answers
A.Virtual machine size selector
B.Container registry integration blade
C.Keys and Endpoint
D.Pricing tier
E.Identity
AnswersC, D, E

Keys and Endpoint manages API keys and service URLs.

Why this answer

In the Azure portal, resource management blades for Azure AI Language include Keys and Endpoint, Pricing tier, and Identity (managed identities). Diagnostic settings and Access control are also standard Azure resource blades.

5
MCQmedium

You are integrating Azure AI Language into a secure enterprise application. Management mandates that all data sent to the API must remain within your Azure region and that no customer data is used to train Microsoft's foundational models. Which feature of Azure AI Language supports this?

A.Switching from synchronous to asynchronous batch processing.
B.Using the Free (F0) pricing tier.
C.Using custom text classification with customer-managed keys (CMK) and disabling public network access.
D.Enabling abstractive summarization with cross-region replication.
AnswerC

Restricting network access and using regional endpoints with encryption/CMK ensures data residency and privacy compliance.

Why this answer

Azure AI services provide data privacy and residency guarantees where customer data is encrypted in transit/rest and is never used to train foundational models. Utilizing Standard endpoints with customer-managed keys (CMK) further enhances security.

6
MCQmedium

You are building an application that extracts named entities from technical specifications. You need to ensure that entity extraction respects casing requirements for part numbers (e.g., 'Model-X' vs 'Model-x'). Where can you configure case sensitivity for custom NER projects?

A.In the HTTP request headers of every API call.
B.In the Azure Monitor diagnostics logs.
C.In the Azure portal subscription access control blade.
D.In the project settings within Language Studio during project creation.
AnswerD

Case sensitivity settings are configured at the project level in Language Studio.

Why this answer

When creating a custom NER project in Language Studio, you can specify project settings such as whether entity extraction and text evaluation should be case-sensitive or case-insensitive.

7
MCQeasy

You are writing a Python script using the Azure AI Language SDK (`azure-ai-textanalytics`). Which client class should you instantiate to connect to your language resource?

A.LanguageServiceClient
B.TextAnalyticsClient
C.TextAnalysisClient
D.CognitiveServicesClient
AnswerB

TextAnalyticsClient is the correct Python SDK client class for text analysis.

Why this answer

The `TextAnalyticsClient` class is the main entry point for interacting with Azure AI Language text analysis features using the Python SDK.

8
MCQeasy

You need to detect the primary language of customer feedback submissions before routing them to downstream translation and analysis pipelines. Which Azure AI Language API endpoint should your application call?

A./languages/detect
B./keyphrases
C./language/:analyze-text
D./sentiment
AnswerA

The language detection endpoint is used specifically to detect document languages.

Why this answer

The language detection endpoint ('/languages/detect') identifies the language of input documents.

9
MCQhard

You are configuring a custom named entity recognition project in Language Studio. You have tagged your training documents and want to split your dataset into training and testing sets. What are the recommended split options available in Language Studio?

A.Splitting exclusively by alternating lines within each document.
B.External split configuration via an Azure DevOps pipeline YAML file.
C.Automatic split by percentage or manual assignment of documents to sets.
D.Command-line split using Azure PowerShell scripts only.
AnswerC

Language Studio supports both automatic percentage-based splitting and manual document assignment.

Why this answer

Language Studio allows you to automatically split your labeled dataset (e.g., 80% training / 20% testing) or manually assign documents to training and testing sets.

10
MCQhard

You are analyzing customer product reviews using the Azure AI Language REST API. You submit a batch of documents for sentiment analysis. One of the returned JSON objects includes a 'confidenceScores' property containing 'positive', 'neutral', and 'negative' values, but the overall document sentiment is listed as 'mixed'. What condition causes the service to return 'mixed'?

A.The document contains an equal number of uppercase and lowercase words.
B.The confidence scores for both positive and negative sentiments exceed established thresholds within the same document.
C.The document length exceeds the 5,120 character limit.
D.The language detection confidence score is below 0.5.
AnswerB

A mixed sentiment is assigned when significant positive and negative polarities coexist in the same text.

Why this answer

The service returns a 'mixed' sentiment when the confidence scores for both positive and negative emotions are significant within the same document, preventing a clear single classification.

11
Multi-Selectmedium

You are configuring text summarization using the Azure AI Language REST API. Which THREE parameters or configuration options are associated with summarization requests? (Choose three.)

Select 3 answers
A.maxSentenceCount parameter
B.Audio sample rate frequency
C.Abstractive summarization task definition
D.Image resolution DPI setting
E.Extractive summarization task definition
AnswersA, C, E

maxSentenceCount controls sentence count in extractive summaries.

Why this answer

Summarization requests involve specifying the task type (e.g., extractive or abstractive), setting summary length parameters (like maxSentenceCount or maxSummaryLength), and providing document inputs.

12
MCQhard

You are troubleshooting an Azure AI Language asynchronous summarization job. You submitted a batch of documents using the `/analyze` endpoint with long-running operations (LRO). How should your application check the status and retrieve the results of the job?

A.Listen for incoming webhook notifications on an Azure Event Grid subscription attached to the text analytics resource.
B.Query the Azure Monitor metrics API for job completion status.
C.Poll the URL provided in the 'operation-location' response header using a GET request until the status is 'succeeded'.
D.Repeatedly send synchronous POST requests to the same document endpoint until a 200 OK is returned.
AnswerC

Asynchronous batch jobs in Azure AI Language require polling the operation-location URI.

Why this answer

Asynchronous operations return an 'operation-location' response header. Your application must poll that URL using a GET request until the status returns 'succeeded'.

13
MCQeasy

You are reviewing the pricing details for Azure AI Language. How is billing calculated for pre-built text analysis features such as sentiment analysis and key phrase extraction?

A.Hourly uptime of the resource endpoint
B.Number of unique client application connections
C.Total gigabytes of training data uploaded
D.Number of text records (documents) processed
AnswerD

Billing is based on the number of text records processed.

Why this answer

Text analysis features are billed based on the number of text records (documents) processed, where each record is up to 1,000 characters.

14
MCQmedium

You are building an automated support ticketing system. You need to extract names, email addresses, and phone numbers from user messages while leaving non-sensitive text untouched. Which feature of Azure AI Language should you use?

A.Key phrase extraction
B.Personally Identifiable Information (PII) detection
C.Named Entity Recognition (NER)
D.Custom text classification
AnswerB

PII detection specifically locates and redacts sensitive personal data elements.

Why this answer

PII detection identifies sensitive personal information and allows you to redact or mask those entities.

15
MCQhard

You are implementing a text classification pipeline using Azure AI Language. You want to deploy your trained custom model to a production endpoint. What is required before you can assign traffic to the model deployment in Language Studio?

A.You must successfully complete model training and create a deployment in Language Studio.
B.You must export the model container and deploy it to an Azure Kubernetes Service (AKS) cluster.
C.You must submit a support ticket to Microsoft to enable custom model endpoints.
D.You must convert the model files to ONNX format.
AnswerA

Deploying a custom model requires a trained model and an active deployment name.

Why this answer

Before a custom model can be deployed and used for inference, it must be successfully trained, and then assigned to a deployment name.

16
MCQhard

You are implementing opinion mining as part of sentiment analysis in Azure AI Language. An incoming review states, 'The room was spacious, but the staff was rude.' What does opinion mining return for this sentence?

A.A binary classification indicating whether the review is spam or genuine.
B.A single neutral sentiment score for the entire document.
C.A translated version of the review in English.
D.Aspect targets ('room', 'staff') along with their corresponding evaluations ('spacious', 'rude') and individual sentiments.
AnswerD

Opinion mining provides granular aspect-based sentiment analysis, linking targets to assessments.

Why this answer

Opinion mining targets specific aspects (e.g., 'room', 'staff') and associates a separate sentiment and assessment (e.g., 'spacious' is positive, 'rude' is negative) for each aspect.

17
MCQmedium

You are processing medical intake forms using Azure AI Language. You need to identify and categorize medical terms, medications, and dosages. Which feature should you use?

A.Health text analytics
B.Key phrase extraction
C.Standard Named Entity Recognition (NER)
D.Custom text classification
AnswerA

Health text analytics is designed to extract and label medical-specific entities and assertions.

Why this answer

The health text analytics feature (part of Azure AI Language) extracts medical entities and relations specifically tailored for healthcare domains.

18
MCQeasy

Your team needs to extract the most important talking points from research papers using the Azure AI Language service. You want the service to return a list of salient terms and phrases from the input document. Which API task should you execute?

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

Key phrase extraction evaluates the input text and returns a list of important semantic concepts and phrases.

Why this answer

Key phrase extraction quickly identifies the main concepts in a body of text.

19
Multi-Selecteasy

You need to ensure data privacy and compliance when processing user feedback containing sensitive information. Which TWO types of sensitive data can Azure AI Language PII detection identify and redact? (Choose two.)

Select 2 answers
A.Weather forecast coordinates
B.Source code syntax errors
C.Phone numbers
D.Email addresses
E.CPU utilization metrics
AnswersC, D

Phone numbers are recognized and can be redacted by PII detection.

Why this answer

PII detection identifies personal data such as email addresses and phone numbers.

20
MCQeasy

You are configuring an Azure AI Language resource in the Azure portal. You need to ensure that the text analysis solution supports custom text classification and named entity recognition. Which pricing tier should you select?

A.Premium (P1)
B.Standard (S)
C.Basic (B)
D.Free (F0)
AnswerB

The Standard tier supports all standard and custom text analysis capabilities.

Why this answer

Custom features such as custom text classification and custom named entity recognition require the Standard (S) pricing tier. The Free (F0) tier only supports base pre-built features with monthly limits.

21
MCQeasy

You are setting up Azure AI Language. You want to authenticate your client application using Microsoft Entra ID (formerly Azure Active Directory) instead of using API subscription keys. Which role must be assigned to your application's service principal to allow it to call text analysis APIs?

A.Reader
B.Cognitive Services User
C.Storage Blob Data Contributor
D.Contributor
AnswerB

Cognitive Services User grants permissions to invoke data-plane inference APIs.

Why this answer

To call Azure AI Language APIs using Microsoft Entra ID, the security principal must be assigned the 'Cognitive Services User' role.

22
MCQeasy

Your application needs to scan user input for Personally Identifiable Information (PII) such as Social Security numbers, credit card numbers, and physical addresses before storing logs in a cloud database. Which Azure AI Language service feature should you invoke?

A.Sentiment analysis
B.Text summarization
C.Named Entity Recognition (NER) with PII detection
D.Key phrase extraction
AnswerC

PII detection via NER identifies and can redact sensitive personal data elements.

Why this answer

Named Entity Recognition (NER) for PII allows you to detect, categorize, and redact sensitive personal information in unstructured text.

23
MCQmedium

You are using Language Studio to build a custom named entity recognition (custom NER) project. You have tagged your training data and successfully trained your first model. You want to test the model interactively without writing code. Which tool in Language Studio should you use?

A.Deployment settings
B.Data labeling page
C.Test model pane
D.Model performance tab
AnswerC

The test pane in Language Studio allows interactive validation of trained models.

Why this answer

Language Studio provides a built-in 'Test' interface where you can input custom text and inspect the model's entity extractions interactively.

24
Multi-Selecteasy

You are exploring Azure AI Language features. Which TWO tasks can be accomplished using prebuilt named entity recognition (NER)? (Choose two.)

Select 2 answers
A.Detecting the written language of a document
B.Extracting person names from text
C.Identifying geographic locations
D.Redacting credit card numbers for security
E.Classifying entire documents into custom business categories
AnswersB, C

Person names are recognized by prebuilt NER.

Why this answer

Prebuilt NER recognizes standard entities such as dates, times, people, and locations.

25
Multi-Selectmedium

You are troubleshooting an Azure AI Language resource deployment. Which THREE error codes or HTTP status codes might indicate an issue with your API request structure or payload? (Choose three.)

Select 3 answers
A.404 Not Found
B.100 Continue
C.400 Bad Request
D.200 OK
E.422 Unprocessable Entity
AnswersA, C, E

404 indicates an invalid endpoint URI.

Why this answer

HTTP 400 (Bad Request) indicates malformed JSON or invalid parameters, HTTP 404 indicates an incorrect endpoint URL, and HTTP 422 indicates unprocessable data. HTTP 200 is success.

26
MCQeasy

You are provisioning an Azure AI Language resource through the Azure CLI. You need to specify the resource kind parameter. Which value should you provide for a general text analysis resource?

A.LanguageService
B.TextUnderstanding
C.TextAnalytics
D.CognitiveServices
AnswerC

TextAnalytics is the correct resource kind parameter for Azure AI Language.

Why this answer

When provisioning via CLI or ARM templates, the kind for Azure AI Language is 'TextAnalytics'.

27
MCQhard

You are developing an application that processes multilingual documents using Azure AI Language. You want to ensure that your API payload complies with the maximum document size limit per single request document in synchronous calls. What is the maximum character length allowed for a single document input?

A.5,120 characters
B.1,000,000 characters
C.50,000 characters
D.1,024 characters
AnswerA

The maximum character count per document for synchronous analysis is 5,120.

Why this answer

For the Azure AI Language REST API, the maximum character length for a single document input is 5,120 characters (as measured by StringInfo.LengthInTextElements).

28
MCQhard

You are migrating an existing solution from the legacy Text Analytics API v3.1 to the current Azure AI Language REST API. You notice changes in the JSON request body structure. Where should the document text array now be nested in the payload for a sentiment analysis request?

A.Inside the HTTP header as a base64 encoded string.
B.Directly under the root object as a 'documents' array.
C.Nested inside a 'parameters' object.
D.Nested inside an 'analysisInput' object under the root.
AnswerD

The current Azure AI Language API nests documents inside an 'analysisInput' object.

Why this answer

In the Azure AI Language API (such as version 2022-05-01 and later), documents are wrapped inside an analysis input object, specifically under 'analysisInput': { 'documents': [...] }.

29
Multi-Selectmedium

You are implementing opinion mining in an application that analyzes hotel reviews. Which THREE pieces of information does opinion mining return for an evaluated sentence? (Choose three.)

Select 3 answers
A.Compiler error logs for client application code
B.Sentiment polarity (positive, negative, neutral) for the aspect
C.Target aspect (e.g., 'room', 'staff')
D.Assessment evaluation (e.g., 'clean', 'rude')
E.Network bandwidth utilization metrics
AnswersB, C, D

Polarity is evaluated per aspect target.

Why this answer

Opinion mining returns aspect targets (e.g., 'bed'), assessments (e.g., 'comfortable'), and sentiment polarities (positive, negative, neutral) for each aspect.

30
MCQmedium

You are analyzing survey responses. You want to categorize each response into one of three predefined business categories ('Billing', 'Technical Support', 'General Inquiry'). Which Azure AI Language feature should you use?

A.Key phrase extraction
B.Custom text classification
C.Extractive summarization
D.Prebuilt Named Entity Recognition
AnswerB

Custom text classification trains a model to classify documents into user-defined categories.

Why this answer

Custom text classification allows you to train a model to categorize documents into your own custom-defined categories.

31
Multi-Selectmedium

You are reviewing the JSON response of a sentiment analysis API call from the Azure AI Language service. Which THREE properties or confidence scores are returned in the standard response payload for a given document?

Select 3 answers
A.Sentence-level sentiment and confidence scores
B.Confidence scores for positive, neutral, and negative sentiment classes
C.Exact translation of the text into English
D.Overall document sentiment (e.g., positive, negative, neutral, mixed)
E.Grammar and spelling correction suggestions
AnswersA, B, D

The response includes a breakdown of sentiment results at the individual sentence level.

Why this answer

The sentiment analysis response structure includes the overall document sentiment, confidence scores for positive, neutral, and negative classes, sentence-level breakdowns, and opinion mining components if enabled.

32
Multi-Selecteasy

You need to extract key concepts from customer feedback. Which TWO characteristics describe key phrase extraction in Azure AI Language? (Choose two.)

Select 2 answers
A.It evaluates the emotional tone of sentences.
B.It requires a pre-defined taxonomy of thousands of categories.
C.It works well on unstructured text documents.
D.It returns a list of strings denoting the main talking points.
E.It automatically translates documents into English.
AnswersC, D

It is designed to process unstructured text documents effectively.

Why this answer

Key phrase extraction identifies main concepts, works on unstructured text, and returns a list of strings without requiring pre-defined taxonomies.

33
MCQeasy

You are creating a Language resource in the Azure portal. Which blade should you navigate to if you need to retrieve your endpoint URL and subscription keys for your application configuration?

A.Diagnostic settings
B.Pricing tier
C.Keys and Endpoint
D.Access control (IAM)
AnswerC

Keys and Endpoint provides the API keys and resource endpoint URL.

Why this answer

The 'Keys and Endpoint' blade in the Azure portal displays the API keys and endpoint URL required to connect your application to the Azure AI Language service.

34
Multi-Selecthard

You are evaluating the performance of a custom text classification model in Language Studio. Which THREE evaluation metrics are provided to assess model quality? (Choose three.)

Select 3 answers
A.HTTP request latency in milliseconds
B.F1-score
C.Precision
D.CPU utilization percentage
E.Recall
AnswersB, C, E

F1-score is the harmonic mean of precision and recall.

Why this answer

Custom text classification models are evaluated using Precision, Recall, and F1-score metrics.

35
MCQmedium

Your enterprise customer service department receives thousands of support emails daily. Management wants a system that ingests long support tickets and automatically outputs a concise summary highlighting the most critical issues. Which Azure AI Language service feature should you implement?

A.Named Entity Recognition (NER)
B.Text summarization (Abstractive or Extractive)
C.Key phrase extraction
D.Opinion mining
AnswerB

Text summarization analyzes the content and condenses long documents into summaries using either extractive or abstractive methods.

Why this answer

Extractive or abstractive text summarization is designed to process long documents and generate concise summaries.

36
MCQhard

You are using the Azure AI Language REST API to perform extractive summarization on a large collection of research papers. You want to prioritize the top sentences that represent the core findings. Which parameter can you adjust in the API request to control the maximum number of sentences returned in the summary?

A.summaryLengthLimit
B.topKeyPhrases
C.maxSentenceCount
D.minConfidenceScore
AnswerC

maxSentenceCount dictates the maximum number of extracted sentences in extractive summarization.

Why this answer

In extractive summarization requests, you can specify the 'maxSentenceCount' parameter to limit how many sentences appear in the summary output.

37
MCQeasy

You are designing a solution that processes user reviews. You want to extract key terms such as 'battery life', 'screen quality', and 'customer service' from the text. Which Azure AI Language feature is best suited for this?

A.Key phrase extraction
B.Sentiment analysis
C.PII detection
D.Language detection
AnswerA

Key phrase extraction identifies key terms and concepts in unstructured text.

Why this answer

Key phrase extraction extracts the most important terms and phrases from input documents.

38
MCQeasy

You are developing a global news aggregation application using the Azure AI Language service. You need to automatically identify the primary language of incoming user-submitted articles across 120 different languages before routing them to translation pipelines. Which API endpoint should you call?

A.POST /language/translate?api-version=3.0
B.POST /language/:analyze-text?api-version=2023-04-01 with the CustomEntityRecognition task
C.POST /language/analyze-text/jobs?api-version=2023-04-01 with the TextSentimentAnalysis task
D.POST /language/:analyze-text?api-version=2023-04-01 with the TextLanguageDetection task
AnswerD

This is the correct synchronous analyze-text API endpoint and task name for language detection.

Why this answer

The Language detection feature of the Azure AI Language service evaluates text input and returns the detected language name, ISO 639-1 code, and a confidence score for up to 120 languages.

39
MCQhard

You are troubleshooting a custom text classification model that exhibits high training loss and low validation accuracy, indicating severe model underfitting. What adjustment should you make to improve the model?

A.Lower the confidence score threshold to 0.01.
B.Increase the diversity and volume of training data and ensure model training is allowed to complete fully.
C.Reduce the training dataset size by 90%.
D.Switch the resource pricing tier from Standard to Free.
AnswerB

Underfitting is addressed by providing more training data and ensuring adequate model learning capacity.

Why this answer

Underfitting occurs when a model is too simple or hasn't learned enough patterns. Increasing training iterations (epochs) or adding more descriptive features and training data helps resolve underfitting.

40
MCQmedium

You are configuring text summarization using the Azure AI Language REST API. You need to generate a summary that consists of a few distinct sentences pulled directly from the source document without altering their wording. Which summarization kind should you specify?

A.Key phrase extraction
B.Extractive summarization
C.Abstractive summarization
D.Custom single-label classification
AnswerB

Extractive summarization produces a summary by taking verbatim sentences from the source text.

Why this answer

Extractive summarization extracts sentences that collectively capture the most important context from the source document without rewriting them.

41
Multi-Selectmedium

You are preparing training data for a custom named entity recognition (NER) project in Language Studio. Which THREE guidelines should you follow to ensure high model accuracy? (Choose three.)

Select 3 answers
A.Ensure consistent and accurate tagging of entities across all training documents.
B.Use exactly one training document for the entire project.
C.Provide sufficient examples for each entity type based on service guidelines.
D.Include a diverse set of training documents that reflect real-world data distribution.
E.Tag every single word in every document as an entity.
AnswersA, C, D

Consistency in labeling is critical for model training accuracy.

Why this answer

Best practices for custom NER training data include providing a diverse set of documents, ensuring consistent tagging across all instances, and maintaining sufficient sample counts per entity type.

42
MCQhard

You are analyzing legal contracts using Azure AI Language custom named entity recognition. You notice that overlapping entities (e.g., 'Acme Corporation' inside a larger entity 'Acme Corporation Headquarters') are causing extraction errors in your custom model. How should you resolve this in Language Studio?

A.Configure the project schema to support overlapping entities during project creation.
B.Increase the confidence score threshold to 0.99.
C.Switch the project type from custom NER to custom text classification.
D.Convert all contract texts to lowercase before tagging.
AnswerA

Custom NER projects require enabling overlapping entities settings at project creation if nested or intersecting tags occur.

Why this answer

When configuring custom NER projects, you can enable or configure support for overlapping entities during project creation if your schema requires nested or overlapping extractions.

43
MCQeasy

You are developing a .NET application that analyzes customer feedback. Which NuGet package should you install to use the Azure AI Language client library in C#?

A.Azure.AI.Language.Text
B.Microsoft.CognitiveServices.TextAnalytics
C.Azure.AI.TextAnalytics
D.Microsoft.Azure.CognitiveServices.Language
AnswerC

Azure.AI.TextAnalytics is the current client library NuGet package.

Why this answer

The official NuGet package for Azure AI Language text analysis in .NET is `Azure.AI.TextAnalytics`.

44
MCQhard

You are developing a solution that uses custom text classification in Azure AI Language. You choose the multi-label classification architecture. What is the key characteristic of multi-label text classification?

A.A single document can be assigned zero, one, or multiple categories simultaneously.
B.Each document must be assigned to exactly one mutually exclusive category.
C.The output is restricted to binary positive or negative values.
D.Categories are automatically generated by the service without user training data.
AnswerA

Multi-label classification allows documents to be tagged with multiple independent categories.

Why this answer

In multi-label classification, a single document can be assigned zero, one, or multiple distinct category labels simultaneously.

45
MCQmedium

You are configuring abstractive summarization in Azure AI Language. You want to control the length of the generated summary output. Which parameter should you configure in your request body?

A.maxSummaryLength
B.documentLengthLimit
C.sentenceCount
D.confidenceThreshold
AnswerA

maxSummaryLength specifies the maximum length of the output summary in abstractive summarization.

Why this answer

Abstractive summarization requests accept a 'max和社会' or max-length parameter depending on the API version to control summary length, specifically 'maxSummaryLength'.

46
MCQhard

You are processing health-related clinical notes using the Azure AI Language service. You need to extract medical concepts and link them to standardized medical vocabularies such as ICD-10-CM and SNOMED-CT. Which specific feature and endpoint task should you use?

A.Named Entity Recognition (NER) with standard prebuilt-entity models
B.Key phrase extraction with medical domain parameters
C.Custom Named Entity Recognition with a trained ICD-10 dictionary
D.Healthcare text analytics (Healthcare-specific NER and relation extraction)
AnswerD

Healthcare text analytics extracts health-related entities and links them to specialized ontologies like UMLS, SNOMED-CT, and ICD-10.

Why this answer

Healthcare text analytics is a specialized capability of the Azure AI Language service designed to extract and link medical entities to standard terminologies.

47
MCQeasy

You are building an app to analyze customer feedback. You want to extract named entities such as people, locations, and organizations. Which Azure AI Language feature should you use?

A.Language detection
B.Sentiment analysis
C.Named Entity Recognition (NER)
D.Key phrase extraction
AnswerC

NER identifies and categorizes entities like people, locations, and organizations.

Why this answer

Named Entity Recognition (NER) extracts known entities from text and categorizes them into predefined classes such as people, places, and organizations.

48
MCQmedium

You are using Azure AI Language custom text classification. You have uploaded your training dataset and trained a model. You notice that your evaluation metrics show low precision. What does low precision indicate about your model?

A.Many of the items predicted as a specific class actually belonged to a different class.
B.The model failed to find many actual positive instances in the dataset.
C.The latency of the REST API calls is too high.
D.The training dataset contained fewer than 5 documents per class.
AnswerA

Low precision indicates high false positives, meaning items were incorrectly labeled as the target class.

Why this answer

Precision measures the ratio of true positive predictions to total predicted positives. Low precision means the model produces many false positives.

49
Multi-Selecthard

You are developing an application that uses the Azure AI Language REST API for text analysis. Which TWO requirements must be met when constructing HTTP requests to the service? (Choose two.)

Select 2 answers
A.Format all request payloads as XML documents.
B.Include the master account password in the request query string.
C.Set the 'Content-Type' header to 'application/json'.
D.Authenticate exclusively using HTTP Basic Authentication with username and password.
E.Include the 'Ocp-Apim-Subscription-Key' header containing your API subscription key.
AnswersC, E

JSON payloads require Content-Type: application/json.

Why this answer

Requests to Azure AI Language require the Ocp-Apim-Subscription-Key header (or token authorization) and the Content-Type header set to application/json.

50
MCQeasy

You need to detect the language of a batch of text documents and want to minimize the number of API calls. What is the maximum number of documents you can include in a single request payload to the language detection endpoint?

A.1 document
B.1,000 documents
C.10 documents
D.100,000 documents
AnswerC

Synchronous batch requests support up to 10 documents per call.

Why this answer

Azure AI Language batch APIs typically support up to 10 documents per synchronous request payload.

51
MCQmedium

You are designing a customer feedback processing system. You need to extract key phrases from customer reviews and store them in an Azure Cosmos DB database. When you inspect the JSON response from the key phrase API, what data structure is returned for the key phrases?

A.A single concatenated string with semicolons separating each phrase.
B.An array of strings representing the key phrases found in the document.
C.A nested dictionary mapping phrase weights to sentiment scores.
D.An array of objects containing 'text', 'category', and 'confidenceScore' properties.
AnswerB

Key phrases are returned as an array of strings.

Why this answer

The key phrase extraction response returns a list of string values representing the extracted key phrases for each document.

52
MCQmedium

You are analyzing product reviews using Azure AI Language. You receive sentiment analysis output where a sentence has a positive confidence score of 0.85, a neutral score of 0.10, and a negative score of 0.05. What is the sentiment label assigned to this sentence?

A.neutral
B.positive
C.mixed
D.negative
AnswerB

The highest confidence score is positive (0.85), so the label is positive.

Why this answer

The sentiment label corresponds to the highest confidence score among positive, neutral, and negative. Here, 0.85 is positive.

53
MCQhard

You are building a custom named entity recognition model in Language Studio. You want to extract product serial numbers that follow a specific pattern (two uppercase letters followed by four digits, a hyphen, and three digits). Which entity type definition method should you use?

A.List entity type
B.Learned entity type
C.Regex entity type
D.Prebuilt entity type
AnswerC

Regex entity components allow you to define strict pattern matching for structured codes like serial numbers.

Why this answer

When defining custom entities with rigid patterns, you can use a 'Regex' (regular expression) component to extract items matching exact rules.

54
MCQmedium

You are analyzing product reviews and need to identify specific product features mentioned by users along with whether users expressed positive or negative opinions about those specific features. Which advanced feature of sentiment analysis should you enable?

A.Extractive summarization
B.Opinion mining
C.Key phrase extraction
D.Named Entity Recognition
AnswerB

Opinion mining extracts aspect-level targets and sentiments.

Why this answer

Opinion mining is an advanced feature of sentiment analysis that extracts aspects (targets) and their associated opinions (assessments).

55
Multi-Selecteasy

You are building an application to process customer reviews. Which TWO metrics are returned in the standard JSON response of a sentiment analysis document evaluation? (Choose two.)

Select 2 answers
A.Overall document sentiment label
B.Estimated reading time in minutes
C.Detected language translation confidence score
D.Total word count of the document
E.Sentiment confidence scores (positive, neutral, negative)
AnswersA, E

The overall sentiment label (positive, negative, neutral, mixed) is returned.

Why this answer

Sentiment analysis document responses return the overall sentiment label and confidence scores (positive, neutral, negative).

56
MCQhard

You are processing customer feedback using sentiment analysis in the Azure AI Language service. You need to extract finer-grained information about specific product attributes mentioned in the reviews (e.g., finding out that the screen is bright but the battery life is poor). Which feature should you enable in your API request?

A.Opinion mining
B.PII detection
C.Language detection
D.Custom text classification
AnswerA

Opinion mining performs aspect-based sentiment analysis, linking sentiments directly to target features or aspects in the text.

Why this answer

Opinion mining is an extension of sentiment analysis that provides more granular information about the opinions related to product or service attributes (aspect-based sentiment analysis).

57
MCQeasy

You need to evaluate customer reviews to determine whether the overall tone is positive, negative, or neutral. 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 evaluates the emotional tone of text.

Why this answer

Sentiment analysis provides sentiment labels (positive, negative, neutral) and confidence scores at both the document and sentence levels.

58
Multi-Selecthard

When configuring a custom Named Entity Recognition (NER) project in Language Studio using the Azure AI Language service, which THREE steps or configuration options are required during the model lifecycle?

Select 3 answers
A.Define your entity schema and types
B.Fine-tune the underlying base transformer weights via direct GPU gradient backpropagation code
C.Manually convert all input text files into pre-tokenized JSON vectors
D.Train the model using your labeled dataset
E.Deploy the trained model to a deployment name for client application consumption
AnswersA, D, E

You must define the entity types (e.g., ProductNumber, VendorName) before labeling data.

Why this answer

Building a custom NER model involves defining the entity schema, tagging or labeling your documents, training the model, evaluating performance metrics, and finally deploying the trained model.

59
MCQeasy

You are building an application that analyzes user feedback. You need to detect instances where users share their phone numbers, email addresses, and credit card numbers so that you can automatically redact them. Which feature should you use?

A.Sentiment analysis
B.Language detection
C.Named Entity Recognition (NER)
D.PII detection
AnswerD

PII detection identifies, classifies, and optionally redacts sensitive personal data.

Why this answer

Personally Identifiable Information (PII) detection identifies and redacts sensitive information such as phone numbers, emails, and financial data.

60
Multi-Selectmedium

You are designing an asynchronous text analysis workflow using the Azure AI Language service to process large volumes of documents (e.g., hundreds of megabytes of text files stored in Azure Blob Storage). Which TWO features support asynchronous batch processing jobs via the /analyze-text/jobs endpoint?

Select 2 answers
A.Standard sentiment analysis
B.Language detection
C.Custom text classification
D.Key phrase extraction
E.Text summarization (Abstractive)
AnswersC, E

Custom text classification supports asynchronous batch jobs for processing large numbers of documents.

Why this answer

Asynchronous batch operations in Azure AI Language are supported for resource-intensive tasks such as custom classification, custom NER, and abstractive/extractive summarization.

61
MCQeasy

You need to extract key concepts and main ideas from long-form technical support articles using the Azure AI Language service. Which feature should you invoke?

A.Personal Personally Identifiable Information (PII) detection
B.Language detection
C.Summarization
D.Key phrase extraction
AnswerD

Key phrase extraction pulls out the main talking points from unstructured text.

Why this answer

Key phrase extraction returns a list of strings denoting the main talking points in the input text.

62
MCQeasy

You are configuring an Azure AI Language resource and want to ensure that it can be accessed securely from an Azure Virtual Network (VNet) without traversing the public internet. Which Azure networking feature should you configure?

A.Private endpoints
B.Azure Front Door
C.Azure Bastion
D.VPN Gateway
AnswerA

Private endpoints secure traffic between your VNet and the Azure AI service.

Why this answer

Private endpoints allow you to connect securely to your Azure AI Language resource from a virtual network using private IP addresses.

63
Multi-Selecthard

You are configuring custom named entity recognition in Language Studio. Which TWO types of entity components can you configure when defining custom entities? (Choose two.)

Select 2 answers
A.Quantum computation component
B.Regex component
C.Neural speech synthesis component
D.Learned component
E.Optical character recognition component
AnswersB, D

Regex components allow pattern-based entity extraction.

Why this answer

Custom NER projects support Learned entity components (trained from labeled data) and Regex or List components for exact pattern or dictionary matching.

64
MCQmedium

You are building a custom text classification solution using Azure AI Language in Language Studio. You have a dataset where each document can belong to multiple categories simultaneously (e.g., a news article can be tagged as both 'Technology' and 'Finance'). What classification type should you configure?

A.Custom named entity recognition
B.Multi-label classification
C.Single-label classification
D.Extractive summarization
AnswerB

Multi-label classification is designed for scenarios where a single document can be assigned multiple overlapping categories.

Why this answer

Multi-label classification allows a document to be associated with zero, one, or multiple classes simultaneously, whereas single-label classification restricts each document to exactly one class.

65
MCQmedium

Your development team is building a global customer support portal. Incoming tickets arrive in dozens of different languages. You need to automatically route tickets to the correct regional team based on the language of the ticket text. Which Azure AI Language feature should you call?

A.Sentiment analysis
B.Named Entity Recognition (NER)
C.Key phrase extraction
D.Language detection
AnswerD

Language detection identifies the language in which an input text is written.

Why this answer

Language detection evaluates text input and returns the detected language and a confidence score for each document provided, making it ideal for routing workflows.

66
Multi-Selecthard

You are designing an architecture that processes incoming multilingual support emails using Azure AI Language. Which THREE processing steps should you include in your pipeline? (Choose three.)

Select 3 answers
A.Execute named entity recognition to extract relevant organizations, locations, and names.
B.Train a new speech-to-text acoustic model for every email received.
C.Call the language detection endpoint to identify the primary language of each incoming email.
D.Convert all email text into raw binary executable files before analysis.
E.Apply sentiment analysis or PII detection on the text documents.
AnswersA, C, E

NER extracts key entities from the support messages.

Why this answer

A robust multilingual pipeline typically detects the language first, routes or translates if needed, and then applies text analysis tasks such as sentiment analysis, PII redaction, or entity recognition.

67
MCQhard

You are configuring a webhook to receive notifications when an asynchronous batch text summarization job completes in Azure AI Language. Which Azure service should you use to capture and route the webhook events to your backend function?

A.Azure Event Grid
B.Azure API Management
C.Azure Stream Analytics
D.Azure Logic Apps
AnswerA

Event Grid manages event routing for AI service asynchronous batch completion notifications.

Why this answer

Azure Event Grid is the native event routing service in Azure that integrates with Azure AI services to publish and deliver job completion events.

68
Multi-Selecteasy

You are configuring an Azure AI Language resource. Which TWO pricing tiers are available for provisioning the resource in the Azure portal? (Choose two.)

Select 2 answers
A.Standard (S)
B.Unlimited (U1)
C.Free (F0)
D.Developer (DEV)
E.Enterprise (E1)
AnswersA, C

Standard (S) is the production pricing tier.

Why this answer

Azure AI Language offers the Free (F0) and Standard (S) pricing tiers.

69
MCQmedium

You are training a custom text classification model in Language Studio. After reviewing your trained model's performance metrics, you decide to improve recall for a specific underperforming category. What action should you take?

A.Increase the confidence threshold parameter in your client application code.
B.Delete all training documents for that category.
C.Switch the classification type from multi-label to single-label.
D.Add more varied training examples for that category to the dataset and retrain the model.
AnswerD

Adding more representative training samples helps the model recognize more true positive instances, improving recall.

Why this answer

To improve recall (capturing more of the true positive instances), you should add more diverse training examples containing that category and ensure existing labels are consistently applied.

70
Multi-Selecteasy

You are designing a text analysis solution using Azure AI Language. Which TWO features are available as prebuilt capabilities without requiring custom model training? (Choose two.)

Select 2 answers
A.Custom named entity recognition
B.Language detection
C.Sentiment analysis
D.Custom text classification
E.Custom summarization models
AnswersB, C

Language detection is a prebuilt capability.

Why this answer

Sentiment analysis and language detection are prebuilt capabilities provided out-of-the-box by Azure AI Language without requiring custom model training. Custom text classification and custom NER require training.

71
Multi-Selectmedium

You are planning a text analytics pipeline that uses asynchronous batch operations. Which THREE text analysis tasks support asynchronous long-running batch operations in Azure AI Language? (Choose three.)

Select 3 answers
A.Simple key phrase extraction
B.Health text analytics
C.Extractive summarization
D.Abstractive summarization
E.Language detection
AnswersB, C, D

Health text analytics supports asynchronous batch jobs.

Why this answer

Asynchronous batch operations are supported for text summarization, extractive summarization, health text analytics, and custom classification/NER tasks where large volumes of documents are processed.

Ready to test yourself?

Try a timed practice session using only Text Analysis questions.