Calling a Microsoft Foundry Generative AI Model
You have a Microsoft Foundry project that contains a generative AI model deployment. You test the model by using the Foundry playground. You need to develop an application that sends requests to the deployed model. Which information must the application include to call the model?
Community Insight
This question tests the technical requirements for programmatic API access to an AI service versus local testing artifacts like playground history.
To integrate a generative AI model deployed in Microsoft Foundry into an external application, the app must use the specific model endpoint and valid authentication credentials.
Learners often confuse the development environment tools (like the Playground session history) with the production deployment endpoints required for actual API calls.
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 programmatically call a deployed generative AI model from an external application, two critical pieces of information are mandatory: the network address (endpoint URL) where the model resides, and the authentication credentials (such as API keys or Azure AD tokens) that authorize the request. Without these, the application cannot establish a connection or prove its identity to the service.Why the Other Options Are Wrong
The exported playground session history (Option A) is useful for debugging or reproducing prompts but does not provide the connectivity details needed for live inference. The model training dataset (Option B) is used during the fine-tuning or training phase, not for serving predictions. The Foundry project display name (Option C) is a human-readable identifier within the management portal and has no function in network routing or API authorization.Community Comment Notes
Community feedback strongly supports Option D, with users noting that "call generative ai need model enpoint and auth credentials." This aligns with standard cloud API practices where endpoints and keys are the primary interface for integration.Exam Strategy
Always distinguish between development/testing tools (Playground, datasets) and operational/runtime components (Endpoints, Credentials). For any 'how to connect' question, look for the network and security identifiers first.
Frequently Asked Questions
Why can't I use the Playground session history to call the model?
Session history logs past interactions for review but does not contain the live API endpoint or security tokens needed to send new requests.
Is the project display name used in the API URL?
No, the display name is for human identification in the UI; the API uses a unique resource ID or specific endpoint URL for routing.
Related Analysis
Practice All AI-901 Questions
Access 105 questions with complete answers and detailed explanations.
View Full AI-901 Practice Test →