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

Question 150

A security policy requires old customer records to disappear from retrieval promptly. What solution would satisfy this constraint?

  1. Inspect vector index size, query latency, and service capacity
  2. Use a consistent embedding model and declared vector field dimensionality
  3. Inspect indexer source credentials and execution errors
  4. Implement supported delete detection or explicit deletion against index records

Explanation

Correct Answer

D:

Insert/update indexing alone does not reliably purge records removed upstream; deletion is a separate lifecycle concern.

Incorrect Answers

A:

Vector workload growth changes memory and compute needs; relevance prompts cannot correct an underprovisioned search service; the requested solution requires providing old customer records to disappear from retrieval promptly rather than this different mechanism.

B:

Vector arrays must match index schema; mixing incompatible embedding sizes causes ingestion or query failures; it addresses a neighboring concern, while the task tests providing old customer records to disappear from retrieval promptly.

C:

An indexer cannot ingest unreadable source records; status and error details isolate authentication and parsing faults; it cannot substitute for providing old customer records to disappear from retrieval promptly under these conditions.

Question 151

A search deployment shows slow vector queries after a substantial index expansion. How should the developer address this requirement?

  1. Store and return parent document identifiers with each chunk
  2. Inspect vector index size, query latency, and service capacity
  3. Implement supported delete detection or explicit deletion against index records
  4. Use a consistent embedding model and declared vector field dimensionality
  5. Review schedule, execution duration, and source change detection

Explanation

Correct Answer

B:

Vector workload growth changes memory and compute needs; relevance prompts cannot correct an underprovisioned search service.

Incorrect Answers

A:

Stable parent-child links enable evidence citations and full-document navigation without assuming a vector contains source identity; the scenario instead depends on inspecting vector index size, query latency, and service capacity.

C:

Insert/update indexing alone does not reliably purge records removed upstream; deletion is a separate lifecycle concern; it addresses a neighboring concern, while the task tests inspecting vector index size, query latency, and service capacity.

D:

Vector arrays must match index schema; mixing incompatible embedding sizes causes ingestion or query failures; it cannot substitute for inspecting vector index size, query latency, and service capacity under these conditions.

E:

Incremental ingestion requires a supported change-tracking path and sufficient schedule capacity to catch source updates; on its own this leaves inspecting vector index size, query latency, and service capacity unaddressed.

Question 152

An ingestion job partially processes a PDF and silently loses tables. What should the engineer implement?

  1. Review schedule, execution duration, and source change detection
  2. Inspect vector index size, query latency, and service capacity
  3. Inspect enrichment outputs and projection mappings for table content
  4. Mark that field filterable and rebuild or update as required by schema rules

Explanation

Correct Answer

C:

Document cracking, skills, and field mapping each affect whether structured regions reach the searchable index.

Incorrect Answers

A:

Incremental ingestion requires a supported change-tracking path and sufficient schedule capacity to catch source updates; the needed design choice concerns inspecting enrichment outputs and projection mappings for table content instead.

B:

Vector workload growth changes memory and compute needs; relevance prompts cannot correct an underprovisioned search service; the scenario instead depends on inspecting enrichment outputs and projection mappings for table content.

D:

Filterability is a field capability, not implied by storing text; some schema changes require reindexing rather than toggling a query flag; it addresses a neighboring concern, while the task tests inspecting enrichment outputs and projection mappings for table content.

Question 153

A search index returns exact term hits but misses paraphrased requests. Which design choice is most appropriate?

  1. Define and apply a filterable jurisdiction field
  2. Use freshness metadata for filtering or ranking where appropriate
  3. Combine lexical matching with vector retrieval in a hybrid query
  4. Add semantic vector retrieval and evaluate recall

Explanation

Correct Answer

D:

Embeddings improve recall for synonymous expressions, provided indexed chunks and the query use compatible representations.

Incorrect Answers

A:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; that would not ensure adding semantic vector retrieval and evaluate recall for this workload.

B:

An explicit approved-date signal can counteract obsolete but lexically popular results; hallucination controls alone cannot fix retrieval freshness; the needed design choice concerns adding semantic vector retrieval and evaluate recall instead.

C:

Keyword signals preserve precise identifiers that nearest-neighbor similarity alone can overlook; the scenario instead depends on adding semantic vector retrieval and evaluate recall.

Question 154

A legal search experience already retrieves semantically related cases, but a user-supplied statute identifier must match a stored normalized identifier exactly. Which index/query design ensures that equality constraint instead of merely influencing rank?

  1. Increase the semantic ranker weight assigned to whole-document summaries
  2. Make the statute identifier field filterable and apply an exact equality filter
  3. Increase vector top-k until the identifier is likely to appear
  4. Re-create the embeddings using a model with a larger vector dimension

Explanation

Correct Answer

B:

A typed filterable identifier field supports an OData equality filter, so documents failing the statute-ID test are excluded rather than merely ranked below other candidates.

Incorrect Answers

A:

Semantic ranking can reorder eligible text matches, but it does not enforce equality on a structured statute identifier; relevance is not an exact-match rule.

C:

Retrieving more nearest-neighbor candidates improves possible recall but cannot guarantee a literal identifier match; unrelated cases can remain among the results.

D:

Embedding dimensionality determines vector representation shape, not whether a query enforces equality for a stored statutory code.

Question 155

A hybrid query returns broadly relevant documents in an unsatisfactory order. Which action directly produces the required outcome?

  1. Measure recall, precision, or ranking quality against labeled relevance judgments
  2. Provide meaningful textual fields in the semantic configuration
  3. Define and apply a filterable jurisdiction field
  4. Tune result count, similarity thresholds where supported, and reranking
  5. Use semantic ranking over suitable text fields after retrieval

Explanation

Correct Answer

E:

Semantic reranking examines candidate textual content and can improve ordering without replacing the candidate-generation query.

Incorrect Answers

A:

Information-retrieval metrics expose trade-offs more reliably than subjective inspection of one demonstration query; that mechanism does not itself establish using semantic ranking over suitable text fields after retrieval.

B:

A text-aware reranker needs content such as titles and descriptions; numeric-only records supply little semantic evidence; the relevant decision is using semantic ranking over suitable text fields after retrieval, not the separate action described here.

C:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; that would not ensure using semantic ranking over suitable text fields after retrieval for this workload.

D:

Candidate size and relevance controls affect context precision; passing every hit to the model increases distraction and cost; the needed design choice concerns using semantic ranking over suitable text fields after retrieval instead.

Question 156

Users frequently ask for recently updated procedures, but old pages dominate results. What should the engineer implement?

  1. Use freshness metadata for filtering or ranking where appropriate
  2. Combine lexical matching with vector retrieval in a hybrid query
  3. Add semantic vector retrieval and evaluate recall
  4. Tune result count, similarity thresholds where supported, and reranking

Explanation

Correct Answer

A:

An explicit approved-date signal can counteract obsolete but lexically popular results; hallucination controls alone cannot fix retrieval freshness.

Incorrect Answers

B:

Keyword signals preserve precise identifiers that nearest-neighbor similarity alone can overlook; that mechanism does not itself establish using freshness metadata for filtering or ranking where appropriate.

C:

Embeddings improve recall for synonymous expressions, provided indexed chunks and the query use compatible representations; the relevant decision is using freshness metadata for filtering or ranking where appropriate, not the separate action described here.

D:

Candidate size and relevance controls affect context precision; passing every hit to the model increases distraction and cost; that would not ensure using freshness metadata for filtering or ranking where appropriate for this workload.

Question 157

A legal research assistant must retrieve only documents from a permitted jurisdiction and avoid filling the model's context with marginally relevant hits. Which TWO search design choices directly enforce those retrieval requirements? Choose TWO.

  1. Combine lexical matching with vector retrieval in a hybrid query
  2. Measure recall, precision, or ranking quality against labeled relevance judgments
  3. Use semantic ranking over suitable text fields after retrieval
  4. Index jurisdiction as filterable metadata and apply the case-specific filter
  5. Add semantic vector retrieval and evaluate recall
  6. Tune retrieval thresholds, result count, and applicable reranking against relevance tests

Explanation

Correct Answers

D:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; a jurisdiction constraint is eligibility, not a soft relevance preference.

F:

Candidate size and relevance controls affect context precision; passing every hit to the model increases distraction and cost; bounded top results help prevent the context window from filling with marginal cases.

Incorrect Answers

A:

Keyword signals preserve precise identifiers that nearest-neighbor similarity alone can overlook; on its own this leaves jurisdiction eligibility and bounded retrieval relevance unaddressed.

B:

Information-retrieval metrics expose trade-offs more reliably than subjective inspection of one demonstration query; meeting the stated constraint still involves jurisdiction eligibility and bounded retrieval relevance.

C:

Semantic reranking examines candidate textual content and can improve ordering without replacing the candidate-generation query; that mechanism does not itself establish jurisdiction eligibility and bounded retrieval relevance.

E:

Embeddings improve recall for synonymous expressions, provided indexed chunks and the query use compatible representations; that would not ensure jurisdiction eligibility and bounded retrieval relevance for this workload.

Question 158

A product team wants to compare two retrieval configurations using a fixed evaluation collection. What should be included in the design?

  1. Define and apply a filterable jurisdiction field
  2. Measure recall, precision, or ranking quality against labeled relevance judgments
  3. Tune result count, similarity thresholds where supported, and reranking
  4. Provide meaningful textual fields in the semantic configuration

Explanation

Correct Answer

B:

Information-retrieval metrics expose trade-offs more reliably than subjective inspection of one demonstration query.

Incorrect Answers

A:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; it cannot substitute for comparing two retrieval configurations using a fixed evaluation collection under these conditions.

C:

Candidate size and relevance controls affect context precision; passing every hit to the model increases distraction and cost; meeting the stated constraint still involves comparing two retrieval configurations using a fixed evaluation collection.

D:

A text-aware reranker needs content such as titles and descriptions; numeric-only records supply little semantic evidence; that mechanism does not itself establish comparing two retrieval configurations using a fixed evaluation collection.

Question 159

A semantic ranker cannot improve a result because only numeric IDs are retrievable. Which method is the best fit?

  1. Use freshness metadata for filtering or ranking where appropriate
  2. Define and apply a filterable jurisdiction field
  3. Provide meaningful textual fields in the semantic configuration
  4. Use semantic ranking over suitable text fields after retrieval
  5. Measure recall, precision, or ranking quality against labeled relevance judgments
  6. Add semantic vector retrieval and evaluate recall

Explanation

Correct Answer

C:

A text-aware reranker needs content such as titles and descriptions; numeric-only records supply little semantic evidence.

Incorrect Answers

A:

An explicit approved-date signal can counteract obsolete but lexically popular results; hallucination controls alone cannot fix retrieval freshness; it addresses a neighboring concern, while the task tests providing meaningful textual fields in the semantic configuration.

B:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; it cannot substitute for providing meaningful textual fields in the semantic configuration under these conditions.

D:

Semantic reranking examines candidate textual content and can improve ordering without replacing the candidate-generation query; meeting the stated constraint still involves providing meaningful textual fields in the semantic configuration.

E:

Information-retrieval metrics expose trade-offs more reliably than subjective inspection of one demonstration query; that mechanism does not itself establish providing meaningful textual fields in the semantic configuration.

F:

Embeddings improve recall for synonymous expressions, provided indexed chunks and the query use compatible representations; the relevant decision is providing meaningful textual fields in the semantic configuration, not the separate action described here.

Question 160

A query needs to match a user's intent without returning thousands of marginal chunks. Which of the following would meet this need?

  1. Define and apply a filterable jurisdiction field
  2. Use freshness metadata for filtering or ranking where appropriate
  3. Add semantic vector retrieval and evaluate recall
  4. Tune result count, similarity thresholds where supported, and reranking

Explanation

Correct Answer

D:

Candidate size and relevance controls affect context precision; passing every hit to the model increases distraction and cost.

Incorrect Answers

A:

Structured filters enforce scope before ranking so jurisdictionally irrelevant documents do not become grounding evidence; the requested solution requires matching a user's intent without returning thousands of marginal chunks rather than this different mechanism.

B:

An explicit approved-date signal can counteract obsolete but lexically popular results; hallucination controls alone cannot fix retrieval freshness; it addresses a neighboring concern, while the task tests matching a user's intent without returning thousands of marginal chunks.

C:

Embeddings improve recall for synonymous expressions, provided indexed chunks and the query use compatible representations; it cannot substitute for matching a user's intent without returning thousands of marginal chunks under these conditions.

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