nerdexam
Microsoft

AI-102 · Question #286

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?

The correct answer is C. the deployment name, endpoint, and key. 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…

Submitted by brentm· Mar 30, 2026Implement Azure OpenAI

Question

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?

Options

  • Athe endpoint, key, and model name
  • Bthe deployment name, key, and model name
  • Cthe deployment name, endpoint, and key
  • Dthe endpoint, key, and model type

How the community answered

(32 responses)
  • B
    3% (1)
  • C
    91% (29)
  • D
    6% (2)

Explanation

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.

Topics

#Azure OpenAI SDK#API connection#Deployment name#Access keys

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice