exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
cacaflycloud
Highly Voted 9 months, 1 week ago
I think the answer should be An API key A deployment endpoint
upvoted 30 times
...
Harry300
Highly Voted 9 months, 1 week ago
API key Deployment name (Different deployments can be configured on oai.azure.com)
upvoted 20 times
mrg998
2 months, 1 week ago
this is correct, a endpoint itself can have multiple deployments. You need to specify the deployment you require out of the three so it has to be deployment name.
upvoted 1 times
mrg998
2 months, 1 week ago
code example here shows deployment name and API key - https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-python
upvoted 2 times
...
...
...
Sujeeth
Most Recent 1 month, 2 weeks ago
API Key: Each app should use an API Key for secure access to the Azure OpenAI resource. API keys are commonly used to authenticate requests to Azure OpenAI resources. Deployment name: Each app should specify the deployment name to connect to the appropriate GPT 3.5 deployment optimized for its unique workload. The deployment name ensures the app uses the correct model version or configuration hosted in AI1
upvoted 2 times
...
famco
3 months ago
Answer is api-key (no confusion) and deployment_name. The issue with deployment name is that it is meant to confuse. There are three deployments of the model. The endpoint of all three of them remain the same. I worked with this and multiple deployments all the time, but still I forgot that the endpoint for azure-openai is same for all deployments. Of course to call you need the endpoint and the deployment name both, but looks like Microsoft wants to confuse you with mentioning REST. Just sad this company does this Answer is very clearly now: api-key and deployment_name (what microsoft wants to answer)
upvoted 2 times
famco
3 months ago
But looking at the answer options it looks more confusing. They did not say just "endpoint" but said deployment-endpoint. In the azure openai studio the deployments mention "endpoint" as the target URL that includes the deployment name. So it is technically deployment endpoint. We have to check with a lawyer. What will I answer? Probably deployment endpoint (just random guess) but maybe they want you to know just that it is same endpoint for all the deployments. Still not clear
upvoted 2 times
famco
3 months ago
OR maybe this microsoft employee, with his inexperience, might have thought that for the SDK use you need to give deployment name (in addition to key and resource endpoint), but for the REST API you need deployment-endpoint (endpoint + deployment-name) and can be copied from the azure-openai studio. So, did he think the right answer is deployment_endpoint ??
upvoted 1 times
famco
3 months ago
Hoping it is the documentation that he read, and the documentation did not change from the time that guy looked at it while creating the question and now, I will still go for deployment_name (but that is NOT enough to make a rest call).
upvoted 1 times
...
...
...
...
famco
3 months ago
I have years of experience using this, but I can't even understand the intent of the question. The build up is fine, but the question and the options make me really wonder. We use RBAC to connect in an enterprise environment. Looks like the org that Microsoft outsourced this to (and getting money from them instead of paying) is asking the question on some image from REST api documentation. Guessing the low paid employee, I guess the answer he expects is : api-key and end_point. REST api uses api-key as the header and also uses end-point to connect. The scenario describing separate deployments does not make sense. An attempt at confusing the developer with experience from the real world. Nice work, vendor.
upvoted 1 times
...
moonlightc
3 months, 3 weeks ago
This was in the exam on 15/08/2024
upvoted 2 times
...
shanakrs
3 months, 3 weeks ago
Answer is An API Key A Deployment Endpoint https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/switching-endpoints Note: There are key requirements in the questions ("Each app will access AI1 by using the REST API"). With this, apps will connect AI1 with REST API calls and to connect azure open ai with rest api, it is recommended to use API KEY and ENDPOINT as mentioned in above article.
upvoted 1 times
...
Sylviaaaaaaa
3 months, 3 weeks ago
API key and deployment name. https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line%2Cpython-new&pivots=programming-language-python
upvoted 2 times
...
krzkrzkra
4 months, 3 weeks ago
An API key A deployment endpoint
upvoted 1 times
...
yfontana
5 months, 2 weeks ago
The Azure portal and documentation consistently talk about each Azure Open AI resource having a single endpoint, and each deployment having a name. So the correct answer is most likely: An API key A deployment name
upvoted 3 times
...
gary_cooper
5 months, 3 weeks ago
An API key A deployment endpoint
upvoted 1 times
...
PeteColag
6 months, 1 week ago
While bearer tokens are commonly used for authentication, they are not specifically mentioned in the context of Azure OpenAI resource access. API keys are the recommended way to authenticate applications. So, the answer should be API key and deployment endpoint.
upvoted 1 times
...
fuck_india
6 months, 1 week ago
1. An API key 2. A deployment endpoint
upvoted 3 times
...
funny_penguin
6 months, 2 weeks ago
on exam today, I selected Api key and deployment endpoint
upvoted 3 times
...
Jimmy1017
7 months, 1 week ago
An API key A deployment endpoint
upvoted 4 times
...
wheebe
7 months, 2 weeks ago
chatgpt's answer was the bearer token and deployment name
upvoted 2 times
...
Jimmy1017
7 months, 3 weeks ago
Provide access to All by using: An API key Connect to the deployment by using: A deployment name
upvoted 1 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 ...