100% Latest & Updated Microsoft AI-103 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 190
A logistics company consumes generated structured data in Python. An output can legitimately have no estimated arrival date. What should the engineering team implement?
- Add bounded schema-aware repair or retry handling
- Transform the returned data with a verified unit conversion before answering
- Represent the missing value with an explicit nullable field
- Check referenced identifiers against the authoritative catalog
Explanation
Correct Answer
C:Nullability distinguishes absent information from fabricated dates.
Incorrect Answers
A:Validating parse failures protects the application from corrupted outputs. Nullability distinguishes absent information from fabricated dates.
B:Post-tool normalization ensures the response matches requested units; nullability distinguishes absent information from fabricated dates.
D:Semantic entity validation is separate from JSON syntax validation. Nullability distinguishes absent information from fabricated dates.
Question 191
A logistics company consumes generated structured data in Python. A generated JSON field contains the text "five" where the Python contract requires a number. For example, the payload {"quantity": "five"} parses as JSON but cannot be safely multiplied as the required integer. Which implementation best satisfies the requirement?
- Store the text "five" in a numeric database field without type checking
- Reject or explicitly coerce the invalid field with documented schema-aware type validation
- Check referenced identifiers against the authoritative catalog
- Assume a syntactically valid JSON object always has correctly typed values
Explanation
Correct Answer
B:JSON syntax can be valid while a field has the wrong semantic type; typed application validation must handle the mismatch before business use. Verify the documented behavior on the configured service and preserve relevant authorization controls.
Incorrect Answers
A:Bypassing downstream type checks can break arithmetic or lead to silent data corruption. That choice is not sufficient for the scenario: a generated JSON field contains the text "five" where the Python contract requires a number; jSON syntax can be valid while a field has the wrong semantic type; typed application validation must handle the mismatch before business use.
C:Semantic entity validation is separate from JSON syntax validation. This may address a related workflow, but it does not implement reject or explicitly coerce the invalid field with documented schema-aware type validation for the requirement that a generated JSON field contains the text "five" where the Python contract requires a number.
D:A JSON document can parse successfully even if a required number is represented by an unsuitable text value. That choice is not sufficient for the scenario: a generated JSON field contains the text "five" where the Python contract requires a number, but jSON syntax can be valid while a field has the wrong semantic type; typed application validation must handle the mismatch before business use.
Question 192
A logistics company consumes generated structured data in Python. An agent sends a valid JSON object with a nonexistent item ID. Which approach best fits the requirement?
- Represent the missing value with an explicit nullable field
- Check referenced identifiers against the authoritative catalog
- Define and validate a strict structured response shape
- Include clear handling rules and examples for literal identifiers
Explanation
Correct Answer
B:Semantic entity validation is separate from JSON syntax validation.
Incorrect Answers
A:Nullability distinguishes absent information from fabricated dates, whereas semantic entity validation is separate from JSON syntax validation.
C:Structured contracts reduce field-name drift and downstream parsing errors, but semantic entity validation is separate from JSON syntax validation.
D:Focused examples can demonstrate precise format preservation. Semantic entity validation is separate from JSON syntax validation.
Question 193
A compliance RAG application ingests documents supplied by outside contractors. A PDF passage orders the model to delete unrelated database records. Which approach best satisfies the stated requirement?
- Enforce the application's instruction and tool authorization hierarchy
- Quote it as inert evidence without executing its requested actions
- Treat retrieved PDF text as untrusted and reject operational instructions
- Apply document-attack detection and isolate data from tool commands
Explanation
Correct Answer
C:Indirect prompt injection attempts to make lower-trust source material control behavior.
Incorrect Answers
A:Direct requests cannot grant privileges forbidden by higher-priority policy. Indirect prompt injection attempts to make lower-trust source material control behavior.
B:Analysis of an attack string is different from obeying it, but indirect prompt injection attempts to make lower-trust source material control behavior.
D:Detection and boundary controls reduce the risk of hidden instruction execution; indirect prompt injection attempts to make lower-trust source material control behavior.
Question 194
A compliance RAG application ingests documents supplied by outside contractors. A direct user command requests bypassing a system-set tool restriction. What should the engineering team implement?
- Enforce the application's instruction and tool authorization hierarchy
- Quote it as inert evidence without executing its requested actions
- Test prompt grounding and citation compliance using warning-specific examples
- Treat retrieved PDF text as untrusted and reject operational instructions
Explanation
Correct Answer
A:Direct requests cannot grant privileges forbidden by higher-priority policy.
Incorrect Answers
B:Analysis of an attack string is different from obeying it. Direct requests cannot grant privileges forbidden by higher-priority policy.
C:Generation failure can persist even when retrieval returns correct evidence; direct requests cannot grant privileges forbidden by higher-priority policy.
D:Indirect prompt injection attempts to make lower-trust source material control behavior, whereas direct requests cannot grant privileges forbidden by higher-priority policy.
Question 195
A compliance RAG application ingests documents supplied by outside contractors. A malicious document hides instructions among ordinary numbered requirements. Which implementation best satisfies the requirement?
- Test prompt grounding and citation compliance using warning-specific examples
- Apply document-attack detection and isolate data from tool commands
- Treat retrieved PDF text as untrusted and reject operational instructions
- Enforce the application's instruction and tool authorization hierarchy
Explanation
Correct Answer
B:Detection and boundary controls reduce the risk of hidden instruction execution.
Incorrect Answers
A:Generation failure can persist even when retrieval returns correct evidence. Detection and boundary controls reduce the risk of hidden instruction execution.
C:Indirect prompt injection attempts to make lower-trust source material control behavior, whereas detection and boundary controls reduce the risk of hidden instruction execution.
D:Direct requests cannot grant privileges forbidden by higher-priority policy. Detection and boundary controls reduce the risk of hidden instruction execution.
Question 196
A compliance RAG application ingests documents supplied by outside contractors. The assistant must quote the malicious text for a forensic review. Which approach best fits the requirement?
- Quote it as inert evidence without executing its requested actions
- Apply document-attack detection and isolate data from tool commands
- Enforce the application's instruction and tool authorization hierarchy
- Preserve literal product filters in the retrieval request
Explanation
Correct Answer
A:Analysis of an attack string is different from obeying it.
Incorrect Answers
B:Detection and boundary controls reduce the risk of hidden instruction execution, whereas analysis of an attack string is different from obeying it.
C:Direct requests cannot grant privileges forbidden by higher-priority policy. Analysis of an attack string is different from obeying it.
D:Structured identifiers need exact-match conditions even when semantic retrieval is used, but analysis of an attack string is different from obeying it.
Question 197
A marketing assistant will draft customer-facing campaigns. The generated copy includes disallowed hateful material. Which approach best satisfies the stated requirement?
- Review false positives against labeled test cases and tune policy thresholds
- Check protected-material risks and use authorized summaries rather than copying
- Add PII detection and redaction or safe handling policies
- Apply content-harm filters at a calibrated severity threshold
Explanation
Correct Answer
D:Output moderation can block category-specific harmful content.
Incorrect Answers
A:Safety tuning must protect the boundary without unnecessarily blocking compliant text, whereas output moderation can block category-specific harmful content.
B:Protected-text controls handle reproduction risk separate from toxicity filters. Output moderation can block category-specific harmful content.
C:Privacy screening addresses exposed identifiers not always classified as general harm, but output moderation can block category-specific harmful content.
Question 198
A marketing assistant will draft customer-facing campaigns. The assistant echoes a private customer's telephone number. What should the engineering team implement?
- Add PII detection and redaction or safe handling policies
- Apply content-harm filters at a calibrated severity threshold
- Evaluate tool selection against labeled incident scenarios
- Check protected-material risks and use authorized summaries rather than copying
Explanation
Correct Answer
A:Privacy screening addresses exposed identifiers not always classified as general harm.
Incorrect Answers
B:Output moderation can block category-specific harmful content, but privacy screening addresses exposed identifiers not always classified as general harm.
C:Tool-selection quality is distinct from final response phrasing. Privacy screening addresses exposed identifiers not always classified as general harm.
D:Protected-text controls handle reproduction risk separate from toxicity filters; privacy screening addresses exposed identifiers not always classified as general harm.
Question 199
A marketing assistant will draft customer-facing campaigns. The copy reproduces a protected passage from a supplied document. Which implementation best satisfies the requirement?
- Check protected-material risks and use authorized summaries rather than copying
- Add policy-adherence evaluation for escalation conditions
- Review false positives against labeled test cases and tune policy thresholds
- Add PII detection and redaction or safe handling policies
Explanation
Correct Answer
A:Protected-text controls handle reproduction risk separate from toxicity filters.
Incorrect Answers
B:Task correctness does not waive operational constraints. Protected-text controls handle reproduction risk separate from toxicity filters.
C:Safety tuning must protect the boundary without unnecessarily blocking compliant text; protected-text controls handle reproduction risk separate from toxicity filters.
D:Privacy screening addresses exposed identifiers not always classified as general harm, whereas protected-text controls handle reproduction risk separate from toxicity filters.
Question 200
A marketing assistant will draft customer-facing campaigns. The same benign product details are repeatedly rejected as unsafe. Which approach best fits the requirement?
- Apply content-harm filters at a calibrated severity threshold
- Test prompt grounding and citation compliance using warning-specific examples
- Review false positives against labeled test cases and tune policy thresholds
- Check protected-material risks and use authorized summaries rather than copying
Explanation
Correct Answer
C:Safety tuning must protect the boundary without unnecessarily blocking compliant text.
Incorrect Answers
A:Output moderation can block category-specific harmful content. Safety tuning must protect the boundary without unnecessarily blocking compliant text.
B:Generation failure can persist even when retrieval returns correct evidence; safety tuning must protect the boundary without unnecessarily blocking compliant text.
D:Protected-text controls handle reproduction risk separate from toxicity filters. Safety tuning must protect the boundary without unnecessarily blocking compliant text.
Developing AI Apps and Agents on Azure (AI-103) Practice Tests