Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are calling the Azure AI Language Detect Language REST endpoint from a function app. For privacy compliance you must ensure no regional information is sent with each document. What value should you assign to the countryHint field so the service performs language detection without using any country or region hint?
In the REST Detect Language API, the optional countryHint property can hold an ISO 3166-1 alpha-2 country code. If the property is omitted (null) the service assumes "US". To disable the regional hint you must pass an empty string (""). This resets the behavior and the service still detects the language but without applying any country context. The string "none" is recognized by some client SDKs but is not documented for the REST request body, and an invalid value such as "unknown" causes a request error.
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 the countryHint property in Azure AI Language API?
Open an interactive chat with Bash
Why does the countryHint default to 'US' if omitted?
Open an interactive chat with Bash
What happens if you pass invalid values like 'unknown' to countryHint?
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 .