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

Question 630

A translation pipeline must preserve redaction placeholders without revealing original values. Which configuration or component should be selected?

  1. Combine pattern checks with contextual PII recognition and review
  2. Maintain sampled labeled false-negative tests and targeted alerting
  3. Tokenize protected spans and safely restore only authorized placeholders
  4. Run sensitive-data filtering on generated responses
  5. Use access-controlled processing and identity-aware retrieval

Explanation

Correct Answer

C:

Masking before translation avoids sending sensitive text unnecessarily and protects placeholder integrity.

Incorrect Answers

A:

Bare numeric patterns can over-redact unrelated data; context improves precision while retaining sensitive-data controls; the requested solution requires preserving redaction placeholders without revealing original values rather than this different mechanism.

B:

PII recall must be assessed on realistic formats; a nominal detector deployment is not evidence of complete protection; it addresses a neighboring concern, while the task tests preserving redaction placeholders without revealing original values.

D:

Output inspection provides a second boundary when sensitive values enter context through legitimate processing; on its own this leaves preserving redaction placeholders without revealing original values unaddressed.

E:

Entity recognition may identify names, but only authorization determines who is allowed to view the documents; meeting the stated constraint still involves preserving redaction placeholders without revealing original values.

Question 631

A model detects an employee's full name but the user wants an anonymous trend report. Which action directly produces the required outcome?

  1. Detect and mask payment identifiers before storage or model reuse
  2. Use access-controlled processing and identity-aware retrieval
  3. Run sensitive-data filtering on generated responses
  4. Aggregate or anonymize extracted entities before reporting

Explanation

Correct Answer

D:

The analytic task rarely needs identifiable rows; de-identification limits the data retained for aggregate insights.

Incorrect Answers

A:

Sensitive-value recognition and redaction reduce unnecessary disclosure through logs and later prompts; the scenario instead depends on aggregating or anonymize extracted entities before reporting.

B:

Entity recognition may identify names, but only authorization determines who is allowed to view the documents; the requested solution requires aggregating or anonymize extracted entities before reporting rather than this different mechanism.

C:

Output inspection provides a second boundary when sensitive values enter context through legitimate processing; it addresses a neighboring concern, while the task tests aggregating or anonymize extracted entities before reporting.

Question 632

An employee-record analysis service must protect document visibility by user role. Its sensitive-information detector also needs ongoing testing for missed private identifiers, rather than relying only on aggregate precision. Which TWO controls directly address authorization and false negatives? Choose TWO.

  1. Restrict sensitive document retrieval to the signed-in employee’s permissions
  2. Combine pattern checks with contextual PII recognition and review
  3. Periodically test labeled PII false negatives and alert on regressions
  4. Run input content-safety classification against policy categories
  5. Tokenize protected spans and safely restore only authorized placeholders

Explanation

Correct Answers

A:

Entity recognition may identify names, but only authorization determines who is allowed to view the documents; the analysis pipeline must not broaden an employee’s access to protected records.

C:

PII recall must be assessed on realistic formats; a nominal detector deployment is not evidence of complete protection; missed identifiers require targeted test cases rather than precision alone.

Incorrect Answers

B:

Bare numeric patterns can over-redact unrelated data; context improves precision while retaining sensitive-data controls; the scenario instead depends on identity-scoped access and repeated testing for missed private data.

D:

Threat moderation concerns risk in message content and should not be confused with sentiment or topic classification; it addresses a neighboring concern, while the task tests identity-scoped access and repeated testing for missed private data.

E:

Masking before translation avoids sending sensitive text unnecessarily and protects placeholder integrity; it cannot substitute for identity-scoped access and repeated testing for missed private data under these conditions.

Question 633

A model must turn complaint emails into JSON containing category, order ID, and requested action. Which configuration or component should be selected?

  1. Enforce cross-field business validation after parsing
  2. Normalize and deduplicate extracted values before persistence
  3. Use schema-constrained extraction with typed required properties
  4. Specify numeric schema types and reject incompatible outputs
  5. Include evidence references and field provenance in the extraction contract

Explanation

Correct Answer

C:

Explicit field contracts let downstream services parse outputs; a natural-language summary does not satisfy the API interface.

Incorrect Answers

A:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules; that would not ensure turning complaint emails into JSON containing category, order ID, and requested action for this workload.

B:

Case and formatting variation can yield duplicate records even when the model captures each mention correctly; the needed design choice concerns turning complaint emails into JSON containing category, order ID, and requested action instead.

D:

Strong typing prevents downstream code from silently treating digits in quotes as validated measurements; the requested solution requires turning complaint emails into JSON containing category, order ID, and requested action rather than this different mechanism.

E:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible; it addresses a neighboring concern, while the task tests turning complaint emails into JSON containing category, order ID, and requested action.

Question 634

A generated JSON string parses but contains a delivery date earlier than the order date. Which action directly produces the required outcome?

  1. Include evidence references and field provenance in the extraction contract
  2. Permit null for unobserved values and verify source support
  3. Normalize and deduplicate extracted values before persistence
  4. Enforce cross-field business validation after parsing

Explanation

Correct Answer

D:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules.

Incorrect Answers

A:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible; the relevant decision is enforcing cross-field business validation after parsing, not the separate action described here.

B:

A valid schema must allow uncertainty so the model does not fabricate missing personal data; that would not ensure enforcing cross-field business validation after parsing for this workload.

C:

Case and formatting variation can yield duplicate records even when the model captures each mention correctly; the needed design choice concerns enforcing cross-field business validation after parsing instead.

Question 635

A classifier uses numeric risk scores but sometimes writes them as strings. Which configuration or component should be selected?

  1. Normalize and deduplicate extracted values before persistence
  2. Include evidence references and field provenance in the extraction contract
  3. Specify numeric schema types and reject incompatible outputs
  4. Use schema-constrained extraction with typed required properties

Explanation

Correct Answer

C:

Strong typing prevents downstream code from silently treating digits in quotes as validated measurements.

Incorrect Answers

A:

Case and formatting variation can yield duplicate records even when the model captures each mention correctly; that mechanism does not itself establish specifying numeric schema types and reject incompatible outputs.

B:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible; the relevant decision is specifying numeric schema types and reject incompatible outputs, not the separate action described here.

D:

Explicit field contracts let downstream services parse outputs; a natural-language summary does not satisfy the API interface; the needed design choice concerns specifying numeric schema types and reject incompatible outputs instead.

Question 636

An extractor fills absent addresses with plausible examples learned from similar records. What is the most suitable next implementation decision?

  1. Include evidence references and field provenance in the extraction contract
  2. Permit null for unobserved values and verify source support
  3. Use schema-constrained extraction with typed required properties
  4. Enforce cross-field business validation after parsing

Explanation

Correct Answer

B:

A valid schema must allow uncertainty so the model does not fabricate missing personal data.

Incorrect Answers

A:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible; meeting the stated constraint still involves permiting null for unobserved values and verify source support.

C:

Explicit field contracts let downstream services parse outputs; a natural-language summary does not satisfy the API interface; the relevant decision is permiting null for unobserved values and verify source support, not the separate action described here.

D:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules; that would not ensure permiting null for unobserved values and verify source support for this workload.

Question 637

A multilingual parser must produce the same English field names regardless of input language. Which method is the best fit?

  1. Use a structured response mode rather than relying only on textual instructions
  2. Use schema-constrained extraction with typed required properties
  3. Fix output keys in the response schema and localize only values where required
  4. Specify numeric schema types and reject incompatible outputs

Explanation

Correct Answer

C:

Stable machine-readable property names decouple business integrations from the language of the source message.

Incorrect Answers

A:

Machine-enforced response shapes reduce non-JSON wrappers that disrupt strict consumers; on its own this leaves producing the same English field names regardless of input language unaddressed.

B:

Explicit field contracts let downstream services parse outputs; a natural-language summary does not satisfy the API interface; meeting the stated constraint still involves producing the same English field names regardless of input language.

D:

Strong typing prevents downstream code from silently treating digits in quotes as validated measurements; the relevant decision is producing the same English field names regardless of input language, not the separate action described here.

Question 638

A list of entities has duplicate entries under different capitalization. Which of the following would meet this need?

  1. Fix output keys in the response schema and localize only values where required
  2. Normalize and deduplicate extracted values before persistence
  3. Use a structured response mode rather than relying only on textual instructions
  4. Enforce cross-field business validation after parsing
  5. Include evidence references and field provenance in the extraction contract

Explanation

Correct Answer

B:

Case and formatting variation can yield duplicate records even when the model captures each mention correctly.

Incorrect Answers

A:

Stable machine-readable property names decouple business integrations from the language of the source message; it cannot substitute for normalizing and deduplicate extracted values before persistence under these conditions.

C:

Machine-enforced response shapes reduce non-JSON wrappers that disrupt strict consumers; meeting the stated constraint still involves normalizing and deduplicate extracted values before persistence.

D:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules; that mechanism does not itself establish normalizing and deduplicate extracted values before persistence.

E:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible; the relevant decision is normalizing and deduplicate extracted values before persistence, not the separate action described here.

Question 639

A generated extraction has correct fields but includes prose before the opening JSON brace. Which configuration or component should be selected?

  1. Enforce cross-field business validation after parsing
  2. Permit null for unobserved values and verify source support
  3. Use schema-constrained extraction with typed required properties
  4. Use a structured response mode rather than relying only on textual instructions

Explanation

Correct Answer

D:

Machine-enforced response shapes reduce non-JSON wrappers that disrupt strict consumers.

Incorrect Answers

A:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules; it addresses a neighboring concern, while the task tests using a structured response mode rather than relying only on textual instructions.

B:

A valid schema must allow uncertainty so the model does not fabricate missing personal data; it cannot substitute for using a structured response mode rather than relying only on textual instructions under these conditions.

C:

Explicit field contracts let downstream services parse outputs; a natural-language summary does not satisfy the API interface; on its own this leaves using a structured response mode rather than relying only on textual instructions unaddressed.

Question 640

A team needs to determine whether each extracted field came from source text or model inference. Which method is the best fit?

  1. Specify numeric schema types and reject incompatible outputs
  2. Permit null for unobserved values and verify source support
  3. Include evidence references and field provenance in the extraction contract
  4. Use a structured response mode rather than relying only on textual instructions
  5. Enforce cross-field business validation after parsing

Explanation

Correct Answer

C:

Provenance helps distinguish observed facts from inferred annotations and makes uncertainty review possible.

Incorrect Answers

A:

Strong typing prevents downstream code from silently treating digits in quotes as validated measurements; the requested solution requires determining whether each extracted field came from source text or model inference rather than this different mechanism.

B:

A valid schema must allow uncertainty so the model does not fabricate missing personal data; it addresses a neighboring concern, while the task tests determining whether each extracted field came from source text or model inference.

D:

Machine-enforced response shapes reduce non-JSON wrappers that disrupt strict consumers; on its own this leaves determining whether each extracted field came from source text or model inference unaddressed.

E:

Syntactic JSON validity does not ensure that the extracted values satisfy domain chronology rules; meeting the stated constraint still involves determining whether each extracted field came from source text or model inference.

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