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 23

Question 220

An assistant gives inconsistent formatting because instructions are vague. Which change should the Azure AI engineer make first?

  1. Increase sampling temperature to encourage a wider variety of formatting
  2. Add a precise output contract and examples within approved system instructions.
  3. Apply a semantic reranker to the input text instead of specifying an output contract
  4. Increase the maximum tokens while retaining ambiguous style instructions

Explanation

Correct Answer

B:

A precise trusted instruction/output contract with examples resolves inconsistent formatting at the source; downstream validation can enforce it further.

Incorrect Answers

A:

Higher temperature increases sampling variability and commonly broadens output forms, so it does not make the specified formatting contract more consistent across repeated requests.

C:

Retrieval ranking does not impose answer formatting.

D:

A larger budget permits more output, not more predictable structure.

Question 221

A deterministic classification task varies excessively between repeat runs. Which approach best satisfies the stated requirement?

  1. Tune generation settings toward lower randomness and benchmark stability.
  2. Increase top-p to sample more diverse class labels
  3. Ask for long creative explanations before each label
  4. Change Search replica counts to stabilize generated categories

Explanation

Correct Answer

A:

Lower randomness and test multiple representative inputs to measure run-to-run consistency on a narrow classification task.

Incorrect Answers

B:

Increasing top-p increases sampling variety, which is unsuitable for a fixed classification label unless a constrained label schema is enforced.

C:

Generative prose can distract from fixed-category accuracy.

D:

Index replicas do not control model sampling randomness.

Question 222

A marketing team uses a supported text-generation model to brainstorm advertising concepts. Repeated tests at very low sampling temperature produce nearly identical safe but unoriginal suggestions. The team needs more varied ideas while keeping the same content-policy and brand constraints. What should be tested first?

  1. Reduce the current low sampling temperature further and measure average answer consistency instead of concept variety.
  2. Move directly to the costliest available model while keeping its decoding configuration untested on the team's concept-evaluation set.
  3. Increase the completion token ceiling without adjusting the restrictive sampling settings or evaluating the number of distinct ideas.
  4. Test appropriate sampling parameters while maintaining policy constraints.

Explanation

Correct Answer

D:

A creative brainstorm can benefit from measured sampling adjustments, bounded by quality and safety acceptance tests.

Incorrect Answers

A:

Lower temperature favors concentrated high-probability tokens and typically moves away from the requested creative diversity.

B:

Price or size alone cannot demonstrate a diversity improvement; evaluate controlled sampling changes on representative prompts.

C:

Longer responses do not necessarily diversify the probability distribution from which concepts are sampled.

Question 223

A model truncates responses because max output tokens are too low. Which decision directly addresses the observed issue?

  1. Increase prompt-token count with additional irrelevant examples
  2. Retry the same low-max-output request indefinitely
  3. Increase the supported output budget or constrain the requested format.
  4. Raise search top-k instead of changing output limits

Explanation

Correct Answer

C:

The supported generation-token budget must accommodate the required response, or the response contract must be tightened to fit within limits.

Incorrect Answers

A:

A longer input consumes context and does not increase available output allowance.

B:

The same cap can truncate every attempt.

D:

More retrieved text can reduce the budget available for the answer.

Question 224

A long prompt includes irrelevant retrieved context that hides key instructions. How should the engineer implement this requirement?

  1. Move the prompt to a larger-context model so every retrieved passage can be appended to the same request.
  2. Reduce and rank context to the minimum useful evidence.
  3. Use semantic reranking of candidate passages, then append both the promoted and remaining low-scoring passages to context.
  4. Summarize the full retrieved corpus into a single comprehensive background passage before the task instructions.

Explanation

Correct Answer

B:

Rank and trim irrelevant retrieved material while preserving high-value evidence and instructions, so model attention and context budget focus on the task.

Incorrect Answers

A:

A larger window increases capacity but leaves noisy irrelevant text competing with the important evidence and instructions.

C:

Reinserting all discarded material defeats the purpose of evidence selection and increases token load.

D:

An indiscriminate summary may still mix irrelevant material and omit task-critical evidence; filter and rank to the minimum useful context.

Question 225

A generator ignores a user-specified language after a multistep workflow. Which change should the Azure AI engineer make first?

  1. Preserve task instructions across each step and evaluate final language compliance.
  2. Translate the user request into the target language before the first workflow step and run later steps with default settings.
  3. Increase the last model call’s output-token budget and prompt it to produce a complete answer.
  4. Choose the output language from the highest-ranked retrieved document rather than from the user’s instruction.

Explanation

Correct Answer

A:

Carry the requested language constraint into each relevant step and regression-test the final multilingual output.

Incorrect Answers

B:

Downstream steps may drop the locale requirement unless it is carried through the workflow and tested at final output.

C:

A token-budget change does not ensure the last step knows the required target language.

D:

Evidence-source language can differ from the user’s required final response language.

Question 226

A prompt asks a model to explain hidden reasoning verbatim. Which approach best satisfies the stated requirement?

  1. Demand the full hidden chain of thought as a JSON field
  2. Infer the hidden trace from token usage metadata
  3. Publish intermediate sensitive deliberation fields without redaction
  4. Request a concise decision rationale or evidence instead of hidden internal reasoning.

Explanation

Correct Answer

D:

Ask for concise externally shareable reasoning evidence or decision factors, not a verbatim hidden internal reasoning trace.

Incorrect Answers

A:

Internal private reasoning is not an application output contract.

B:

Token counts do not reveal decision justifications.

C:

That can disclose confidential context and is not required for an explanation.

Question 227

A team wants a model to revise its own draft for errors. What is the most appropriate next action?

  1. Have the model praise its first draft without comparing evidence
  2. Generate multiple drafts at higher temperature and pick the longest one
  3. Add explicit evidence-based critique and a check against source material.
  4. Let an unvalidated external webpage dictate critique criteria

Explanation

Correct Answer

C:

A critique-and-revision stage should check the draft against retrieved sources and task constraints, then repair concrete issues.

Incorrect Answers

A:

A model's positive description of its own draft cannot verify facts; compare the answer with evidence passages and explicit evaluation criteria.

B:

Length and diversity do not prove correctness.

D:

Retrieved content must not override trusted validation rules.

Question 228

A Chat Completions application retrieves third-party text documents and already uses document-attack Prompt Shields, but the security team wants an additional supported preview mitigation that explicitly marks the retrieved document content as lower-trust text. The team can test extra token usage. Which control should the developer evaluate?

  1. Configure Spotlighting on the Responses API integration and measure document-token expansion during a preview trial.
  2. Evaluate Spotlighting on a supported Chat Completions model to mark retrieved documents as lower-trust content, and test token growth and response artifacts alongside existing Prompt Shields and tool authorization.
  3. Wrap retrieved document passages in clearly labeled Markdown quotation blocks before inserting them into the prompt.
  4. Add trust-level metadata to the Search documents and keep the existing Prompt Shields, deferring additional document encoding.

Explanation

Correct Answer

B:

Spotlighting specially formats lower-trust documents to distinguish them from direct instructions. The documented Base64 transformation can increase token use and sometimes lead to encoding mentions; it complements rather than replaces detection and tool authorization.

Incorrect Answers

A:

Spotlighting availability is API-specific in the documented preview. An assumed Responses integration does not establish supported Chat Completions document-marking behavior.

C:

Visible quote formatting may help the model distinguish citations, but it is not the documented Spotlighting document-encoding control being requested.

D:

Metadata labels help provenance but do not provide the additional supported preview spotlighting mitigation that marks lower-trust document text within the model input.

Question 229

An agent has a root OpenTelemetry invoke_agent span and an MCP tool service emits its own execute_tool trace, but the traces have unrelated trace IDs. The team cannot associate the tool's duration or failures with the originating request. Which integration change restores end-to-end correlation?

  1. Align model-service and MCP-service latency dashboards by their time windows and request volume before reviewing the slowest periods.
  2. Propagate the active W3C trace context (traceparent/tracestate) through the MCP tools/call metadata and instrument the receiving tool service to continue the parent trace.
  3. Annotate each independent MCP tool trace with a descriptive parent-agent operation label when logs are collected.
  4. Emit a new root trace for every MCP tool call and retain a copy of the original agent request ID in tool log fields.

Explanation

Correct Answer

B:

Microsoft Agent Framework documents MCP trace propagation through params._meta with active OpenTelemetry context; W3C traceparent and tracestate permit the receiving instrumented server to attach its work to the originating trace.

Incorrect Answers

A:

Aggregate timing trends help performance analysis but cannot establish which execute_tool span belonged to an individual invoke_agent request.

C:

A shared label improves log searching but does not create a linked distributed trace with matching trace and parent span context.

D:

Request-ID logging permits separate correlation in an application database, but it is not OpenTelemetry propagation of the originating trace context into child execution spans.

Question 230

A release increases token consumption with no change in request volume. Which change should the Azure AI engineer make first?

  1. Compare input and output tokens by request and deployment.
  2. Compare the request-rate histogram with the prior release and increase client throttling to keep RPM below the observed peak.
  3. Estimate token cost from the current model catalog rate card and the historical number of requests.
  4. Raise the deployment TPM quota for the next release and monitor whether HTTP 429 responses decrease.

Explanation

Correct Answer

A:

Compare per-request prompt, completion and retrieved-context token usage by deployment/version to locate the cost increase.

Incorrect Answers

B:

Unchanged call volume cannot explain why token use per call rose. RPM throttling can reduce load, but usage metadata is needed to identify larger prompts or completions.

C:

The rate card converts usage into price; it does not measure input and output tokens consumed by this release, which can change even when request count does not.

D:

More quota might relieve throttling, but it does not identify the cost driver. Inspect reported prompt and completion-token use first.

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