Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AI-102 topic 1 question 60 discussion

Actual exam question from Microsoft's AI-102
Question #: 60
Topic #: 1
[All AI-102 Questions]

HOTSPOT
-

You have an Azure OpenAI resource named AI1 that hosts three deployments of the GPT 3.5 model. Each deployment is optimized for a unique workload.

You plan to deploy three apps. Each app will access AI1 by using the REST API and will use the deployment that was optimized for the app's intended workload.

You need to provide each app with access to AI1 and the appropriate deployment. The solution must ensure that only the apps can access AI1.

What should you use to provide access to AI1, and what should each app use to connect to its appropriate deployment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
cacaflycloud
Highly Voted 2 months ago
I think the answer should be An API key A deployment endpoint
upvoted 15 times
...
Harry300
Highly Voted 2 months ago
API key Deployment name (Different deployments can be configured on oai.azure.com)
upvoted 7 times
...
Jimmy1017
Most Recent 1 week ago
An API key A deployment endpoint
upvoted 2 times
...
wheebe
1 week, 3 days ago
chatgpt's answer was the bearer token and deployment name
upvoted 1 times
...
Jimmy1017
3 weeks ago
Provide access to All by using: An API key Connect to the deployment by using: A deployment name
upvoted 1 times
...
NullVoider_0
1 month ago
To provide each app with access to the Azure OpenAI resource AI1 and ensure that only the apps can access it, you should use the following: Provide access to AI1 by using: An API key Connect to the deployment by using: A deployment endpoint The API key is used for authentication, allowing the apps to access the Azure OpenAI resource. The deployment endpoint is a unique URL that each app will use to connect to its appropriate deployment, ensuring that the app uses the deployment optimized for its intended workload.
upvoted 3 times
...
Murtuza
1 month ago
In summary: Provide Access: Use an API key. Connect to Deployment: Use the deployment endpoint along with the API key. This approach ensures secure and controlled access to AI1 while allowing each app to connect to the appropriate deployment.
upvoted 2 times
...
Mehe323
1 month, 1 week ago
ChatGPT says a bearer token (hence why someone likely chose this as an answer) but it is incorrect. It should be an API key of course, very commonly used in Azure. With regard to the second one, I think it should be endpoint. Deployment endpoint is usually referred to with an URL that you use to connect to it. Each deployment has its own endpoint URL, which contains the deployment name to make it unique. When you choose the name, the answer is only partially correct.
upvoted 1 times
...
varinder82
1 month, 1 week ago
Final Answer: API Key Deployment Name:
upvoted 3 times
...
chandiochan
1 month, 3 weeks ago
API Key Deployment Name: curl $AZURE_OPENAI_ENDPOINT/openai/deployments/gpt-35-turbo-instruct/completions?api-version=2023-05-15 \ -H "Content-Type: application/json" \ -H "api-key: $AZURE_OPENAI_API_KEY" \ -d "{\"prompt\": \"Once upon a time\"}" The format of your first line of the command with an example endpoint would appear as follows curl https://docs-test-001.openai.azure.com/openai/deployments/{YOUR-DEPLOYMENT_NAME_HERE}/completions?api-version=2023-05-15 \. If you encounter an error double check to make sure that you don't have a doubling of the / at the separation between your endpoint and /openai/deployments.
upvoted 3 times
Mehe323
1 month, 1 week ago
But the deployment name is wrapped in an URL to make it unique, so endpoint would make more sense. You connect to an endpoint not to a name.
upvoted 2 times
...
...
chandiochan
1 month, 3 weeks ago
Provide access to AI1 by using: An API key: API keys are used to authenticate applications to cloud services securely. They ensure that only authorized applications can access your AI1 resource. Connect to the deployment by using: A deployment endpoint: Each deployment will have a unique endpoint that the app can use to connect to it. This endpoint is specific to a deployment within the Azure OpenAI resource, which allows each app to use the deployment optimized for its intended workload.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...