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

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.

Question 51

Legal discovery queries contain both precise statute numbers and broad natural-language intent. Which method is the best fit?

  1. Apply authorization-aware retrieval filters before grounding
  2. Split source documents into meaningful, traceable chunks
  3. Use an indexer and skillset with integrated vectorization
  4. Combine lexical and vector retrieval in a hybrid search

Explanation

Correct Answer

D:

Hybrid search brings exact-match and semantic signals into one candidate set and can improve coverage for mixed-intent queries.

Incorrect Answers

A:

Security-trimmed search constrains candidate evidence; hiding unauthorized passages after generation is too late to prevent disclosure; the scenario instead depends on combining lexical and vector retrieval in a hybrid search.

B:

Chunk-level retrieval narrows context to relevant passages and avoids spending model context budget on unrelated sections; the requested solution requires combining lexical and vector retrieval in a hybrid search rather than this different mechanism.

C:

A supported indexer can extract, split, and embed content into vector fields, reducing bespoke ingestion orchestration; it addresses a neighboring concern, while the task tests combining lexical and vector retrieval in a hybrid search.

Question 52

A support assistant needs the most relevant excerpts near the top of a mixed retrieval result list. What should be included in the design?

  1. Apply authorization-aware retrieval filters before grounding
  2. Use an indexer and skillset with integrated vectorization
  3. Prioritize keyword retrieval for exact identifier matching
  4. Enable and tune semantic reranking on suitable textual fields

Explanation

Correct Answer

D:

The semantic ranker reorders textual candidates for relevance; it is downstream of initial retrieval rather than an ingestion engine.

Incorrect Answers

A:

Security-trimmed search constrains candidate evidence; hiding unauthorized passages after generation is too late to prevent disclosure; the needed design choice concerns providing the most relevant excerpts near the top of a mixed retrieval result list instead.

B:

A supported indexer can extract, split, and embed content into vector fields, reducing bespoke ingestion orchestration; the scenario instead depends on providing the most relevant excerpts near the top of a mixed retrieval result list.

C:

Lexical matching retains literal part codes that embeddings may blur, making it suitable for exact product identifier constraints; the requested solution requires providing the most relevant excerpts near the top of a mixed retrieval result list rather than this different mechanism.

Question 53

A knowledge repository contains large multi-section manuals and retrieval returns entire books. Which action directly produces the required outcome?

  1. Split source documents into meaningful, traceable chunks
  2. Prioritize keyword retrieval for exact identifier matching
  3. Apply authorization-aware retrieval filters before grounding
  4. Use semantic vector retrieval over appropriately chunked text

Explanation

Correct Answer

A:

Chunk-level retrieval narrows context to relevant passages and avoids spending model context budget on unrelated sections.

Incorrect Answers

B:

Lexical matching retains literal part codes that embeddings may blur, making it suitable for exact product identifier constraints; the needed design choice concerns spliting source documents into meaningful, traceable chunks instead.

C:

Security-trimmed search constrains candidate evidence; hiding unauthorized passages after generation is too late to prevent disclosure; the scenario instead depends on spliting source documents into meaningful, traceable chunks.

D:

Embedding similarity can surface conceptually related passages when query vocabulary differs from the source wording; the requested solution requires spliting source documents into meaningful, traceable chunks rather than this different mechanism.

Question 54

A maintenance assistant must find an exact part number in a knowledge index shared by several departments; results from other departments must never appear in model context. Which TWO retrieval controls satisfy both constraints? Choose TWO.

  1. Security-trim candidates using the requesting employee’s department authorization
  2. Combine lexical and vector retrieval in a hybrid search
  3. Use literal matching for exact part numbers rather than relying solely on vector distance
  4. Enable and tune semantic reranking on suitable textual fields
  5. Split source documents into meaningful, traceable chunks

Explanation

Correct Answers

A:

Security-trimmed search constrains candidate evidence; hiding unauthorized passages after generation is too late to prevent disclosure; the department boundary must be enforced before any text reaches the model.

C:

Lexical matching retains literal part codes that embeddings may blur, making it suitable for exact product identifier constraints; literal part-code equality matters more than approximate semantic closeness.

Incorrect Answers

B:

Hybrid search brings exact-match and semantic signals into one candidate set and can improve coverage for mixed-intent queries; that would not ensure department authorization together with literal part-code matching for this workload.

D:

The semantic ranker reorders textual candidates for relevance; it is downstream of initial retrieval rather than an ingestion engine; the scenario instead depends on department authorization together with literal part-code matching.

E:

Chunk-level retrieval narrows context to relevant passages and avoids spending model context budget on unrelated sections; the requested solution requires department authorization together with literal part-code matching rather than this different mechanism.

Question 55

An enterprise index needs embeddings whenever new blobs arrive without custom app-side chunking code. Which of the following would meet this need?

  1. Push externally generated vectors and metadata into an index
  2. Enable and tune semantic reranking on suitable textual fields
  3. Use an indexer and skillset with integrated vectorization
  4. Combine lexical and vector retrieval in a hybrid search

Explanation

Correct Answer

C:

A supported indexer can extract, split, and embed content into vector fields, reducing bespoke ingestion orchestration.

Incorrect Answers

A:

Client-side vector preparation is viable when the organization needs bespoke transformations; the index still needs compatible vector field configuration; that mechanism does not itself establish providing embeddings whenever new blobs arrive without custom app-side chunking code.

B:

The semantic ranker reorders textual candidates for relevance; it is downstream of initial retrieval rather than an ingestion engine; the relevant decision is providing embeddings whenever new blobs arrive without custom app-side chunking code, not the separate action described here.

D:

Hybrid search brings exact-match and semantic signals into one candidate set and can improve coverage for mixed-intent queries; the needed design choice concerns providing embeddings whenever new blobs arrive without custom app-side chunking code instead.

Question 56

A team wants complete control over a custom preprocessing and embedding workflow outside the search indexer. Which configuration or component should be selected?

  1. Enable and tune semantic reranking on suitable textual fields
  2. Push externally generated vectors and metadata into an index
  3. Prioritize keyword retrieval for exact identifier matching
  4. Combine lexical and vector retrieval in a hybrid search
  5. Use an indexer and skillset with integrated vectorization

Explanation

Correct Answer

B:

Client-side vector preparation is viable when the organization needs bespoke transformations; the index still needs compatible vector field configuration.

Incorrect Answers

A:

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 pushing externally generated vectors and metadata into an index.

C:

Lexical matching retains literal part codes that embeddings may blur, making it suitable for exact product identifier constraints; the relevant decision is pushing externally generated vectors and metadata into an index, not the separate action described here.

D:

Hybrid search brings exact-match and semantic signals into one candidate set and can improve coverage for mixed-intent queries; that would not ensure pushing externally generated vectors and metadata into an index for this workload.

E:

A supported indexer can extract, split, and embed content into vector fields, reducing bespoke ingestion orchestration; the needed design choice concerns pushing externally generated vectors and metadata into an index instead.

Question 57

A retrieval pipeline must remove records after source documents are deleted. What solution would satisfy this constraint?

  1. Index publication/effective dates and filter or boost approved versions
  2. Implement deletion propagation from the source of truth to the search index
  3. Redact or minimize sensitive payloads before logging
  4. Attach sensitivity and access-control metadata to indexed content

Explanation

Correct Answer

B:

Source deletion does not guarantee immediate disappearance from every custom index; synchronizing tombstones prevents stale retrieval.

Incorrect Answers

A:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; on its own this leaves removing records after source documents are deleted unaddressed.

C:

Diagnostic data can become a secondary exposure path; trace correlation generally does not require storing unmasked source contents; that mechanism does not itself establish removing records after source documents are deleted.

D:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions; the relevant decision is removing records after source documents are deleted, not the separate action described here.

Question 58

A legal team needs to identify which document revision supported each agent answer. What should the engineer implement?

  1. Track ingestion status, failures, and source-to-index record counts
  2. Index publication/effective dates and filter or boost approved versions
  3. Implement deletion propagation from the source of truth to the search index
  4. Store document version identifiers and provenance on retrieved chunks

Explanation

Correct Answer

D:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change.

Incorrect Answers

A:

Operational metrics reveal missing or malformed content that a model-quality score alone would not expose; it cannot substitute for identifying which document revision supported each agent answer under these conditions.

B:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; on its own this leaves identifying which document revision supported each agent answer unaddressed.

C:

Source deletion does not guarantee immediate disappearance from every custom index; synchronizing tombstones prevents stale retrieval; meeting the stated constraint still involves identifying which document revision supported each agent answer.

Question 59

A knowledge pipeline ingests employee records that are subject to retention limits. Which approach best meets the requirement?

  1. Index publication/effective dates and filter or boost approved versions
  2. Enforce retention and deletion rules through storage, indexes, and logs
  3. Store document version identifiers and provenance on retrieved chunks
  4. Attach sensitivity and access-control metadata to indexed content

Explanation

Correct Answer

B:

Removing the primary record while retaining copies in search or telemetry undermines lifecycle requirements; all derived stores must be considered.

Incorrect Answers

A:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; it addresses a neighboring concern, while the task tests enforcing retention and deletion rules through storage, indexes, and logs.

C:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change; on its own this leaves enforcing retention and deletion rules through storage, indexes, and logs unaddressed.

D:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions; meeting the stated constraint still involves enforcing retention and deletion rules through storage, indexes, and logs.

Question 60

A retrieval system serves documents in multiple classifications. Which configuration or component should be selected?

  1. Implement deletion propagation from the source of truth to the search index
  2. Attach sensitivity and access-control metadata to indexed content
  3. Document residency requirements for inference, storage, and connected tools
  4. Store document version identifiers and provenance on retrieved chunks

Explanation

Correct Answer

B:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions.

Incorrect Answers

A:

Source deletion does not guarantee immediate disappearance from every custom index; synchronizing tombstones prevents stale retrieval; the requested solution requires attaching sensitivity and access-control metadata to indexed content rather than this different mechanism.

C:

A regional model endpoint does not by itself constrain every downstream retrieval or logging service; all processing locations must be reviewed; it cannot substitute for attaching sensitivity and access-control metadata to indexed content under these conditions.

D:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change; on its own this leaves attaching sensitivity and access-control metadata to indexed content unaddressed.

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