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

Question 720

A team needs to compare embedding models without corrupting its existing production search relevance. What is the most suitable next implementation decision?

  1. Use compatible embedding representations for indexed content and queries
  2. Configure an appropriate HNSW vector search algorithm
  3. Build separate compatible vector fields or indexes and evaluate them
  4. Use appropriate multimodal image embeddings in the vector index

Explanation

Correct Answer

C:

Versioned embeddings permit controlled comparisons; mixing incompatible representations inside one field makes similarity scores unreliable.

Incorrect Answers

A:

Vector similarity is meaningful only when both sides use the same intended embedding space and dimensionality; the requested solution requires comparing embedding models without corrupting its existing production search relevance rather than this different mechanism.

B:

Graph-based approximate nearest-neighbor indexing improves query efficiency, though recall and resource use need tuning; it addresses a neighboring concern, while the task tests comparing embedding models without corrupting its existing production search relevance.

D:

Visual feature vectors represent image content for similarity search; text tokenization alone cannot compare pixel-level concepts; on its own this leaves comparing embedding models without corrupting its existing production search relevance unaddressed.

Question 721

An employee searches for both a specific policy code and a paraphrased description of its contents. Which design choice is most appropriate?

  1. Apply source-status filters before or alongside retrieval and reranking
  2. Interpret the two scores according to their distinct ranking stages
  3. Inspect text recall and fusion weighting rather than adjusting the generative prompt
  4. Tune top-k retrieval and semantic reranking depth on labeled queries
  5. Apply semantic reranking to appropriate text-rich candidates
  6. Send a hybrid query combining keyword text and vector similarity

Explanation

Correct Answer

F:

Hybrid retrieval captures literal identifiers and conceptual matches within one candidate-fusion workflow.

Incorrect Answers

A:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; the scenario instead depends on sending a hybrid query combining keyword text and vector similarity.

B:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly; the requested solution requires sending a hybrid query combining keyword text and vector similarity rather than this different mechanism.

C:

The search-stage candidate combination determines which lexical hits survive, before any model sees the context; it addresses a neighboring concern, while the task tests sending a hybrid query combining keyword text and vector similarity.

D:

Candidate volume affects precision, context use, and latency; retrieval quality must be measured at the intended result count; it cannot substitute for sending a hybrid query combining keyword text and vector similarity under these conditions.

E:

A semantic ranker examines candidate fields and reorders them, rather than crawling new source documents; on its own this leaves sending a hybrid query combining keyword text and vector similarity unaddressed.

Question 722

A search request runs vector and text branches and must combine their ordered results. Which approach best meets the requirement?

  1. Inspect text recall and fusion weighting rather than adjusting the generative prompt
  2. Interpret the two scores according to their distinct ranking stages
  3. Use reciprocal rank fusion for the hybrid candidate ranking
  4. Apply semantic reranking to appropriate text-rich candidates

Explanation

Correct Answer

C:

RRF combines rank positions from multiple retrieval lists rather than directly adding incomparable raw similarity scores.

Incorrect Answers

A:

The search-stage candidate combination determines which lexical hits survive, before any model sees the context; the needed design choice concerns combining their ordered results instead.

B:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly; the scenario instead depends on combining their ordered results.

D:

A semantic ranker examines candidate fields and reorders them, rather than crawling new source documents; it addresses a neighboring concern, while the task tests combining their ordered results.

Question 723

A knowledge assistant has relevant initial search hits but their ordering is weak. What solution would satisfy this constraint?

  1. Inspect text recall and fusion weighting rather than adjusting the generative prompt
  2. Use reciprocal rank fusion for the hybrid candidate ranking
  3. Apply source-status filters before or alongside retrieval and reranking
  4. Send a hybrid query combining keyword text and vector similarity
  5. Apply semantic reranking to appropriate text-rich candidates

Explanation

Correct Answer

E:

A semantic ranker examines candidate fields and reorders them, rather than crawling new source documents.

Incorrect Answers

A:

The search-stage candidate combination determines which lexical hits survive, before any model sees the context; that would not ensure applying semantic reranking to appropriate text-rich candidates for this workload.

B:

RRF combines rank positions from multiple retrieval lists rather than directly adding incomparable raw similarity scores; the needed design choice concerns applying semantic reranking to appropriate text-rich candidates instead.

C:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; the scenario instead depends on applying semantic reranking to appropriate text-rich candidates.

D:

Hybrid retrieval captures literal identifiers and conceptual matches within one candidate-fusion workflow; the requested solution requires applying semantic reranking to appropriate text-rich candidates rather than this different mechanism.

Question 724

A query uses precise error codes where approximate semantic matches are less useful. Which method is the best fit?

  1. Retain an explicit lexical retrieval signal in the search request
  2. Interpret the two scores according to their distinct ranking stages
  3. Tune top-k retrieval and semantic reranking depth on labeled queries
  4. Apply source-status filters before or alongside retrieval and reranking

Explanation

Correct Answer

A:

Keyword matching protects exact strings that pure vector similarity may underweight.

Incorrect Answers

B:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly; that would not ensure retaining an explicit lexical retrieval signal in the search request for this workload.

C:

Candidate volume affects precision, context use, and latency; retrieval quality must be measured at the intended result count; the needed design choice concerns retaining an explicit lexical retrieval signal in the search request instead.

D:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; the scenario instead depends on retaining an explicit lexical retrieval signal in the search request.

Question 725

A search application needs to select the best ten evidence chunks rather than return a very large hybrid set. Which method is the best fit?

  1. Apply source-status filters before or alongside retrieval and reranking
  2. Tune top-k retrieval and semantic reranking depth on labeled queries
  3. Send a hybrid query combining keyword text and vector similarity
  4. Retain an explicit lexical retrieval signal in the search request

Explanation

Correct Answer

B:

Candidate volume affects precision, context use, and latency; retrieval quality must be measured at the intended result count.

Incorrect Answers

A:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; that mechanism does not itself establish selecting the best ten evidence chunks rather than return a very large hybrid set.

C:

Hybrid retrieval captures literal identifiers and conceptual matches within one candidate-fusion workflow; that would not ensure selecting the best ten evidence chunks rather than return a very large hybrid set for this workload.

D:

Keyword matching protects exact strings that pure vector similarity may underweight; the needed design choice concerns selecting the best ten evidence chunks rather than return a very large hybrid set instead.

Question 726

A team treats the vector cosine similarity score and semantic reranker score as identical units. Which action directly produces the required outcome?

  1. Tune top-k retrieval and semantic reranking depth on labeled queries
  2. Apply source-status filters before or alongside retrieval and reranking
  3. Interpret the two scores according to their distinct ranking stages
  4. Retain an explicit lexical retrieval signal in the search request
  5. Apply semantic reranking to appropriate text-rich candidates

Explanation

Correct Answer

C:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly.

Incorrect Answers

A:

Candidate volume affects precision, context use, and latency; retrieval quality must be measured at the intended result count; meeting the stated constraint still involves interpreting the two scores according to their distinct ranking stages.

B:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; that mechanism does not itself establish interpreting the two scores according to their distinct ranking stages.

D:

Keyword matching protects exact strings that pure vector similarity may underweight; that would not ensure interpreting the two scores according to their distinct ranking stages for this workload.

E:

A semantic ranker examines candidate fields and reorders them, rather than crawling new source documents; the needed design choice concerns interpreting the two scores according to their distinct ranking stages instead.

Question 727

A hybrid query returns fewer exact-match hits after a configuration change. Which method is the best fit?

  1. Apply source-status filters before or alongside retrieval and reranking
  2. Interpret the two scores according to their distinct ranking stages
  3. Inspect text recall and fusion weighting rather than adjusting the generative prompt
  4. Retain an explicit lexical retrieval signal in the search request

Explanation

Correct Answer

C:

The search-stage candidate combination determines which lexical hits survive, before any model sees the context.

Incorrect Answers

A:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence; on its own this leaves inspecting text recall and fusion weighting rather than adjusting the generative prompt unaddressed.

B:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly; meeting the stated constraint still involves inspecting text recall and fusion weighting rather than adjusting the generative prompt.

D:

Keyword matching protects exact strings that pure vector similarity may underweight; the relevant decision is inspecting text recall and fusion weighting rather than adjusting the generative prompt, not the separate action described here.

Question 728

A compliance assistant must rank relevant results only among active documents. Which of the following would meet this need?

  1. Tune top-k retrieval and semantic reranking depth on labeled queries
  2. Send a hybrid query combining keyword text and vector similarity
  3. Interpret the two scores according to their distinct ranking stages
  4. Apply source-status filters before or alongside retrieval and reranking

Explanation

Correct Answer

D:

Relevance scoring should not resurrect expired or unauthorized records that are ineligible as evidence.

Incorrect Answers

A:

Candidate volume affects precision, context use, and latency; retrieval quality must be measured at the intended result count; it cannot substitute for ranking relevant results only among active documents under these conditions.

B:

Hybrid retrieval captures literal identifiers and conceptual matches within one candidate-fusion workflow; on its own this leaves ranking relevant results only among active documents unaddressed.

C:

Vector distance and semantic relevance represent different algorithms and scales; raw thresholds should not be transferred blindly; meeting the stated constraint still involves ranking relevant results only among active documents.

Question 729

An employee can query a search index but must not see confidential records from another department. Which action directly produces the required outcome?

  1. Propagate parent ACL fields to every searchable chunk
  2. Include mandatory tenant filtering in every authorized query
  3. Apply department ACL filters derived from the authenticated user
  4. Delete its index chunks and verify removal across replicas and caches

Explanation

Correct Answer

C:

Security trimming must constrain the data returned by the search service before content is exposed to the model.

Incorrect Answers

A:

Chunk-level search results must retain security context; a parent record's protection is ineffective if derived chunks are exposed; it addresses a neighboring concern, while the task tests noting see confidential records from another department.

B:

Tenant boundaries must be applied by trusted code so a caller cannot remove them through a crafted prompt; it cannot substitute for noting see confidential records from another department under these conditions.

D:

Index lifecycle and cached answers require explicit handling; removing the original file alone may leave derived copies; meeting the stated constraint still involves noting see confidential records from another department.

Question 730

A public web search portal should show only published documents, not drafts. Which action directly produces the required outcome?

  1. Filter on an approved publication-status field
  2. Include mandatory tenant filtering in every authorized query
  3. Control retrievable field selection and enforce authorization separately
  4. Use a typed date filter with defined start and end bounds
  5. Propagate parent ACL fields to every searchable chunk
  6. Delete its index chunks and verify removal across replicas and caches

Explanation

Correct Answer

A:

Publication state is an eligibility rule separate from relevance ranking; a prompt instruction cannot enforce it securely.

Incorrect Answers

B:

Tenant boundaries must be applied by trusted code so a caller cannot remove them through a crafted prompt; it addresses a neighboring concern, while the task tests showing only published documents, not drafts.

C:

Field projection limits response data but is not a replacement for document-level access filters; it cannot substitute for showing only published documents, not drafts under these conditions.

D:

Structured range filters constrain records accurately; natural-language date descriptions may be ambiguous; on its own this leaves showing only published documents, not drafts unaddressed.

E:

Chunk-level search results must retain security context; a parent record's protection is ineffective if derived chunks are exposed; meeting the stated constraint still involves showing only published documents, not drafts.

F:

Index lifecycle and cached answers require explicit handling; removing the original file alone may leave derived copies; that mechanism does not itself establish showing only published documents, not drafts.

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