Free AI-102 Exam Braindumps (page: 4)

Page 3 of 83

You have the following C# method for creating Azure Cognitive Services resources programmatically.
You need to call the method to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically.
Which code should you use?

  1. create_resource(client, "res1", "ComputerVision", "F0", "westus")
  2. create_resource(client, "res1", "CustomVision.Prediction", "F0", "westus")
  3. create_resource(client, "res1", "ComputerVision", "S0", "westus")
  4. create_resource(client, "res1", "CustomVision.Prediction", "S0", "westus")

Answer(s): A

Explanation:

Many of the Cognitive Services have a free tier you can use to try the service. To use the free tier, use F0 as the SKU for your resource.
There are two tiers of keys for the Custom Vision service. You can sign up for a F0 (free) or S0 (standard) subscription through the Azure portal.
Incorrect Answers:
A: There is no free tier (F0) for ComputerVision.


Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-csharp https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/limits-and-quotas



You successfully run the following HTTP request.
POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-a54745f708a1/resourceGroups/RG1/providers/
Microsoft.CognitiveServices/accounts/contoso1/regenerateKey?api-version=2017-04-18
Body{"keyName": "Key2"}
What is the result of the request?

  1. A key for Azure Cognitive Services was generated in Azure Key Vault.
  2. A new query key was generated.
  3. The primary subscription key and the secondary subscription key were rotated.
  4. The secondary subscription key was reset.

Answer(s): D

Explanation:

Accounts - Regenerate Key regenerates the specified account key for the specified Cognitive Services account.
Syntax:
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/
{accountName}/regenerateKey?api-version=2017-04-18


Reference:

https://docs.microsoft.com/en-us/rest/api/cognitiveservices/accountmanagement/accounts/regeneratekey



You build a custom Form Recognizer model.
You receive sample files to use for training the model as shown in the following table.
Which three files can you use to train the model? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. File1
  2. File2
  3. File3
  4. File4
  5. File5
  6. File6

Answer(s): A,C,F

Explanation:

Input requirements
Form Recognizer works on input documents that meet these requirements:
Format must be JPG, PNG, PDF (text or scanned), or TIFF. Text-embedded PDFs are best because there's no possibility of error in character extraction and location.
File size must be less than 50 MB.


Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/overview



A customer uses Azure Cognitive Search.
The customer plans to enable a server-side encryption and use customer-managed keys (CMK) stored in Azure.
What are three implications of the planned change? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. The index size will increase.
  2. Query times will increase.
  3. A self-signed X.509 certificate is required.
  4. The index size will decrease.
  5. Query times will decrease.
  6. Azure Key Vault is required.

Answer(s): A,B,F

Explanation:


Reference:

https://docs.microsoft.com/en-us/azure/search/search-security-overview






Post your Comments and Discuss Microsoft AI-102 exam with other Community members: