Azure OpenAI SDK Connection Configuration
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?
Community Insight
Tests knowledge of Azure OpenAI connection strings, with the common trap being confusion between model names and deployment names.
Configuring an Azure OpenAI web app requires the endpoint, API key, and deployment name. This guide explains why these three credentials are essential for SDK authentication.
Candidates often select options including 'model name' instead of 'deployment name', not realizing that deployments are versioned instances of models.
Community Discussion (1 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
To connect an application to an Azure OpenAI resource using the SDK, you must provide the Azure OpenAI endpoint (the URL), a valid API key for authentication, and the specific deployment name. The deployment name identifies the exact versioned instance of the model you wish to use.Why the Other Options Are Wrong
Options A, B, and D all include incorrect or missing fields. Model name alone is insufficient because multiple deployments can exist for one model. Model type is irrelevant to the connection string. Endpoint is mandatory in all correct scenarios, which eliminates options lacking it.Community Comment Notes
Community consensus strongly supports option C. As Amelia233 noted, "When using the Azure OpenAI SDK, you need the endpoint, API key, and the deployment name to connect to the deployed model." Users confirm that model name is not required for the connection setup itself.Exam Strategy
Memorize the three pillars of Azure AI connection: Endpoint, Key, and Deployment Name. Do not confuse 'Model Name' with 'Deployment Name'.
Frequently Asked Questions
Why isn't the model name required?
The model name defines the architecture, but the deployment name specifies the exact versioned instance running on the server.
Can I use just the API key?
No, the endpoint URL is required to locate the resource, and the deployment name is needed to target the specific model instance.
Related Analysis
Practice All AI-103 Questions
Access 88 questions with complete answers and detailed explanations.
View Full AI-103 Practice Test →