Exam AI-102 All QuestionsBrowse all questions from this 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:

    Correct Answer:

    Reference:

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

Discussion
Internal_Koala

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

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

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

Adobe02

Following

Rob77

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

rdemontis

agree with you

james2033

person groups, not persons. 2 choose No.

baliuxas07

404 on the source

ziggy1117

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

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

taiwan_is_not_china

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

nanaw770

Yes No Yes

davidorti

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__

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

krzkrzkra

Yes No Yes

takaimomoGcup

Yes No Yes

Murtuza

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.

Ody__

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

audlindr

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.

sl_mslconsulting

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

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