Exam AI-300 Topic 1 Question 125 Discussion
Actual exam question for Microsoft's AI-300 exam
Question #: 125
Topic #: 1
Question #: 125
Topic #: 1
You have a deployment of an Azure OpenAI Service base model.
You plan to fine-tune the model.
You need to prepare a file that contains training data for multi-turn chat.
Which file encoding method should you use?
You plan to fine-tune the model.
You need to prepare a file that contains training data for multi-turn chat.
Which file encoding method should you use?
Suggested Answer: C Vote an answer
UTF-8 is the universal encoding standard: it is backward-compatible with ASCII for standard Latin characters, supports every Unicode code point covering over 140,000 characters, and is the de facto standard for all modern APIs including Azure OpenAI. This matters for fine-tuning because training data often contains diverse characters from multiple languages, special punctuation, and domain-specific symbols. If they use ASCII encoding, any accented character or non-Latin script will be corrupted or lost entirely. UTF-
16 adds a Byte Order Mark and can cause parsing issues with tools that expect standard JSONL. ISO-8859-1 covers Western European characters only and fails immediately with CJK or Arabic scripts. The Azure OpenAI fine-tuning documentation explicitly states that training files must be UTF-8 encoded, making it the only safe choice.
Microsoft Learn Reference Topic: Azure OpenAI fine-tuning - File format and encoding requirements
16 adds a Byte Order Mark and can cause parsing issues with tools that expect standard JSONL. ISO-8859-1 covers Western European characters only and fails immediately with CJK or Arabic scripts. The Azure OpenAI fine-tuning documentation explicitly states that training files must be UTF-8 encoded, making it the only safe choice.
Microsoft Learn Reference Topic: Azure OpenAI fine-tuning - File format and encoding requirements
by Marvin at Jun 26, 2026, 01:13 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).