mcAfee Secure Website
exam =5
exam =6

Exam Code: AI-103

Exam Name: Developing AI Apps and Agents on Azure

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure AI Apps and Agents Developer Associate

Microsoft AI-103 Questions & Answers

Reliable & Actual Study Materials for AI-103 Exam Success

187 Questions & Answers with Testing Engine

"AI-103: Developing AI Apps and Agents on Azure" Testing Engine covers all the knowledge points of the real Microsoft AI-103 exam.

The latest actual AI-103 Questions & Answers from Pass4sure. Everything you need to prepare and get best score at AI-103 exam easily and quickly.

exam =7
Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable Microsoft Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Was: $137.49
Now: $124.99

Microsoft AI-103 Practice Test 19

Question 180

An inventory API uses a documented OpenAPI contract but no typed agent tool exists. Which change should the Azure AI engineer make first?

  1. Add inventory API examples and URL paths to the agent’s instructions and let it draft HTTP requests.
  2. Register the approved OpenAPI specification and restrict available operations.
  3. Expose the inventory service through one unrestricted generic HTTP operation that accepts arbitrary paths.
  4. Provide the database connection string to the agent as its API interface instead of an OpenAPI operation contract.

Explanation

Correct Answer

B:

Register the approved OpenAPI contract as a typed agent tool, including supported operation IDs and permitted authentication/operations.

Incorrect Answers

A:

Instructions do not register a typed, authenticated OpenAPI tool for actual invocation.

C:

An unrestricted proxy lacks the approved operation list and typed argument boundary needed for safe inventory access.

D:

Connection strings do not define authorized REST operations or the supported Foundry OpenAPI tool schema.

Question 181

A customer-support agent exposes a POST /tickets endpoint through a Foundry OpenAPI tool. Its OpenAPI 3.1 definition describes the path and method but omits operationId. Tool registration cannot identify this operation. What must the engineer fix in the API description?

  1. Give that POST operation a unique, supported operationId in the OpenAPI specification and register the corrected tool.
  2. Change the API specification from OpenAPI 3.1 to 3.0 without adding operationId.
  3. Add more prose to the agent instructions but keep the operationId field absent.
  4. Add an API-key project connection while leaving the operation definition unnamed.

Explanation

Correct Answer

A:

Foundry requires each OpenAPI operation exposed as a tool function to provide operationId. Assigning a distinct identifier that follows the supported character restrictions addresses the described registration defect.

Incorrect Answers

B:

Foundry supports both OpenAPI 3.0 and 3.1. Merely changing the version does not supply the required missing operation identifier.

C:

Agent instructions influence tool use after a tool is available; they do not replace the required operationId in the tool schema.

D:

Authentication can be necessary for invoking a protected API, but credentials cannot repair an OpenAPI operation that lacks a required identifier.

Question 182

An agent tries to call an internal POST API with invalid JSON body. What is the most appropriate next action?

  1. Submit malformed tool arguments to the downstream POST endpoint and rely on its server-side validation response.
  2. Coerce all supplied JSON properties to strings and forward the request through the generic API tool.
  3. Use function-calling schema descriptions in the model prompt and accept its generated JSON without an application validator.
  4. Validate required JSON schema and reject malformed tool arguments.

Explanation

Correct Answer

D:

Validate the required request-body JSON shape and API contract before dispatching the internal POST operation.

Incorrect Answers

A:

Server validation is still useful, but the calling application should validate and reject malformed generated arguments before dispatch.

B:

Converting typed fields obscures required numeric/object semantics and does not satisfy the declared POST contract.

C:

A model can still emit invalid arguments; enforce the required schema and authorization boundary in the integration.

Question 183

An agent OpenAPI 3.1 tool specifies operationId: GetOrder2 for its GET /orders/{id} method. The identifier exists and is unique, but tool validation rejects it. According to current Foundry OpenAPI tool restrictions, what precise change should be made?

  1. Add a second operationId field with a different unique value to the same operation.
  2. Downgrade from OpenAPI 3.1 to OpenAPI 3.0 while retaining GetOrder2.
  3. Rename the operationId to Get_Order using only letters, hyphens or underscores, and validate again.
  4. Move an API-key credential into the operationId value so it can be authorized.

Explanation

Correct Answer

C:

Foundry currently restricts OpenAPI tool operationId characters to letters, hyphens and underscores. GetOrder2 contains a digit, while Get_Order uses allowed characters and can remain unique.

Incorrect Answers

A:

The operation already has a unique identifier. Adding a duplicate field makes the definition ambiguous and does not eliminate the unsupported numeric character.

B:

Both OpenAPI 3.0 and 3.1 are supported for Foundry OpenAPI tools; changing the version does not change the documented operationId character rule.

D:

API authentication secrets belong in an appropriate secure project connection, not a function identifier; embedding one in operationId would neither meet its syntax requirement nor be secure.

Question 184

An external tool should authenticate using an agent managed identity. How should the engineer implement this requirement?

  1. Set up an API-key project connection and use its credential for the external tool’s requests.
  2. Configure the tool's supported managed-identity authentication and target RBAC.
  3. Assign the required target-service RBAC role to the engineer who configured the agent.
  4. Grant Owner at subscription scope to the agent managed identity and rely on that broad role for the tool.

Explanation

Correct Answer

B:

Configure the tool's supported managed-identity mode and assign the target API's narrow role to that identity.

Incorrect Answers

A:

API-key connections can authenticate supported tools, but do not meet the specified managed-identity authentication requirement.

C:

The engineer’s permissions are not automatically inherited by the agent managed identity used at execution.

D:

Owner is unnecessarily broad and may not be the precise target-service data-plane role the tool requires.

Question 185

An agent needs several APIs shared across teams with consistent governance. Which change should the Azure AI engineer make first?

  1. Publish a versioned toolbox rather than duplicating unsecured raw tool definitions.
  2. Copy each API’s OpenAPI document into every team agent’s local configuration and update copies independently.
  3. Use a common high-privilege project credential for all team APIs so agents share one authentication setup.
  4. Configure each agent with hand-built HTTP endpoints rather than a governed, versioned tool collection.

Explanation

Correct Answer

A:

Use a governed, versioned shared collection of approved API tools with consistent identity and policy settings, rather than copied raw definitions.

Incorrect Answers

B:

Independent copies fragment schema versions and governance; a versioned shared toolbox provides consistent reuse.

C:

A common broad credential weakens least privilege, auditability and per-tool authorization.

D:

Manual endpoints can work but create duplicated uncontrolled contracts and do not meet the requested shared governance.

Question 186

A Foundry agent calls a third-party supplier API through an OpenAPI tool. The supplier accepts only an API key sent using its documented security scheme; it does not accept Microsoft Entra tokens or managed identities. The current anonymous configuration returns 401. Which change authorizes tool calls without exposing the secret in the prompt?

  1. Configure Foundry managed-identity authentication and assign Azure RBAC to the supplier endpoint.
  2. Ask the agent to quote the API key in every user-visible response.
  3. Keep anonymous authentication but describe the intended API-key policy in the agent instructions.
  4. Create a secured project connection for the supplier key and use the matching OpenAPI API-key authentication configuration.

Explanation

Correct Answer

D:

Foundry OpenAPI tools support API-key authentication through a configured project connection. Supplying the supplier key using its declared scheme meets the stipulated endpoint requirement while keeping the secret out of prompts.

Incorrect Answers

A:

Managed identity is appropriate when the target accepts Entra-based authentication and has applicable permission assignments. This explicitly third-party endpoint supports only its own API-key scheme, so Azure RBAC does not satisfy its protocol.

B:

Publishing the key in an agent answer leaks a credential and still does not establish the supported tool authentication configuration.

C:

Instructions do not add credentials to HTTP requests. The endpoint already rejects anonymous calls with 401, so the unauthenticated tool must be reconfigured.

Question 187

A Foundry agent OpenAPI tool must POST an order to a legacy supplier API. The supplier accepts only application/x-www-form-urlencoded request bodies, while the tool integration reports that this request body content type is unsupported. The operationId and authentication are already valid. What is the supported remedy?

  1. Change the OpenAPI requestBody declaration to application/json but continue forwarding raw form-encoded bytes to an upstream API that only accepts form bodies.
  2. Use multipart/form-data as the OpenAPI tool request body because it is another common HTTP form type.
  3. Expose a compatible JSON or JSON Patch API adapter matching the supported Foundry OpenAPI request-body content types, then register that specification.
  4. Expose the supplier POST directly as application/x-www-form-urlencoded and rely on natural-language instructions to convert the body at runtime.

Explanation

Correct Answer

C:

Foundry documents application/json and application/json-patch+json support for OpenAPI request bodies. An appropriate adapter or API change can present a compatible contract.

Incorrect Answers

A:

Changing the advertised media type without implementing a compatible adapter makes the tool look supported but the actual supplier request still fails.

B:

The documented Foundry OpenAPI tool requestBody media types are application/json and application/json-patch+json, not multipart form content.

D:

The OpenAPI integration explicitly rejects that media type; a prompt cannot extend the runtime-supported request-body types.

Question 188

A tool returns errors with 200 status in its JSON body. Which decision directly addresses the observed issue?

  1. Treat HTTP 200 as proof the business operation succeeded
  2. Inspect application-level success fields before telling the user the action succeeded.
  3. Hide the returned error body and reply that the task is complete
  4. Retry the operation repeatedly without parsing the original error

Explanation

Correct Answer

B:

Inspect the API's documented response body and business success field even when the HTTP transport status is 200.

Incorrect Answers

A:

Applications can encode a failure in the payload.

C:

Suppressing error details causes a false success report.

D:

Retries may duplicate side effects and cannot diagnose the logical failure.

Question 189

An agent should only read expense reports, not submit reimbursements. How should the engineer implement this requirement?

  1. Register and authorize only the read operations, excluding side-effecting tools.
  2. Allow the supplier OpenAPI tool to register both read and write operations and rely on a system prompt for read-only behavior.
  3. Register all operations with a restricted output JSON schema that hides write results.
  4. Store a catalogue of the supplier’s read operations in knowledge rather than configuring callable methods.

Explanation

Correct Answer

A:

Expose only explicitly approved read-only expense-report operations and restrict credentials so reimbursement submission is impossible.

Incorrect Answers

B:

System instructions do not enforce operation-level authorization; write operations must be excluded or denied at the tool boundary.

C:

Limiting output format does not remove side-effecting tool methods or prevent unauthorized writes.

D:

A knowledge catalogue does not expose authorized executable read operations to the agent.

Question 190

An agent answers financial questions from unapproved web sources. Which change should the Azure AI engineer make first?

  1. Restrict knowledge tools to the permitted tenant financial index.
  2. Ask the model to prefer internal sources but leave unapproved web search enabled
  3. Retrieve all search sources and remove external citations in the final answer
  4. Train the model on unofficial finance blogs and present them as tenant records

Explanation

Correct Answer

A:

Restrict the knowledge tool's search source to approved tenant financial indexes and enforce per-request authorization.

Incorrect Answers

B:

A preference cannot enforce the permitted evidence boundary.

C:

Unapproved material can still affect the conclusions.

D:

An outside finance blog does not become authorized tenant evidence when placed in the model's training context; preserve approved-source provenance and access controls.

Developing AI Apps and Agents on Azure (AI-103) Practice Tests