AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 75


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 Answer
Correct Answer:

Reference:

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

Discussion

12 comments
Sign in to comment
Internal_Koala
Sep 14, 2022

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

AzureJobsTillRetire
Feb 12, 2023

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

surasahoo
Feb 13, 2023

Hi, have you passed the exam? Did you simulation questions?

Adobe02
Feb 14, 2023

Following

Rob77
May 5, 2023

2nd is "no". Nothing is stopping you from specifying another group using the code so even free tier is 1000x1000 = 1m people

rdemontis
Nov 3, 2023

agree with you

james2033
Aug 19, 2023

person groups, not persons. 2 choose No.

baliuxas07
Jun 18, 2024

404 on the source

ziggy1117
Jun 9, 2023

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

momentumhd
Sep 14, 2022

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

davidorti
Jan 8, 2024

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.

Ody__
Mar 22, 2024

If that's your reasoning, then you can't select Yes for the first one. They use the same verbiage in both.

nanaw770
May 25, 2024

Yes No Yes

taiwan_is_not_china
May 28, 2024

The correct sequence for this problem solution is Yes No Yes.

sl_mslconsulting
Oct 21, 2023

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

sl_mslconsulting
Oct 21, 2023

The 10,000 lomitation would make more sense if they are asking about this API: POST {Endpoint}/face/v1.0/persongroups/{personGroupId}/persons

audlindr
Feb 24, 2024

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.

Ody__
Mar 22, 2024

Images sent to the service are not stored after analysis. https://learn.microsoft.com/en-us/legal/cognitive-services/face/data-privacy-security

Murtuza
Mar 29, 2024

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.

takaimomoGcup
May 20, 2024

Yes No Yes

krzkrzkra
Jul 15, 2024

Yes No Yes