exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 2 question 6 discussion

Actual exam question from Microsoft's AI-102
Question #: 6
Topic #: 2
[All AI-102 Questions]

HOTSPOT -
You are developing an application to recognize employees' faces by using the Face Recognition API. Images of the faces will be accessible from a URI endpoint.
The application has the following code.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/use-persondirectory

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Internal_Koala
Highly Voted 2 years, 2 months ago
Based on the subscription, I think, it could also be Yes Yes Yes "Free-tier subscription quota: 1,000 person groups. Each holds up to 1,000 persons. S0-tier subscription quota: 1,000,000 person groups. Each holds up to 10,000 persons." https://docs.microsoft.com/en-us/rest/api/faceapi/person-group/create?tabs=HTTP
upvoted 16 times
Labani1987
4 months, 1 week ago
Just posting the correct link => https://learn.microsoft.com/en-us/rest/api/face/person-group-operations/create-person-group?view=rest-face-v1.1-preview.1&tabs=HTTP. It will be Yes, Yes and Yes
upvoted 2 times
...
baliuxas07
5 months, 2 weeks ago
404 on the source
upvoted 1 times
...
james2033
1 year, 3 months ago
person groups, not persons. 2 choose No.
upvoted 2 times
...
AzureJobsTillRetire
1 year, 9 months ago
The second box should be No. The given answers are correct. The second box states that the code will work for up to 10,000 people. While this is true for S0 tier, it is false for free-tier. Since the price tier is not given, we will have to say that it is not always true, and that means it is false
upvoted 11 times
Ody
3 months, 2 weeks ago
The question isn't really about the SKU, but asking if the "code will work" for that many. The code will.
upvoted 1 times
...
surasahoo
1 year, 9 months ago
Hi, have you passed the exam? Did you simulation questions?
upvoted 4 times
Adobe02
1 year, 9 months ago
Following
upvoted 1 times
...
...
...
...
ziggy1117
Highly Voted 1 year, 5 months ago
Yes No Yes "Free-tier subscription quota: 1,000 person groups. Each holds up to 1,000 persons. So in the code you can have 1000 person groups and 1000 persons each giving you 1,000,000 people
upvoted 12 times
...
master9
Most Recent 2 months, 2 weeks ago
ChatGPT Response: 1. The code will add a face image to a person object in a person group: Yes: In the Face API, adding a face to a person object in a person group is a typical operation. You use the add_face method (or similar method depending on the SDK or API) to associate a face with a person object within a specific person group. 2. The code will work for up to 10,000 people: Yes: Azure Face API can typically support up to 10,000 people in a person group. This is a documented limit for the Face API's person groups, so the code can handle this number of people. 3. add_face can be called multiple times to add multiple face images to a person object: Yes: You can call the add_face method multiple times to associate multiple face images with a single person object. This helps improve the accuracy of face recognition by allowing the system to recognize the same person from different angles or lighting conditions.
upvoted 1 times
...
famco
3 months ago
Another of those ambigous guessing game from the dysfunctional microsoft. I will answer the second one No. Just assuming the question creator is asking whether one person group can have 10K persons. Otherwise I hope he/she would have given the plan. I do not understand the point of all these questions and remembering these useless facts.
upvoted 1 times
famco
3 months ago
Changed, I will go for yes, and assuming standard plan.
upvoted 1 times
...
...
Labani1987
4 months, 1 week ago
Second should be yes .Link => https://learn.microsoft.com/en-us/rest/api/face/person-group-operations/create-person-group?view=rest-face-v1.1-preview.1&tabs=HTTP.. It will be supported by Free tier subscription quota.
upvoted 1 times
...
krzkrzkra
4 months, 3 weeks ago
Yes No Yes
upvoted 1 times
...
taiwan_is_not_china
6 months, 1 week ago
The correct sequence for this problem solution is Yes No Yes.
upvoted 2 times
...
nanaw770
6 months, 1 week ago
Yes No Yes
upvoted 2 times
...
takaimomoGcup
6 months, 2 weeks ago
Yes No Yes
upvoted 1 times
...
Murtuza
8 months, 1 week ago
The code you’ve provided is intended to add a face image to a person object in a person group using the Azure Face API, so: Yes, the code will add a face image to a person object in a person group, provided the code is corrected for syntax errors and proper API usage. Yes, the code can work for up to 10,000 people, as long as the Azure Face API limits are adhered to and the appropriate subscription tier is used. Yes, the add_face function can be called multiple times to add multiple face images to a person object, subject to the limits imposed by the Azure Face API.
upvoted 1 times
...
Ody
8 months, 2 weeks ago
Images sent to the service are not stored after analysis. https://learn.microsoft.com/en-us/legal/cognitive-services/face/data-privacy-security
upvoted 1 times
...
audlindr
9 months, 2 weeks ago
Is this a trick question? From here: https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523b No image will be stored. Only the extracted face feature(s) will be stored on server until PersonGroup PersonFace - Delete, PersonGroup Person - Delete or PersonGroup - Delete is called.
upvoted 1 times
...
davidorti
11 months ago
Yes No - As the code will keep working in other groups (for instance), and as AzureJobsTillRetire says, a statement that's not generally true is false No - As the image is not really 'added', just their features "No image will be stored. Only the extracted face feature will be stored on server until PersonGroup PersonFace - Delete, PersonGroup Person - Delete or PersonGroup - Delete is called." --see: https://learn.microsoft.com/en-us/rest/api/faceapi/person-group/create?view=rest-faceapi-v1.0&tabs=HTTP The way it works, you have to update a face https://learn.microsoft.com/en-us/rest/api/faceapi/person-group-person/update-face?view=rest-faceapi-v1.0&tabs=HTTP. If you register a new pic for an existing user it will just create a new one and return a new persistedFaceId.
upvoted 2 times
Ody
8 months, 2 weeks ago
If that's your reasoning, then you can't select Yes for the first one. They use the same verbiage in both.
upvoted 1 times
...
...
sl_mslconsulting
1 year, 1 month ago
You can vary the person group id and the person id while making the call, so even with the free tier is still way above the mention 10,000 people limitation. The only limitation that is defined for this API is this Response 403 Persisted face number reached limit, maximum is 248 per person. Link here: https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523b
upvoted 1 times
sl_mslconsulting
1 year, 1 month ago
The 10,000 lomitation would make more sense if they are asking about this API: POST {Endpoint}/face/v1.0/persongroups/{personGroupId}/persons
upvoted 1 times
...
...
momentumhd
2 years, 2 months ago
Once you have the Person ID from the Create Person call, you can add up to 248 face images to a Person per recognition model. They are all true, the limit is 75 milion persons per group
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

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.

SaveCancel
Loading ...