Calling a Microsoft Foundry Generative AI Model
Short answer
D The application must include the model endpoint and authentication credentials to successfully call the deployed generative AI model.
Question
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?
Key Takeaways
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.
Common mistake: Learners often confuse the development environment tools (like the Playground session history) with the production deployment endpoints required for actual API calls.
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?
Is the project display name used in the API URL?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
Tony5487 👍 1 Answered Dcall generative ai need model enpoint and auth credentials.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AI-901 Questions
Access 105 questions with complete answers and detailed explanations.
View Full AI-901 Practice Test →