Course menuAI-901

Exams / AI-901 / Single-agent solutions and agent client apps / Question 1

AI-901 practice question: Single-agent solutions and agent client apps (1 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.

Last verified against current Microsoft Learn ·How we write our questions

A furniture retailer wants a shopping-help agent that answers product and delivery questions. The team does not want custom code in a container, and it wants the agent saved in Foundry under a stable name.

The developer will define the agent in Python.

Which two settings in the agent definition shape its behavior? (Choose two.)

Choose two answers.

  1. A. A Dockerfile and container image that hold the agent's Python code
  2. B. The model deployment name the agent should call
  3. C. A fixed list of Azure Speech voices used to read every reply aloud
  4. D. Instructions text that describes the agent's role, scope and tone
  5. E. A conversation ID created before the first agent version is defined
Show the answer and explanation

Answers: B, D

  • A. Wrong: A Dockerfile and container image belong to hosted agents, where your code runs in a container. A prompt agent needs no container, so this setting does not apply here.
  • B. Right: Correct. The model deployment name tells the agent which model in the project to call. A prompt agent definition is built from that deployment and its instructions.
  • C. Wrong: Voices matter for voice-based agents, not for a text shopping-help agent, so this setting does not shape its behavior here.
  • D. Right: Correct. The instructions tell the agent its role, scope and tone, which is what the retailer wants to set. They are part of the agent definition sent to Foundry.
  • E. Wrong: A conversation holds the messages of one chat and is created separately from the agent definition. It does not define how the agent behaves.

Explanation

A prompt agent is defined by a model deployment and its instructions, with no custom container. Conversations hold chat history and are created separately. Voices and containers belong to other agent types.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

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.