Microsoft AI-103 (Developing AI Apps and Agents on Azure) Practice Test 5

Question 40

During rollout of an order-assistance application, requests target a model deployment that does not exist in the intended resource. Once routing is repaired, occasional network timeouts can cause a downstream order tool to execute twice. Which TWO changes address both rollout safety and the failure path? Choose TWO.

  1. Retry transient inference failures with replay protection on the order tool
  2. Use an SDK credential provider that refreshes tokens
  3. Deploy the intended model and send requests to its real deployment name
  4. Configure the correct Foundry project or model endpoint URI
  5. Select the SDK client and API version compatible with the chosen service endpoint

Explanation

Correct Answers

A:

Network retries can repeat a model response or tool plan; durable action identifiers prevent duplicate writes when a workflow resumes; a recovered timeout must not create a second customer order.

C:

Inference calls are directed to an existing deployment, not just the catalog model family name; the application and environment must agree; inference cannot succeed against a family name that has not been deployed.

Incorrect Answers

B:

A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; it addresses a neighboring concern, while the task tests an existing deployment target and replay-safe order execution.

D:

Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; on its own this leaves an existing deployment target and replay-safe order execution unaddressed.

E:

Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service; meeting the stated constraint still involves an existing deployment target and replay-safe order execution.

Question 41

Two chat models appear similar on marketing specifications but differ on a legal-document workload. Which of the following would meet this need?

  1. Benchmark each target language and inspect language-specific error patterns
  2. Run a representative task-specific evaluation set before selecting one
  3. Run regression tests for tools, structured outputs, safety, and grounding
  4. Evaluate harmful-output rates and policy compliance on adversarial cases

Explanation

Correct Answer

B:

Domain accuracy and failure behavior must be measured on expected inputs; generic benchmarks cannot establish performance on the organization's documents.

Incorrect Answers

A:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; the scenario instead depends on running a representative task-specific evaluation set before selecting one.

C:

Model swaps may alter tool-call syntax and refusal patterns; passing a simple chat smoke test is insufficient to protect workflow behavior; it addresses a neighboring concern, while the task tests running a representative task-specific evaluation set before selecting one.

D:

Responsible-AI criteria belong alongside correctness metrics; a model that answers accurately can still violate safety requirements; it cannot substitute for running a representative task-specific evaluation set before selecting one under these conditions.

Question 42

A finance workflow requires dependable extraction of a particular JSON schema. Which approach best meets the requirement?

  1. Benchmark each target language and inspect language-specific error patterns
  2. Evaluate harmful-output rates and policy compliance on adversarial cases
  3. Run regression tests for tools, structured outputs, safety, and grounding
  4. Measure schema-valid response rate and field accuracy

Explanation

Correct Answer

D:

A high fluency score does not demonstrate adherence to a required machine-readable contract or correctness of extracted financial values.

Incorrect Answers

A:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; the needed design choice concerns providing dependable extraction of a particular JSON schema instead.

B:

Responsible-AI criteria belong alongside correctness metrics; a model that answers accurately can still violate safety requirements; the scenario instead depends on providing dependable extraction of a particular JSON schema.

C:

Model swaps may alter tool-call syntax and refusal patterns; passing a simple chat smoke test is insufficient to protect workflow behavior; the requested solution requires providing dependable extraction of a particular JSON schema rather than this different mechanism.

Question 43

A multilingual assistant will serve speakers of several low-resource languages. Which approach best meets the requirement?

  1. Verify image understanding support rather than selecting a text-only model
  2. Evaluate end-to-end task success and tool-use cost rather than model price alone
  3. Compare response-time percentiles under expected load
  4. Evaluate harmful-output rates and policy compliance on adversarial cases
  5. Benchmark each target language and inspect language-specific error patterns

Explanation

Correct Answer

E:

Average quality can obscure localized failures; production selection should be grounded in actual user languages.

Incorrect Answers

A:

A multimodal input contract and visual performance are prerequisites; text reasoning strengths cannot compensate for absent image input; that would not ensure benchmarking each target language and inspect language-specific error patterns for this workload.

B:

Inference price is only part of workload cost; erroneous tools, retries, and failed tasks may dominate operational expense; the needed design choice concerns benchmarking each target language and inspect language-specific error patterns instead.

C:

Operational suitability includes tail latency and throughput, not only answer quality on isolated prompts; the scenario instead depends on benchmarking each target language and inspect language-specific error patterns.

D:

Responsible-AI criteria belong alongside correctness metrics; a model that answers accurately can still violate safety requirements; the requested solution requires benchmarking each target language and inspect language-specific error patterns rather than this different mechanism.

Question 44

An agent will invoke expensive tools and a cheap model may make too many incorrect calls. Which implementation should the team choose?

  1. Run regression tests for tools, structured outputs, safety, and grounding
  2. Evaluate end-to-end task success and tool-use cost rather than model price alone
  3. Verify image understanding support rather than selecting a text-only model
  4. Benchmark each target language and inspect language-specific error patterns

Explanation

Correct Answer

B:

Inference price is only part of workload cost; erroneous tools, retries, and failed tasks may dominate operational expense.

Incorrect Answers

A:

Model swaps may alter tool-call syntax and refusal patterns; passing a simple chat smoke test is insufficient to protect workflow behavior; the relevant decision is evaluating end-to-end task success and tool-use cost rather than model price alone, not the separate action described here.

C:

A multimodal input contract and visual performance are prerequisites; text reasoning strengths cannot compensate for absent image input; the needed design choice concerns evaluating end-to-end task success and tool-use cost rather than model price alone instead.

D:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; the scenario instead depends on evaluating end-to-end task success and tool-use cost rather than model price alone.

Question 45

A model candidate is highly accurate but exceeds the application's latency budget. What should the engineer implement?

  1. Compare response-time percentiles under expected load
  2. Benchmark each target language and inspect language-specific error patterns
  3. Verify image understanding support rather than selecting a text-only model
  4. Run a representative task-specific evaluation set before selecting one

Explanation

Correct Answer

A:

Operational suitability includes tail latency and throughput, not only answer quality on isolated prompts.

Incorrect Answers

B:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; the relevant decision is comparing response-time percentiles under expected load, not the separate action described here.

C:

A multimodal input contract and visual performance are prerequisites; text reasoning strengths cannot compensate for absent image input; that would not ensure comparing response-time percentiles under expected load for this workload.

D:

Domain accuracy and failure behavior must be measured on expected inputs; generic benchmarks cannot establish performance on the organization's documents; the needed design choice concerns comparing response-time percentiles under expected load instead.

Question 46

A deployment must process diagrams and embedded images inside support documents. Which of the following would meet this need?

  1. Verify image understanding support rather than selecting a text-only model
  2. Measure schema-valid response rate and field accuracy
  3. Compare response-time percentiles under expected load
  4. Benchmark each target language and inspect language-specific error patterns

Explanation

Correct Answer

A:

A multimodal input contract and visual performance are prerequisites; text reasoning strengths cannot compensate for absent image input.

Incorrect Answers

B:

A high fluency score does not demonstrate adherence to a required machine-readable contract or correctness of extracted financial values; that mechanism does not itself establish processing diagrams and embedded images inside support documents.

C:

Operational suitability includes tail latency and throughput, not only answer quality on isolated prompts; the relevant decision is processing diagrams and embedded images inside support documents, not the separate action described here.

D:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; that would not ensure processing diagrams and embedded images inside support documents for this workload.

Question 47

A team is considering a cheaper replacement model for an existing agent. What should the engineer implement?

  1. Run a representative task-specific evaluation set before selecting one
  2. Benchmark each target language and inspect language-specific error patterns
  3. Run regression tests for tools, structured outputs, safety, and grounding
  4. Measure schema-valid response rate and field accuracy

Explanation

Correct Answer

C:

Model swaps may alter tool-call syntax and refusal patterns; passing a simple chat smoke test is insufficient to protect workflow behavior.

Incorrect Answers

A:

Domain accuracy and failure behavior must be measured on expected inputs; generic benchmarks cannot establish performance on the organization's documents; on its own this leaves running regression tests for tools, structured outputs, safety, and grounding unaddressed.

B:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; meeting the stated constraint still involves running regression tests for tools, structured outputs, safety, and grounding.

D:

A high fluency score does not demonstrate adherence to a required machine-readable contract or correctness of extracted financial values; the relevant decision is running regression tests for tools, structured outputs, safety, and grounding, not the separate action described here.

Question 48

A regulated application must identify unacceptable output categories before its model is approved. Which design choice is most appropriate?

  1. Benchmark each target language and inspect language-specific error patterns
  2. Run regression tests for tools, structured outputs, safety, and grounding
  3. Evaluate end-to-end task success and tool-use cost rather than model price alone
  4. Evaluate harmful-output rates and policy compliance on adversarial cases

Explanation

Correct Answer

D:

Responsible-AI criteria belong alongside correctness metrics; a model that answers accurately can still violate safety requirements.

Incorrect Answers

A:

Average quality can obscure localized failures; production selection should be grounded in actual user languages; it cannot substitute for identifying unacceptable output categories before its model is approved under these conditions.

B:

Model swaps may alter tool-call syntax and refusal patterns; passing a simple chat smoke test is insufficient to protect workflow behavior; on its own this leaves identifying unacceptable output categories before its model is approved unaddressed.

C:

Inference price is only part of workload cost; erroneous tools, retries, and failed tasks may dominate operational expense; meeting the stated constraint still involves identifying unacceptable output categories before its model is approved.

Question 49

A product finder must use strict lexical matching for rare model numbers and cannot blend vector similarity into ranking. Which approach best meets the requirement?

  1. Prioritize keyword retrieval for exact identifier matching
  2. Push externally generated vectors and metadata into an index
  3. Apply authorization-aware retrieval filters before grounding
  4. Enable and tune semantic reranking on suitable textual fields

Explanation

Correct Answer

A:

Lexical matching retains literal part codes that embeddings may blur, making it suitable for exact product identifier constraints.

Incorrect Answers

B:

Client-side vector preparation is viable when the organization needs bespoke transformations; the index still needs compatible vector field configuration; it cannot substitute for using strict lexical matching for rare model numbers and cannot blend vector similarity into ranking under these conditions.

C:

Security-trimmed search constrains candidate evidence; hiding unauthorized passages after generation is too late to prevent disclosure; on its own this leaves using strict lexical matching for rare model numbers and cannot blend vector similarity into ranking unaddressed.

D:

The semantic ranker reorders textual candidates for relevance; it is downstream of initial retrieval rather than an ingestion engine; meeting the stated constraint still involves using strict lexical matching for rare model numbers and cannot blend vector similarity into ranking.

Question 50

An employee search needs to retrieve policy passages despite synonyms and paraphrases. Which approach best meets the requirement?

  1. Push externally generated vectors and metadata into an index
  2. Combine lexical and vector retrieval in a hybrid search
  3. Use semantic vector retrieval over appropriately chunked text
  4. Use an indexer and skillset with integrated vectorization

Explanation

Correct Answer

C:

Embedding similarity can surface conceptually related passages when query vocabulary differs from the source wording.

Incorrect Answers

A:

Client-side vector preparation is viable when the organization needs bespoke transformations; the index still needs compatible vector field configuration; the requested solution requires retrieving policy passages despite synonyms and paraphrases rather than this different mechanism.

B:

Hybrid search brings exact-match and semantic signals into one candidate set and can improve coverage for mixed-intent queries; it addresses a neighboring concern, while the task tests retrieving policy passages despite synonyms and paraphrases.

D:

A supported indexer can extract, split, and embed content into vector fields, reducing bespoke ingestion orchestration; on its own this leaves retrieving policy passages despite synonyms and paraphrases unaddressed.

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