Exam AI-102 All QuestionsBrowse all questions from this exam
Question 270

HOTSPOT

-

You have an Azure subscription.

You need to create a new resource that will generate fictional stories in response to user prompts. The solution must ensure that the resource uses a customer-managed key to protect data.

How should you complete the script? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

    Correct Answer:

Discussion
Murtuza

az cognitiveservices account create \ --name myresource \ --resource-group myResourceGroup \ --kind OpenAI \ --sku S1 \ --location WestEurope \

taiwan_is_not_china

1. OpenAI 2. --encryption

anto69

Agree with you

ProfessorZ

--encryption is correct: https://learn.microsoft.com/en-us/cli/azure/cognitiveservices/account?view=azure-cli-latest az cognitiveservices account create -n myresource -g myResourceGroup --assign-identity --kind TextAnalytics --sku S -l WestEurope --yes --encryption '{ "keySource": "Microsoft.KeyVault", "keyVaultProperties": { "keyName": "KeyName", "keyVersion": "secretVersion", "keyVaultUri": "https://issue23056kv.vault.azure.net/" } }'

GHill1982

Answer is correct.

chandiochan

https://learn.microsoft.com/en-us/azure/ai-services/openai/encrypt-data-at-rest https://learn.microsoft.com/en-us/cli/azure/cognitiveservices/account?view=azure-cli-latest#az-cognitiveservices-account-create

Murtuza

Azure OpenAI Service models can do everything from generating original stories to performing complex text an