Microsoft

AI-103 Free Practice Questions — Page 8

Question 29

HOTSPOT You have an Azure subscription. You need to create a new resource that will generate fictional stores in response to user prompts. The solution must ensure that the resource uses a customer-managed key to protect data. How should you complete the script? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-103 question 29
Show Answer
Correct Answer: OpenAI --encryption
Explanation:
The OpenAI resource can generate fictional stories from prompts. The --encryption parameter accepts the Azure Key Vault customer-managed key configuration shown.

Question 30

You have a customer support agent that uses the Microsoft Foundry Agent Service. Sometimes, customers return to a session days later to continue the same support case, and the agent must resume with the full historical context. The agent must provide the following: Multi-turn continuity within the session Cross-session continuity for the same case Access to the full interaction history, including user messages, agent messages, tool calls, and tool outputs You need to ensure that the agent automatically reloads the complete history on each new turn. What should you do?

A. Create and reuse a conversation by storing the conversation’s ID and supplying the ID on subsequent requests.
B. Persist only the final model response stored in the client application and prepend the response to future prompts.
C. Enable memory summarization on the agent definition to persist the context automatically.
Show Answer
Correct Answer: A
Explanation:
Reusing the same conversation (thread) ID allows the Foundry Agent Service to automatically load the complete server-side conversation state on each turn, including user and agent messages, tool calls, and tool outputs. This provides both multi-turn continuity and cross-session continuity. Persisting only the final response loses the detailed interaction history, and memory summarization compresses context rather than restoring the full history.

Question 30

HOTSPOT You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements: • Use a single key and endpoint to access multiple services. • Consolidate billing for future services that you might use. • Support the use of Azure Vision in Foundry Tools in the future. How should you complete the HTTP request to create the new resource? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-103 question 30
Show Answer
Correct Answer: HTTP method: PUT kind: CognitiveServices
Explanation:
PUT creates the resource at the specified Azure Resource Manager URI. CognitiveServices provides a multi-service resource with a single key and endpoint, consolidated billing, and support for future Azure Vision use.

Question 31

You have a Microsoft Foundry project that contains a prompt agent used by a customer support web app. The agent is invoked from a Python service that does NOT run in the Foundry portal. You need to implement end-to-end tracing to capture latency breakdowns and exceptions across agent runs. Which two components can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. a Log Analytics workspace
B. Application Insights
C. OpenTelemetry
D. the Azure Monitor Agent
E. Microsoft Sentinel
Show Answer
Correct Answer: B, C
Explanation:
Application Insights provides distributed tracing, telemetry collection, latency visualization, and exception monitoring. OpenTelemetry can instrument the external Python service and agent interactions to generate end-to-end traces that are exported to a backend such as Application Insights. Log Analytics is a data store rather than the tracing component, Azure Monitor Agent collects VM/host telemetry, and Microsoft Sentinel is a SIEM, not an application tracing solution.

Question 31

HOTSPOT You are developing an app that will use the Azure Vision in Foundry Tools API to analyze an image. You need configure the request that will be used by the app to identify whether an image is clipart or a line drawing. How should you complete the request? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AI-103 question 31
Show Answer
Correct Answer: HTTP method: POST visualFeatures: imageType
Explanation:
The analyze endpoint accepts an image in a POST request. The imageType visual feature identifies clipart and line drawings.

Question 31

You have an Azure subscription that contains an Azure App Service app named App1. You provision a Microsoft Foundry Service resource named CSAccount1. You need to configure App1 to access CSAccount1. The solution must minimize administrative effort. What should you use to configure App1?

A. the endpoint URI and subscription key
B. the endpoint URI and an OAuth token
C. the endpoint URI and a shared access signature (SAS) token
D. a system assigned managed identity and an X.509 certificate
Show Answer
Correct Answer: A
Explanation:
Use the endpoint URI and subscription key. This is the simplest way for App1 to authenticate to CSAccount1 and requires no identity, certificate, or token-management setup.

Question 32

DRAG DROP - You have a Microsoft Foundry project that contains an agent used by the financial analysts at your company. You need to optimize the agent workflow by providing additional data access and processing capabilities. The solution must meet the following requirements: Ensure that the agent can perform calculations during conversations. Ensure that the agent can access up-to-date information from public websites. Ensure that the agent can retrieve information from documents uploaded directly to the agent. What should you use for each requirement? To answer, drag the appropriate tools to the correct requirements. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Illustration for AI-103 question 32
Show Answer
Correct Answer: Access up-to-date information from public websites: Grounding with Bing Search Perform calculations during conversations: Code interpreter Retrieve information from documents uploaded directly to the agent: File search
Explanation:
Code Interpreter executes code for calculations, Grounding with Bing Search provides current public web data, and File Search indexes and retrieves content from uploaded documents.

Question 32

You are designing a content management system. You need to ensure that the reading experience is optimized for users who have reduced comprehension and learning differences, such as dyslexia. The solution must minimize development effort. Which Azure service should you include in the solution?

A. Azure Document Intelligence in Foundry Tools
B. Azure Language in Foundry Tools
C. Azure AI Immersive Reader
D. Azure Translator in Foundry Tools
Show Answer
Correct Answer: C
Explanation:
Azure AI Immersive Reader is designed to improve reading comprehension and accessibility for people with dyslexia and other learning differences. It offers reading aids such as read-aloud, line focus, and adjustable text spacing, and can be integrated with relatively little development effort.

Question 32

You are developing an app that will use the Speech and Language APIs. You need to provision resources for the app. The solution must ensure that each service is accessed by using a single endpoint and credential. Which type of resource should you create?

A. Azure Language in Foundry Tools
B. Microsoft Foundry service
C. Azure Speech in Foundry Tools
D. Content Safety in Foundry Control Plane
Show Answer
Correct Answer: B
Explanation:
Create a Microsoft Foundry service resource. It provides access to multiple AI capabilities, including Speech and Language, through a single endpoint and credential.

Question 33

You are building a web app named App1 that generates responses by using a model deployed to a Microsoft Foundry project named Project1. Before sending the prompts to the model, App1 must retrieve documents by using Azure AI Search. You need to integrate Project1 and App1. The solution must meet the following requirements: Multiple client applications must use the same search configuration. A security policy must prevent key-based authentication. Administrative effort must be minimized. What should you do?

A. Create a custom HTTP connection in Foundry and manually configure Azure AI Search endpoints per application.
B. Configure an Azure AI Search connection in Project1 and reference the connection in each application.
C. Call Azure AI Search directly from each application by using Microsoft Entra authentication.
D. Enable a managed identity for each application and call Azure AI Search directly.
Show Answer
Correct Answer: B
Explanation:
Configuring an Azure AI Search connection in the Foundry project centralizes the search configuration so multiple client applications can reuse it. Project connections support Microsoft Entra-based authentication, avoiding key-based authentication, and managing a single shared connection minimizes administrative overhead.

$19

Get all 158 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.