AI-102 Practice Question: Implement natural language processing solutions
A company uses Azure AI Language's conversational language understanding (CLU) to build a customer support bot. They want to integrate the bot with Microsoft Teams and need to ensure that user authentication is handled by Microsoft Entra ID. However, users report that the bot sometimes fails to respond when they are not signed into Microsoft Entra ID. What is the most likely cause?
⚠ Common exam trap
The trap here is that candidates mistakenly think the CLU service itself requires user authentication via Microsoft Entra ID tokens, when in fact the authentication failure is due to the bot's token handling in Azure Bot Service, not the CLU model or endpoint configuration.
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
✓
The bot's authentication settings in Azure Bot Service require Microsoft Entra ID, but the bot is not passing the token correctly.
The bot's authentication settings in Azure Bot Service require Microsoft Entra ID tokens for user authentication, but the bot is not passing the token correctly. When users are not signed into Microsoft Entra ID, the bot fails to respond because it cannot validate the user's identity via the missing or malformed token. The CLU service itself does not require tokens for prediction; the issue lies in the bot's authentication flow, not the CLU endpoint configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The CLU model requires a Microsoft Entra ID token for prediction.
Why it's wrong here
The model does not require Microsoft Entra ID for prediction.
- ✗
The CLU project endpoint is not configured to accept anonymous requests.
Why it's wrong here
The endpoint can accept anonymous requests; authentication is at the bot level.
- ✗
The bot is not registered in Microsoft Entra ID.
Why it's wrong here
The bot must be registered, but the issue is user authentication.
- ✓
The bot's authentication settings in Azure Bot Service require Microsoft Entra ID, but the bot is not passing the token correctly.
Why this is correct
The bot may be configured to require Microsoft Entra ID authentication, and if the user is not signed in, the bot cannot respond.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.