Microsoft Azure AI Engineer Associate AI-102 Practice Question
You need to translate several hundred .docx and .pptx files stored in an Azure Blob Storage container from French to German. You will call the Azure AI Translator Document Translation REST API from an Azure Function and must minimize data transferred between your function and the translation service. What should you include in the request payload to identify the documents to be translated?
Embed each document's binary content as a base64 string inside the JSON request body.
Include a SAS URL for the source blob container and a SAS URL for an empty target container.
Upload the documents to the Translator endpoint using multipart/form-data in the POST request.
Open a persistent WebSocket connection and stream every document to the service.
The Document Translation API is designed to work directly with Azure Blob Storage. A translation request supplies two shared access signature (SAS) URLs: one that points to the source container holding the original files and another that points to a target container where the translated copies will be written. Because the service pulls the documents from storage and pushes the results back without routing the files through your code, this approach keeps egress traffic low. Supplying raw document content-whether as base64, multipart/form-data, or a streamed WebSocket feed-would dramatically increase data movement and is not supported by the REST API for large-scale document translation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a SAS URL in Azure Blob Storage?
Open an interactive chat with Bash
How does the Azure Translator Document Translation API minimize data transfer?
Open an interactive chat with Bash
Why can't document content be sent directly as base64 or multipart/form-data to the Azure Translator API?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement natural language processing solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .