Required Configuration Elements for Microsoft Foundry SDK Applications
Short answer
ADE You must provide the model deployment name, Microsoft Entra ID credentials, and the endpoint URL to authenticate and connect to the correct model instance via the Foundry SDK.
Question
Which three elements should you provide in the code to run the application? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Key Takeaways
The question tests the distinction between operational API requirements (credentials, URL, deployment name) and metadata or inference parameters (display name, task type).
Learn the three essential elements needed to run a Microsoft Foundry SDK application: model deployment name, Entra ID credentials, and endpoint URL.
Common mistake: Candidates often incorrectly select 'task type' or 'project display name', confusing human-readable labels or inference settings with the fundamental connection parameters required by the SDK.
Expert Analysis
To run a generative AI application using the Microsoft Foundry SDK, you must establish three critical components: identity, connectivity, and target. First, Microsoft Entra ID credentials (Option D) are mandatory for authentication; without valid credentials, such as DefaultAzureCredential, the SDK cannot authorize requests to the Azure AI services endpoint. Second, you need the endpoint URL (Option E), which specifies the exact API address (typically following the pattern <resource-name>.services.ai.azure.com) where the request is sent. Third, you must specify the model deployment name (Option A), which identifies the specific pre-deployed model instance within that project that will process the chat prompts.
The scenario describes sending chat prompts to a deployed model, not configuring the model itself. Therefore, the task type (Option B) is incorrect because task types (such as text-generation or image-generation) are generally inferred from the model architecture or specified in the prompt payload, not as a top-level configuration parameter for the connection. Similarly, the Foundry project display name (Option C) is a metadata label used for human readability in the Azure portal, not a technical identifier required for programmatic API access. The SDK relies on the unique resource identifiers (URL and deployment name) rather than human-readable names to route traffic correctly.
Exam Strategy
When configuring cloud AI SDKs, always look for the triad of authentication, connectivity, and target resource. Credentials verify who you are, the endpoint tells the system where to send data, and the deployment name tells the system which specific model to use. Ignore options related to human-readable labels (like display names) or high-level semantic tags (like task types) unless the question specifically asks about prompt engineering or model selection logic.
Frequently Asked Questions
Why is the task type not required in the code?
Can I use the project name instead of the endpoint URL?
Community Votes
34% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
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
-
GrandWizard_007 👍 1A. Model deployment name - Identifies which deployed model your application will send chat prompts to. D. Microsoft Entra ID credentials - Used for authentication via DefaultAzureCredential or another Entra-based credential provider. Required for the SDK to authorize API calls. E. The endpoint URL - The Foundry project endpoint in the format: https://<resource-name>.services.ai.azure.com/api/projects/<project-name> Required for the SDK client to connect to your Foundry project.
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 →