Q01 - Question
An assistant app must read notification messages aloud. The developer already has a SpeechConfig for the Foundry resource. Which approach implements the spoken output?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Create a SpeechRecognizer and call RecognizeOnceAsync with the message text.
- B. Create a SpeechConfig for each message and read the audio data directly from it.
- C. Create an AudioConfig only, because it converts text to audio without a client object.
- D. Create a SpeechSynthesizer from the SpeechConfig and an optional AudioConfig, then call SpeakTextAsync.
D is correct.
Explanation: SpeechSynthesizer is the proxy client for the Text to speech API. You create it from a SpeechConfig and an optional AudioConfig, then call SpeakTextAsync to convert the text to audio.
A is incorrect: SpeechRecognizer transcribes spoken audio into text and cannot produce spoken output.
B is incorrect: SpeechConfig only holds connection and output settings; it does not return audio data on its own.
C is incorrect: AudioConfig defines the audio output destination and is optional, so it cannot perform synthesis without a SpeechSynthesizer.
Q02 - Question
A support portal receives customer messages in many languages. The application doesn't know the language of each message in advance. All messages must be translated into English before agents review them. You use TextTranslationClient with Azure Translator. What should you do?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Call the transliterate operation and specify English as the target script
- B. Call the translate operation and always specify Spanish as the source language
- C. Call the transliterate operation first to identify the source language, and then call translate
- D. Call the translate operation with English as the target language and omit the source language
D is correct.
Explanation: The translate operation can detect the source language when you omit it. Specify English as the target language and let the service identify the language of each message.
A is incorrect: The transliterate operation converts text between scripts for a specified language. It doesn't translate text into another language.
B is incorrect: A fixed source language doesn't match messages that arrive in many unknown languages.
C is incorrect: The transliterate operation requires a specified language, so you can't use it to identify an unknown source language.
Q03 - Question
A clinical intake team needs an agent that can remove personal data from free-text notes and extract health-related information from the same notes. Which two tools exposed by the Azure Language MCP server meet these two requirements? Each correct answer presents part of the solution.
Domain: Implement text analysis solutions (10–15%) Type: Multiple choice
- A. PII redaction
- B. Document translation
- C. Text Analytics for Health
- D. Custom question answering
A and C are correct.
Explanation: The Azure Language MCP server exposes language detection, named entity recognition, PII redaction, and Text Analytics for Health tools. PII redaction removes personal data and Text Analytics for Health extracts health-related information from the notes.
B is incorrect: Document translation is not among the tools that the Azure Language MCP server exposes.
D is incorrect: Custom question answering is not among the tools that the Azure Language MCP server exposes.
Q04 - Question
A support application receives customer articles of unknown origin. Many submitted files contain more than 5,120 characters, and calls to the language detection API in Azure Language fail for those files. What should you do so the application can still identify the language of each submission?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Send each file as a single document and ignore the returned confidence score.
- B. Translate each file to English before calling the language detection API.
- C. Split each file into segments under 5,120 characters and submit each segment as a document.
- D. Replace language detection with Named Entity Recognition.
C is correct.
Explanation: Documents submitted to the language detection API must be under 5,120 characters, so split long files into smaller segments and submit each segment as a document to receive a language identifier and confidence score.
A is incorrect: Documents that exceed the 5,120 character limit cannot be processed, and ignoring the confidence score does not change the size constraint.
B is incorrect: Translating the text first requires knowing the source language, which is the information the application is trying to obtain.
D is incorrect: Named Entity Recognition identifies entities mentioned in text and does not return a language identifier.
Q05 - Question
You plan to build and test a client application that analyzes text with Azure Language in Foundry Tools, and you want to limit ongoing cost after the testing is finished. Which plan meets both requirements?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Use an Azure subscription where you have read-only access, then keep the resources for future testing.
- B. Use an Azure subscription where you have administrative access, then remove the resources you created after testing.
- C. Call the text-analysis APIs without provisioning any resource, so there is nothing to remove.
- D. Provision the resource in every available region, then delete only the client application code.
B is correct.
Explanation: Building the client application requires an Azure subscription in which you have administrative access, and removing the resources you created after testing prevents further charges.
A is incorrect: Read-only access does not allow you to create the resource that the client application calls.
C is incorrect: You must provision a Microsoft Foundry resource before the application can call the text-analysis APIs.
D is incorrect: Deleting only the application code leaves the provisioned resources in place, and provisioning extra resources increases cost without supporting the test.
Q06 - Question
A company plans to use automated machine translation to reduce the time and cost of exchanging information with partners who speak other languages. The team is evaluating what the translation software must handle. Which capability must the translation software have?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. A word-for-word mapping between a source vocabulary list and a target vocabulary list
- B. An understanding of the grammar rules of the target language only
- C. An understanding of the linguistic rules and idioms of both the source and target languages
- D. An understanding of the vocabulary of the source language only
C is correct.
Explanation: Automated translation reduces time and cost only when the software understands the linguistic rules and idioms of both the source language and the target language.
A is incorrect: A word-for-word mapping doesn't account for linguistic rules or idioms, so the output can lose meaning.
B is incorrect: The software must also understand the source language to interpret the input correctly.
D is incorrect: The software must also understand the target language to produce a correct translation.
Q07 - Question
A retail company plans to deploy a real-time voice agent for customer calls. The team requires low-latency, high-quality speech-to-speech interactions and wants to avoid manually orchestrating separate speech components. What should the team use?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. A custom pipeline that chains separate Azure AI Speech recognition and synthesis components
- B. The Azure Speech Voice Live API
- C. A batch transcription job in Azure AI Speech
- D. The Azure AI Language service to analyze call transcripts
B is correct.
Explanation: The Azure Speech Voice Live API supports low-latency, high-quality speech-to-speech interactions for real-time voice agents without manually orchestrating separate components.
A is incorrect: Building a custom pipeline requires manually orchestrating separate components, which the team wants to avoid.
C is incorrect: A batch transcription job processes audio after the fact and does not provide real-time speech-to-speech interactions.
D is incorrect: Analyzing call transcripts with Azure AI Language does not provide a real-time speech-to-speech voice agent.
Q08 - Question
An architect reviews a design in which every text analysis tool signature is hardcoded into the agent definition. The team wants to reduce the maintenance work when the set of available tools changes. Which characteristic of the Azure Language MCP server supports this goal?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. The Model Context Protocol requires each tool to be registered as a separate model deployment.
- B. The server converts the agent prompt into a fixed sequence of Azure Language REST calls.
- C. The host, client, and server architecture supports runtime tool discovery, so the agent doesn't need hardcoded knowledge of each tool.
- D. The server stores the agent conversation history and replays it against each language tool.
C is correct.
Explanation: The Azure Language MCP server connects agents to Azure Language services through the Model Context Protocol. Its host, client, and server architecture supports runtime tool discovery, so the agent doesn't need hardcoded knowledge of each tool.
A is incorrect: The tools are exposed by the MCP server, not registered as individual model deployments.
B is incorrect: The agent selects tools at runtime rather than running a fixed call sequence defined by the server.
D is incorrect: Conversation replay is not a described function of the MCP server architecture.
Q09 - Question
A developer has a recorded meeting saved as an audio file. The application must return a text transcript by using a model deployed in Microsoft Foundry. What should the developer implement?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Use an AzureOpenAI client to upload the audio file through the transcription operation to a gpt-4o-transcribe deployment
- B. Submit the audio file as input text to a gpt-4o-tts deployment
- C. Use an AzureOpenAI client to stream generated speech from the audio file to an output file
- D. Send a written summary of the meeting to a gpt-4o-mini-tts deployment
A is correct.
Explanation: Speech-to-text submits audio content to a model and returns a text transcript. gpt-4o-transcribe is a supported transcription model, and an AzureOpenAI client can upload an audio file through the transcription operation.
B is incorrect: gpt-4o-tts is a text-to-speech model. It takes text as input and returns audio, not a transcript.
C is incorrect: Streaming generated speech to an output file is part of speech synthesis. It does not create text from recorded audio.
D is incorrect: gpt-4o-mini-tts produces spoken audio from text. It cannot transcribe the original recording.
Q10 - Question
A development team uses a large language model (LLM) to translate occasional phrases. The team now needs a comprehensive multi-language solution that supports custom text translation models and speech-to-speech translation. The team wants to access these capabilities through a Microsoft Foundry resource endpoint. What should the team use?
Domain: Implement text analysis solutions (10–15%) Type: Single choice
- A. Azure Translator in Foundry Tools for text translation and custom models, and Azure Speech in Foundry Tools for speech translation
- B. An LLM for all text and speech translation, with prompts that list each target language
- C. Azure Speech in Foundry Tools for both custom text translation models and speech translation
- D. Azure Translator in Foundry Tools for both text translation and speech-to-speech translation
A is correct.
Explanation: Comprehensive multi-language translation solutions generally require specialized models. Azure Translator provides text translation and custom models, and Azure Speech supports speech-to-text and speech-to-speech translation. Both are available through a Foundry resource endpoint.
B is incorrect: An LLM can translate phrases or documents, but comprehensive multi-language solutions generally need specialized models.
C is incorrect: Custom text translation models are provided by Azure Translator, not Azure Speech.
D is incorrect: Speech-to-speech translation is supported by Azure Speech, not Azure Translator.