AI-102 Implement computer vision solutions Practice Question
Exhibit
{
"face": {
"apiVersion": "2024-02-01",
"parameters": {
"returnFaceId": true,
"returnFaceLandmarks": false,
"returnFaceAttributes": ["age", "emotion", "hair"]
}
}
}Refer to the exhibit. You are using the Azure AI Face API to detect faces in an image. You need to ensure that the response includes the unique face ID for each detected face. However, the response does not contain face IDs. What is the most likely cause?
⚠ Common exam trap
A common trap in the AI-102 exam is assuming that face IDs are always returned by default when using the Azure Face API. In reality, only detection models 03 and 04 support face ID generation; the default model (detection_01) does not. Candidates must remember to explicitly set the 'detectionModel' parameter to 'detection_03' or 'detection_04' to obtain face IDs.
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 'detectionModel' parameter is not set; the default detection model does not return face IDs.
The Face API's default detection model (detection_01) does not return face IDs. To obtain face IDs, you must explicitly set the 'detectionModel' parameter to 'detection_03' or 'detection_04', which support face ID generation. Without this parameter, the API omits the face ID field in the response.
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 'returnFaceLandmarks' parameter must be set to true.
Why it's wrong here
Face landmarks are unrelated to face ID.
- ✗
The 'returnFaceId' parameter is set to false.
Why it's wrong here
It is set to true in the exhibit.
- ✓
The 'detectionModel' parameter is not set; the default detection model does not return face IDs.
Why this is correct
Detection model must be set to 'detection_03' for face IDs.
- ✗
The API version is incorrect; use '2023-06-01-preview' instead.
Why it's wrong here
Version 2024-02-01 is valid.
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.