Correct Answer: C
Here is the correct order of execution steps:
(S11)
|
Initialize by declaring variables & add helper function (D21)
|
(S12)
|
Authorize API call by passing subscription id of Faceclient (D25)
|
(S13)
|
Create a PersonGroup using method CreateAsync (D24)
|
(S14)
|
Create the persons for PersonGroup using CreateAsync method (D23)
|
(S15)
|
Add the faces to the persons (D22)
|
Option A is incorrect as per the correct order of execution steps, stated above. PersonGroup needs to be created before creating Persons.
Option B is incorrect as per the correct order of execution steps, stated above. The API call needs to be authorized, and PersonGroup and persons need to be created before adding faces to the persons.
Option C is correct as per the correct order of execution steps, stated above.
Option D is incorrect as per the correct order of execution steps, stated above. The API call needs to be authorized first.
Reference:
To learn more about adding faces to PersonGroup, use the link given below:
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/how-to-add-faces