Courseiva

AI-102 Practice Question: Implement natural language processing solutions

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?

⚠ Common exam trap

A common mix-up: candidates 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.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Set the 'formality' parameter to the desired level (e.g., 'formal' or 'informal').

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.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Set the 'category' parameter to 'general' to use a standard translation model.

    Why it's wrong here

    The 'category' parameter selects a custom translation model by category ID; 'general' is the default system model and carries no formality control. It would be correct when no custom model exists, but preserving tone requires a custom category trained on formal correspondence.

  • ✗

    Set the 'scope' parameter to 'document' to ensure context-aware translation.

    Why it's wrong here

    The 'scope' parameter selects whether text is translated as a document or sentence; it governs segmentation, not formality. It would be correct for translating whole documents with context, but tone preservation needs the 'tone' parameter or a custom model trained on formal email data.

  • ✓

    Set the 'formality' parameter to the desired level (e.g., 'formal' or 'informal').

    Why this is correct

    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.

  • ✗

    Set the 'language' parameter to 'fr' and the 'from' parameter to 'en'.

    Why it's wrong here

    The 'from' and 'language' parameters only declare source and target languages; they do not influence tone or formality. They would be correct for a basic translation request, but preserving formality requires the 'tone' or 'deploymentName' setting with a custom translator model.

About these practice questions

Courseiva writes every AI-102 question from scratch — 761 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.