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

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.

Question 61

A compliance assistant must distinguish current procedures from superseded policies. What should be included in the design?

  1. Store document version identifiers and provenance on retrieved chunks
  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. Attach sensitivity and access-control metadata to indexed content

Explanation

Correct Answer

B:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force.

Incorrect Answers

A:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change; the scenario instead depends on distinguishing current procedures from superseded policies.

C:

Source deletion does not guarantee immediate disappearance from every custom index; synchronizing tombstones prevents stale retrieval; it addresses a neighboring concern, while the task tests distinguishing current procedures from superseded policies.

D:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions; it cannot substitute for distinguishing current procedures from superseded policies under these conditions.

Question 62

An operations team wants to assess whether newly ingested files were parsed successfully. How should the developer address this requirement?

  1. Redact or minimize sensitive payloads before logging
  2. Track ingestion status, failures, and source-to-index record counts
  3. Index publication/effective dates and filter or boost approved versions
  4. Store document version identifiers and provenance on retrieved chunks
  5. Attach sensitivity and access-control metadata to indexed content

Explanation

Correct Answer

B:

Operational metrics reveal missing or malformed content that a model-quality score alone would not expose.

Incorrect Answers

A:

Diagnostic data can become a secondary exposure path; trace correlation generally does not require storing unmasked source contents; the needed design choice concerns assessing whether newly ingested files were parsed successfully instead.

C:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; the requested solution requires assessing whether newly ingested files were parsed successfully rather than this different mechanism.

D:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change; it addresses a neighboring concern, while the task tests assessing whether newly ingested files were parsed successfully.

E:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions; it cannot substitute for assessing whether newly ingested files were parsed successfully under these conditions.

Question 63

A document ingestion task must avoid putting raw personal identifiers in its debug traces. How should the developer address this requirement?

  1. Implement deletion propagation from the source of truth to the search index
  2. Document residency requirements for inference, storage, and connected tools
  3. Store document version identifiers and provenance on retrieved chunks
  4. Index publication/effective dates and filter or boost approved versions
  5. Redact or minimize sensitive payloads before logging
  6. Enforce retention and deletion rules through storage, indexes, and logs

Explanation

Correct Answer

E:

Diagnostic data can become a secondary exposure path; trace correlation generally does not require storing unmasked source contents.

Incorrect Answers

A:

Source deletion does not guarantee immediate disappearance from every custom index; synchronizing tombstones prevents stale retrieval; that would not ensure avoiding putting raw personal identifiers in its debug traces for this workload.

B:

A regional model endpoint does not by itself constrain every downstream retrieval or logging service; all processing locations must be reviewed; the needed design choice concerns avoiding putting raw personal identifiers in its debug traces instead.

C:

Versioned metadata links evidence to its originating file and revision, supporting audits after documents change; the scenario instead depends on avoiding putting raw personal identifiers in its debug traces.

D:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; the requested solution requires avoiding putting raw personal identifiers in its debug traces rather than this different mechanism.

F:

Removing the primary record while retaining copies in search or telemetry undermines lifecycle requirements; all derived stores must be considered; it cannot substitute for avoiding putting raw personal identifiers in its debug traces under these conditions.

Question 64

An application is deployed in a jurisdiction with restrictions on data movement. Which configuration or component should be selected?

  1. Document residency requirements for inference, storage, and connected tools
  2. Attach sensitivity and access-control metadata to indexed content
  3. Redact or minimize sensitive payloads before logging
  4. Index publication/effective dates and filter or boost approved versions

Explanation

Correct Answer

A:

A regional model endpoint does not by itself constrain every downstream retrieval or logging service; all processing locations must be reviewed.

Incorrect Answers

B:

Metadata enables ingestion and query filtering according to document classifications rather than relying solely on prompt instructions; that would not ensure documenting residency requirements for inference, storage, and connected tools for this workload.

C:

Diagnostic data can become a secondary exposure path; trace correlation generally does not require storing unmasked source contents; the needed design choice concerns documenting residency requirements for inference, storage, and connected tools instead.

D:

Freshness and active-status metadata help prevent an older policy from outranking the policy in force; the scenario instead depends on documenting residency requirements for inference, storage, and connected tools.

Question 65

An assistant must remember a customer's preferred report format across sessions with consent. Which configuration or component should be selected?

  1. Use a durable, scoped profile or long-term memory store
  2. Expose an authenticated order-status API as a callable tool
  3. Use governed tool connections with managed authentication
  4. Maintain bounded conversation history or short-lived session memory

Explanation

Correct Answer

A:

Session chat history alone may expire; consent-aware persistent state allows controlled reuse of preferences across conversations.

Incorrect Answers

B:

A deterministic external system should supply changing operational facts; model weights are not an up-to-date transaction database; the relevant decision is remembering a customer's preferred report format across sessions with consent, not the separate action described here.

C:

Connection configuration and identity policies provide reusable, auditable access to external services while keeping secrets out of model context; that would not ensure remembering a customer's preferred report format across sessions with consent for this workload.

D:

Recent turns provide local dialogue context without indefinitely retaining unrelated personal content; the needed design choice concerns remembering a customer's preferred report format across sessions with consent instead.

Question 66

A debugging bot needs only the previous few messages to interpret follow-up questions. Which method is the best fit?

  1. Maintain bounded conversation history or short-lived session memory
  2. Partition memory and retrieval by authorized tenant and principal
  3. Use a durable, scoped profile or long-term memory store
  4. Expose an authenticated order-status API as a callable tool
  5. Use governed tool connections with managed authentication

Explanation

Correct Answer

A:

Recent turns provide local dialogue context without indefinitely retaining unrelated personal content.

Incorrect Answers

B:

Context isolation prevents cross-customer state leakage that conversation history formatting alone does not stop; that mechanism does not itself establish providing only the previous few messages to interpret follow-up questions.

C:

Session chat history alone may expire; consent-aware persistent state allows controlled reuse of preferences across conversations; the relevant decision is providing only the previous few messages to interpret follow-up questions, not the separate action described here.

D:

A deterministic external system should supply changing operational facts; model weights are not an up-to-date transaction database; that would not ensure providing only the previous few messages to interpret follow-up questions for this workload.

E:

Connection configuration and identity policies provide reusable, auditable access to external services while keeping secrets out of model context; the needed design choice concerns providing only the previous few messages to interpret follow-up questions instead.

Question 67

An agent must get current order status from an authoritative system instead of guessing. Which implementation should the team choose?

  1. Expose an authenticated order-status API as a callable tool
  2. Attach a retrieval-capable knowledge source or file-search tool
  3. Use a durable, scoped profile or long-term memory store
  4. Provide a constrained calculation tool with validated inputs

Explanation

Correct Answer

A:

A deterministic external system should supply changing operational facts; model weights are not an up-to-date transaction database.

Incorrect Answers

B:

Search returns small relevant evidence sets on demand and avoids overflowing the prompt with a complete document corpus; meeting the stated constraint still involves geting current order status from an authoritative system instead of guessing.

C:

Session chat history alone may expire; consent-aware persistent state allows controlled reuse of preferences across conversations; that mechanism does not itself establish geting current order status from an authoritative system instead of guessing.

D:

Deterministic code is preferable for exact arithmetic; unverified generated prose can invent numeric results; the relevant decision is geting current order status from an authoritative system instead of guessing, not the separate action described here.

Question 68

A product assistant must answer from thousands of approved manuals without adding all text to its prompt. What should the engineer implement?

  1. Grant read-only tool permissions and omit payment actions from its toolset
  2. Attach a retrieval-capable knowledge source or file-search tool
  3. Use governed tool connections with managed authentication
  4. Partition memory and retrieval by authorized tenant and principal

Explanation

Correct Answer

B:

Search returns small relevant evidence sets on demand and avoids overflowing the prompt with a complete document corpus.

Incorrect Answers

A:

Tool capabilities determine what side effects the agent can cause; an instruction to avoid payments is not a replacement for API authorization; it cannot substitute for answering from thousands of approved manuals without adding all text to its prompt under these conditions.

C:

Connection configuration and identity policies provide reusable, auditable access to external services while keeping secrets out of model context; meeting the stated constraint still involves answering from thousands of approved manuals without adding all text to its prompt.

D:

Context isolation prevents cross-customer state leakage that conversation history formatting alone does not stop; that mechanism does not itself establish answering from thousands of approved manuals without adding all text to its prompt.

Question 69

An agent must execute a calculation reliably, including unit conversions and rounding rules. What should be included in the design?

  1. Maintain bounded conversation history or short-lived session memory
  2. Partition memory and retrieval by authorized tenant and principal
  3. Provide a constrained calculation tool with validated inputs
  4. Use governed tool connections with managed authentication

Explanation

Correct Answer

C:

Deterministic code is preferable for exact arithmetic; unverified generated prose can invent numeric results.

Incorrect Answers

A:

Recent turns provide local dialogue context without indefinitely retaining unrelated personal content; it addresses a neighboring concern, while the task tests executing a calculation reliably, including unit conversions and rounding rules.

B:

Context isolation prevents cross-customer state leakage that conversation history formatting alone does not stop; it cannot substitute for executing a calculation reliably, including unit conversions and rounding rules under these conditions.

D:

Connection configuration and identity policies provide reusable, auditable access to external services while keeping secrets out of model context; meeting the stated constraint still involves executing a calculation reliably, including unit conversions and rounding rules.

Question 70

A shipping assistant should retain information only within a particular tenant and user context. Which design choice is most appropriate?

  1. Use governed tool connections with managed authentication
  2. Maintain bounded conversation history or short-lived session memory
  3. Use a durable, scoped profile or long-term memory store
  4. Partition memory and retrieval by authorized tenant and principal

Explanation

Correct Answer

D:

Context isolation prevents cross-customer state leakage that conversation history formatting alone does not stop.

Incorrect Answers

A:

Connection configuration and identity policies provide reusable, auditable access to external services while keeping secrets out of model context; the requested solution requires retaining information only within a particular tenant and user context rather than this different mechanism.

B:

Recent turns provide local dialogue context without indefinitely retaining unrelated personal content; it addresses a neighboring concern, while the task tests retaining information only within a particular tenant and user context.

C:

Session chat history alone may expire; consent-aware persistent state allows controlled reuse of preferences across conversations; it cannot substitute for retaining information only within a particular tenant and user context under these conditions.

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