exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 62 discussion

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

You have an Azure OpenAI model named AI1.

You are building a web app named App1 by using the Azure OpenAI SDK.

You need to configure App1 to connect to AI1.

What information must you provide?

  • A. the endpoint, key, and model name
  • B. the deployment name, key, and model name
  • C. the deployment name, endpoint, and key
  • D. the endpoint, key, and model type
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
syupwsh
3 weeks, 1 day ago
Selected Answer: C
Deployment name: This specifies which deployment of the model you want to use. In Azure OpenAI, you might have multiple deployments of the same model optimized for different tasks. Endpoint: This is the URL where your AI1 model is hosted. It directs the API requests to the correct Azure service instance. Key: This is the authentication key that allows your web app to access the Azure OpenAI service securely. It ensures that only authorized applications can use the service. C is the answer
upvoted 1 times
...
moonlightc
6 months, 3 weeks ago
This was in the exam on 15/08/2024
upvoted 1 times
...
p2006
9 months ago
Selected Answer: C
"AI1" is deployment name. https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line%2Cpython-new&pivots=rest-api#retrieve-key-and-endpoint DEPLOYMENT-NAME This value will correspond to the custom name you chose for your deployment when you deployed a model.
upvoted 2 times
...
anntv252
10 months, 1 week ago
C. the deployment name, endpoint, and key . Endpoint should include model name
upvoted 2 times
...
michaelmorar
10 months, 3 weeks ago
Selected Answer: C
Correct, remember that Model Name and Type aren't relevant, we only need the deployment details and key.
upvoted 2 times
...
NullVoider_0
11 months ago
Selected Answer: C
Correct answer.
upvoted 2 times
...
Mehe323
11 months, 1 week ago
Selected Answer: C
Correct. When you access the model via the API you will need to refer to the deployment name rather than the underlying model name in API calls. https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal
upvoted 1 times
Training
11 months ago
https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line%2Cpython-new&pivots=rest-api
upvoted 1 times
...
...
Akber81
11 months, 2 weeks ago
Selected Answer: C
yes Azure OpenAI has Endpoint (URL) , KEY , DEPLOYMENT NAME
upvoted 1 times
...
GHill1982
1 year ago
Selected Answer: C
To connect to an Azure OpenAI model using the Azure OpenAI SDK, you need to provide: The deployment name of the model that you want to use. This is the name that you assigned to the model when you deployed it. The endpoint of your Azure OpenAI resource. This is the URL that you can find in the Overview section of your resource in the Azure portal or by using the Azure CLI. The key of your Azure OpenAI resource. This is the API key that you can find in the Keys and Endpoint section of your resource in the Azure portal or by using the Azure CLI.
upvoted 4 times
AlviraTony
11 months, 2 weeks ago
It is the name of the deployed model, that means it is "model name", not "deployment name"
upvoted 1 times
AlviraTony
11 months, 2 weeks ago
Ignore my comment
upvoted 1 times
...
...
...
Razvan_C
1 year ago
Selected Answer: C
Answer seems to be correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago