AI-103 · Setting Up and Deploying in Foundry
17 cards
Configuring Model Deployments
-
Quick check
Two deployments in one resource both run gpt-4o-mini. What lets a request reach the right one?
AThe model version sent along with the prompt
Both deployments run the same model, so a version cannot tell them apart. Requests name the deployment itself.
BThe deployment name placed in the model parameter
Right. The deployment name is used in the model parameter to route requests to that particular deployment, which is what keeps chat-prod and chat-test apart.
CThe catalog model name placed in the model parameter
The catalog name is shared by both deployments here. It only works by accident when a deployment keeps its default name and is the only one for that model.
3 / 17
-
Quick check
A principal can deploy Phi models but fails on a Cohere model with a Marketplace error. Where is the missing permission?
AOn the Foundry resource, as a stronger deployment role
The principal already creates deployments successfully, so its role on the Foundry resource is fine. The failure is about buying the partner model.
BOn the Foundry project, as the Foundry User role
Foundry User governs work inside a project, such as building agents. Marketplace subscriptions are not granted at project scope.
COn the Azure subscription, for Marketplace actions
Right. Partner and community models such as Cohere need an Azure Marketplace subscription, and the permissions for it sit on the Azure subscription, where Owner or Contributor include them.
6 / 17
-
Quick check
A developer wants to check the keys of an existing deployment and then delete an old one. Where in the portal?
ABuild, then Models, then the deployment's detail page
Right. Build and Models list the deployments in the resource, and a deployment's detail page shows endpoint details and keys and lets you delete it.
BDiscover, then Models, then the model card
Discover is where you browse the catalog and start a new deployment from a model card, not where existing deployments are managed.
CThe playground's Code tab for that deployment
The Code tab shows how to call the deployment from code. It does not manage keys or delete deployments.
9 / 17
-
Keep your progress in the app
That’s 3 of 6 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
A build agent fails on az cognitiveservices account deployment create with a command not recognized error. What is the fix?
AInstall the cognitiveservices CLI extension on the build agent
No extension is needed: the az cognitiveservices commands are part of the core Azure CLI. Installing one would not address an outdated CLI.
BAssign Cognitive Services Contributor to the build agent's identity
A missing role produces an authorization error, not an unrecognized command. The CLI never got far enough to check permissions.
CUpdate the Azure CLI to version 2.60 or later with az upgrade
Right. An unrecognized command means the Azure CLI is out of date, and az upgrade brings it to 2.60 or later, where the commands are built in.
12 / 17
-
Quick check
An app on the /openai/v1/ route must move from deployment chat-prod to chat-v2 in the same resource. What changes?
AOnly the deployment name in the model field
Right. Every deployment in the resource sits behind the same route, and the deployment name in the model field picks the target.
BThe base URL, which must include chat-v2
The base URL is shared by the deployments in the resource; the deployment is chosen in the request body, not in this URL.
CAn api-version parameter must be added for chat-v2
The /openai/v1/ route uses implicit versioning, so you don't pass an api-version for any deployment.
14 / 17
-
Quick check
Quota for a model in one region is fully allocated, and a low-traffic test deployment holds a large share. A new production deployment is needed now, without any quota increase. What works?
ALower the TPM allocated to the test deployment, then deploy
Right. Adjusting the allocated quota on other deployments frees tokens, and that is the move left when more quota cannot be requested.
BCreate a second Foundry resource in the same region
Quota is assigned to the subscription per region and per model, so a second resource in the same region shares the exhausted pool.
CGive the production deployment a different deployment name
A deployment name only routes requests. Every deployment of that model in that region still draws from the same pool.
17 / 17
-
6 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
