AI-901 practice question: Single-agent solutions and agent client apps (2 of 5)
Implement AI solutions by using Microsoft Foundry A free question from our original AI-901 practice exam. Try it, then open the answer to see why each option is right or wrong.
A pediatric clinic wants an agent that runs custom Python appointment-rule logic in a container its developers package. Each agent instance needs its own Microsoft Entra agent identity, and Foundry should provide the managed endpoint.
Which type of agent in Foundry Agent Service meets these requirements?
Choose one answer.
AA. Prompt agent, defined only by a model and instructions, with no custom code or container
BB. Ephemeral agent, built only with the Responses API from the clinic's own application code
CC. Hosted agent, which runs the developer's own container code with its own Entra identity
DD. Voice-based prompt agent, which handles spoken conversation through Voice Live
Show the answer and explanation
Answer: C
A. Wrong: A prompt agent is configured with a model and instructions, so it cannot run the clinic's custom Python logic. It suits configuration-only agents.
B. Wrong: An ephemeral agent lives in the app's code. Nothing is created in Foundry, so the clinic would get no managed endpoint or dedicated agent identity.
D. Wrong: A voice-based prompt agent is built for spoken conversation through Voice Live. It does not run the clinic's own container code.
Explanation
Hosted agents are the type that runs your own code in a container while Foundry manages the endpoint and gives the agent its own Entra identity. Prompt agents are configuration only, and ephemeral agents are not saved in Foundry.
Want more on Single-agent solutions and agent client apps? The 5 full-length practice sets have 25 more Single-agent solutions and agent client apps questions, 225 in all, none of them in the free exam. One payment of $9.99 $6.99, no subscription. Get the practice sets →
✓ Every exam starts with free questions. No account needed.
Can we use Google Analytics cookies to see which pages help people? No ads, and we never sell data. Privacy