AI-103 Practice Test

AI-103 Practice Test practice questions, page 5 of 7, with answer review and explanations.

Question 21

You have a Microsoft Foundry project named Project1 that contains the following: An OpenAPI tool that calls an external API A project connection named Connection1 that stores the API key of the external API When an agent calls the OpenAPI tool, the API returns a 401 unauthorized error, and traces show that the API key header is NOT being sent. You need to ensure that the OpenAPI tool automatically includes the API key from Connection1 on all requests. What should you do?

  1. Enable identity passthrough so that the tool uses the Microsoft Entra token of the caller.
  2. Add the API key header manually to the OpenAPI specification.
  3. Configure the tool to use the default connection of Project1.
  4. Connect the tool to Connection1.

Question 22

You have a Microsoft Foundry project that contains a customer support agent. The agent calls an internal knowledge API tool before generating responses. Users report the following issues: Some requests take more than 15 seconds to complete. Some responses are incorrect, even when the knowledge API returns the expected data. You need to inspect individual agent runs to view the ordered sequence of large language model (LLM) calls, tool invocations, and timing information. Which observability capability should you use?

  1. token usage
  2. monitoring
  3. safety metrics
  4. tracing

Question 23

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure a prompt shield for user prompts. Does this meet the goal?

  1. Yes
  2. No

Question 24

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure image moderation to block unsafe content before processing the images. Does this meet the goal?

  1. Yes
  2. No

Question 25

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure a prompt shield for documents. Does this meet the goal?

  1. Yes
  2. No