AI-103 · Setting Up and Deploying in Foundry
20 cards
Configuring Agent Deployments
-
Quick check
A developer adds one tool to an agent that customers already call. What changes for the customers' integration?
ATheir endpoint URL changes to point at the new version
The endpoint URL doesn't change as you roll out new versions. That stability is why consumers call the agent and not a version.
BNothing about the URL; a new version exists behind it
Right. Any change creates a new immutable version, while the agent endpoint keeps the same URL. Which version answers depends on the version selector.
CThey must wait for a publish step before calls work again
The endpoint is live from the moment the agent is created, with no separate publish step, so calls never stop working.
3 / 20
-
Quick check
An agent serves Teams users in production while developers create a new version every day. Which setting keeps users on an approved version?
AThe default Always use latest selector
Always use latest serves every newly created version immediately, so each daily experiment would reach Teams users.
BA pinned version selector on the approved version
Right. Pinning sends 100% of traffic to the version you choose, and new versions don't change what's served until you update the selector.
CA ten percent canary rule for each new version
Traffic splitting isn't supported. Only one agent version can be active and receive traffic at a time.
6 / 20
-
Quick check
A partner team only needs to call your agent through the Entra scheme, with least privilege. Which role fits?
AFoundry User on the whole Foundry project
Foundry User works for calling, but it also allows creating and editing agents, which is more than the partner needs.
BAn API key issued for the partner's application
API key authentication isn't supported on agent endpoints. Callers authenticate with Microsoft Entra ID.
CFoundry Agent Consumer on that agent's scope
Right. The Foundry Agent Consumer role is meant for principals that only interact with agents, and the agent scope keeps the grant as narrow as possible.
9 / 20
-
Keep your progress in the app
That’s 3 of 7 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
The account blocks public network access, and the agent must reach Teams while all other APIs stay private. What do you change?
ATurn public network access back on for the Foundry account
That would make Teams work, but it also exposes the other protocols and project APIs, which must stay private.
BSet enable_m365_public_endpoint to true in the activity configuration
Right. The setting opens only the Activity Protocol route, with source IP filtering, and leaves every other protocol and project API private.
CAdd public ingress rules to the virtual network of the project
You don't need to configure public ingress in your virtual network; the exception is applied to the Activity Protocol route by the service.
12 / 20
-
Quick check
Right after publishing a legacy Agent Application, tool calls start failing with authorization errors. What fixes them?
AGranting callers Foundry User on the application resource
Caller roles control who can invoke the application. They don't give the agent's own identity access to the tools it calls.
BRestarting the deployment that references the version
A restart doesn't change permissions. The agent is running; its tool calls are rejected because its new identity lacks the roles.
CReassigning the RBAC roles to the new agent identity
Right. Publishing gives the application its own Entra agent identity, and permissions don't transfer automatically, so the roles must be reassigned.
15 / 20
-
Quick check
An agent must accept Stripe webhook payloads and run existing Microsoft Agent Framework code. Which setup fits?
AA hosted agent exposing the Invocations protocol
Right. Your own framework code needs a hosted agent, and Invocations accepts the webhook's own payload format as arbitrary JSON.
BA prompt agent exposing the Responses protocol
Prompt agents are defined through prompts and tool configuration, so they cannot run framework code, and Responses expects an OpenAI-compatible payload.
CA hosted agent exposing only the Activity protocol
The Activity protocol carries Teams and Microsoft 365 traffic. A webhook sender cannot speak it.
17 / 20
-
Quick check
A hosted agent sized at 2 vCPU with 4 GiB peaks far below its allocation across many sessions. How do you cut cost?
ALower the replica count on the current version
Hosted agents scale per session, not per replica, so there is no replica count to configure.
BEdit the current version to 1 vCPU with 2 GiB
Resource allocation is part of an immutable version, so it cannot be edited in place.
CDeploy a new version sized at 1 vCPU with 2 GiB
Right. Billing covers CPU and memory across all active sessions, and since versions are immutable, a smaller size means a new version.
20 / 20
-
7 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.
