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 16

Question 150

An LLM predicts a customer sentiment with no evidence support. Which change should the Azure AI engineer make first?

  1. Record the returned sentiment label and the model deployment identifier as the explanation for its prediction.
  2. Use account history and customer value to infer a likely positive or negative sentiment label.
  3. Include the model confidence score beside the sentiment label and accept values above the configured threshold.
  4. Include original text span and evaluation checks instead of an unsupported label alone.

Explanation

Correct Answer

D:

A sentiment output should be grounded in observable input text and tested against labeled examples, with evidence spans where appropriate.

Incorrect Answers

A:

A model identifier traces inference but does not support the sentiment classification from the customer’s actual language.

B:

Commercial account metadata is not evidence of the sentiment expressed in the specific message.

C:

A confidence estimate without cited input spans or evaluation can be confidently wrong; check the underlying customer text.

Question 151

A structured output contains unexpected sensitive fields. Which approach best satisfies the stated requirement?

  1. Persist all generated fields in a staging table and schedule a downstream sensitive-data cleanup job.
  2. Add a restrictive instruction to the model’s system message while accepting any extra generated JSON properties.
  3. Restrict the schema and redact unapproved attributes before persistence.
  4. Base64-encode unexpected sensitive values so the downstream API receives only encoded strings.

Explanation

Correct Answer

C:

Keep only authorized schema fields and apply field-level redaction before sensitive output is persisted downstream.

Incorrect Answers

A:

Staging retains prohibited output before cleanup; the application must reject or redact fields before storing the response.

B:

Prompt-based compliance cannot enforce output schemas or block unauthorized sensitive fields at the persistence boundary.

D:

Encoding is reversible and does not remove disallowed personal information from the stored record.

Question 152

An app requires reliable arrays of extracted entities but occasionally receives text. What is the most appropriate next action?

  1. Accept comma-separated prose as an equivalent to a typed JSON array
  2. Validate typed arrays and item schemas at the application boundary.
  3. Enable JSON mode without specifying the entities array schema
  4. Infer missing entity IDs silently from neighboring records

Explanation

Correct Answer

B:

Entity arrays require typed list/item validation on the generated object before application processing; plain prose is not an array contract.

Incorrect Answers

A:

Free text has ambiguous boundaries and field types.

C:

Valid JSON could still contain a string or missing items.

D:

Generated identifiers may refer to the wrong entities.

Question 153

A client passes an Azure AI Search key to a Foundry model endpoint. Which decision directly addresses the observed issue?

  1. Assign a Search service data-plane role to the caller while retaining the Search service key in the model request.
  2. Use the Foundry project/model credential and correct service endpoint.
  3. Update the model name and token budget while continuing to authenticate with the Search key.
  4. Enable the model endpoint’s public ingress and retry the same credential.

Explanation

Correct Answer

B:

A Foundry model endpoint must receive Foundry/project credentials for its own audience, not a Search data-plane API key.

Incorrect Answers

A:

Search permissions and keys govern Search, not authentication to the Foundry model endpoint that rejected the request.

C:

Inference request tuning cannot turn a Search key into a valid Foundry model credential.

D:

Network reachability alone does not authorize a credential issued for a different Azure service.

Question 154

A Python client authenticates with DefaultAzureCredential and calls a Microsoft Foundry PROJECT route ending in /openai/v1/. The identity has the required project data-plane role, but requests return 401. Tracing shows the bearer token was acquired for the Azure management resource instead of the Foundry project service. What should the client change?

  1. Request a refreshable token with the Foundry project resource scope https://ai.azure.com/.default, attach it through a supported token provider, and keep the correct project endpoint.
  2. Grant subscription Owner and keep presenting an Azure management audience token to the model endpoint.
  3. Use an Azure AI Search admin key to authenticate the Foundry model request while leaving the Entra token audience unchanged.
  4. Embed a personal static API key in the Python source and avoid validating the service audience of Entra tokens.

Explanation

Correct Answer

A:

Microsoft documents the https://ai.azure.com/.default audience for Foundry project /openai/v1 endpoints. A refreshable token provider for that scope addresses the demonstrated invalid-audience 401 without changing least-privilege role assignments.

Incorrect Answers

B:

A broader Azure control-plane role cannot repair a bearer token issued for the wrong resource audience at a Foundry data-plane endpoint.

C:

Search keys are credentials for the Search service, not bearer tokens for the Foundry project model-serving endpoint.

D:

Embedding static credentials is neither necessary nor consistent with the required keyless Entra flow; the proper correction is the project token audience.

Question 155

An SDK update breaks an application using an old chat request schema. Which change should the Azure AI engineer make first?

  1. Upgrade the SDK and all dependency packages together, then rely on existing successful API-health checks.
  2. Catch JSON schema exceptions and retry the unchanged old chat request through the new SDK.
  3. Increase the client HTTP timeout and set a larger token limit while keeping the retired chat request fields.
  4. Pin/test supported SDK and API versions and adapt request format before deployment.

Explanation

Correct Answer

D:

Test SDK/API compatibility and adapt request and response models before changing production dependencies.

Incorrect Answers

A:

Broad version upgrades can introduce additional contract changes; the specific request payload and model API must be verified in staging.

B:

Suppressing exceptions does not make obsolete request properties compatible with the current endpoint.

C:

Transport/time limits do not repair protocol-field incompatibility from an SDK/API version change.

Question 156

An agent successfully calls its deployed model through its Foundry project endpoint. Its OpenAPI tool must instead call a partner API at a different HTTPS host, but the tool specification mistakenly lists the Foundry project host as its external API server. Authentication and operationId are valid. What must be changed?

  1. Update the Python model-inference client to use the project’s deployed-model route rather than the OpenAPI specification URL.
  2. Rotate the agent’s project credential while leaving the OpenAPI servers entry unchanged.
  3. Correct the OpenAPI servers URL to the partner API host while retaining the separate Foundry project endpoint for the agent service.
  4. Rename the OpenAPI operationId to match the Foundry deployment name.

Explanation

Correct Answer

C:

The tool specification targets the external partner server, while the SDK project endpoint authenticates and operates the agent; separating the URLs fixes the routing error.

Incorrect Answers

A:

The model project endpoint is already valid. The mistake lies in the separate external tool server URL, not the inference client route.

B:

The documented scenario already has valid authentication. Changing credentials cannot redirect the tool operation to the external partner host.

D:

The specification operation ID is already valid; altering it does not fix an HTTP server URL pointed at the wrong host.

Question 157

A Python client has a valid Foundry credential and an existing deployed model named help-model. It nonetheless sends inference requests to a URL copied from a different Foundry resource and receives a not-found response. Authentication succeeds. What should the engineer correct?

  1. Keep the URL from the unrelated Foundry resource but substitute the correct help-model deployment name in its model parameter.
  2. Read the owning project’s endpoint and deployment details, then point the client to that specific model-serving endpoint and deployment name.
  3. Use the owning project endpoint but send the public catalog model family identifier in place of the actual deployed name.
  4. Change the inference base URL to the Azure AI Search endpoint in the same subscription, keeping the current model parameter.

Explanation

Correct Answer

B:

Foundry routes model inference using the endpoint of the correct project/resource and the associated deployment. Using both correct values fixes the routing failure.

Incorrect Answers

A:

A deployment identifier is meaningful at the hosting resource endpoint. The unrelated endpoint cannot route to a model deployed elsewhere.

C:

Model deployment names and catalog model identifiers are different routing inputs. The endpoint and deployment name must both match.

D:

A Search service address serves Search APIs, not the Foundry model endpoint. Sharing a subscription does not make service hostnames interchangeable.

Question 158

An application must track inference request failures by deployment. Which decision directly addresses the observed issue?

  1. Record request IDs, model deployment names and categorized error responses.
  2. Aggregate request counts by calendar day and alert when total inference volume drops below baseline.
  3. Log user message text and response lengths for failed requests and group them by conversation session.
  4. Group all non-2xx responses under a generic client-error counter and compare their overall frequency.

Explanation

Correct Answer

A:

Correlated request IDs, deployment names and categorized status codes allow model-level failure investigation.

Incorrect Answers

B:

Overall call volume omits the deployment identity, request ID and categorized error needed to diagnose per-deployment failures.

C:

Conversation grouping lacks request correlation, exact model deployment and HTTP error categorization; recording user text may add privacy risk.

D:

A generic counter loses distinctions among authentication, invalid requests, throttling and service faults by deployment.

Question 159

A team wants to avoid embedding connection secrets in code or notebooks. How should the engineer implement this requirement?

  1. Commit the key into a private source repository and rely on its visibility setting
  2. Paste connection secrets into agent instructions so every run can reuse them
  3. Place an unencrypted secret in deployment logs for retrieval by operators
  4. Use environment or managed configuration and secret references instead.

Explanation

Correct Answer

D:

Use managed configuration, environment references and secret storage rather than copying credentials into notebooks or repository files.

Incorrect Answers

A:

Private repositories are still not approved secret stores.

B:

Inserting credentials into agent instructions risks exposure through traces, prompts, or generated outputs; use protected identity or secret references instead.

C:

Logs create a broader, persistent disclosure surface.

Question 160

A batch service must call a model from an unattended container. Which change should the Azure AI engineer make first?

  1. Use an engineer's interactive browser session as the scheduled job credential
  2. Disable authentication because the job runs inside a private subnet
  3. Use a scoped service or managed identity with noninteractive credential flow.
  4. Hard-code a long-lived owner API key into the image

Explanation

Correct Answer

C:

An unattended container needs managed identity or an explicitly scoped service principal with a refreshable noninteractive token flow.

Incorrect Answers

A:

User sessions expire and are not reliable or accountable service identity.

B:

Network position does not replace service authorization.

D:

Container images can be copied and broad long-lived keys are difficult to rotate.

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