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

Question 610

A review may mention both a billing error and an accessibility concern. What should the engineer implement?

  1. Use multi-label classification with independently evaluated categories
  2. Use contextual text classification with negation-aware evaluation
  3. Use a constrained single-label text classifier
  4. Validate classifications against the permitted output vocabulary

Explanation

Correct Answer

A:

Multiple labels capture overlapping issues that a forced exclusive class would discard.

Incorrect Answers

B:

Understanding sentence context matters because 'not a refund' and 'request a refund' should not trigger identical labels; it addresses a neighboring concern, while the task tests using multi-label classification with independently evaluated categories.

C:

A controlled category set produces deterministic routing labels rather than an unrestricted explanatory paragraph; it cannot substitute for using multi-label classification with independently evaluated categories under these conditions.

D:

A strict contract prevents unknown generated strings from entering brittle routing code; on its own this leaves using multi-label classification with independently evaluated categories unaddressed.

Question 611

A triage model should decline to categorize messages far outside its supported topics. How should the developer address this requirement?

  1. Use multi-label classification with independently evaluated categories
  2. Validate classifications against the permitted output vocabulary
  3. Define an unknown or escalation label and confidence policy
  4. Review per-class precision and recall on representative data
  5. Apply hierarchical classification with severity-aware thresholds

Explanation

Correct Answer

C:

Open-set handling avoids pretending every input belongs to an approved category.

Incorrect Answers

A:

Multiple labels capture overlapping issues that a forced exclusive class would discard; the scenario instead depends on declining to categorize messages far outside its supported topics.

B:

A strict contract prevents unknown generated strings from entering brittle routing code; the requested solution requires declining to categorize messages far outside its supported topics rather than this different mechanism.

D:

Aggregate accuracy can hide rare-class failures; class-level metrics reveal the actual discrimination quality; it cannot substitute for declining to categorize messages far outside its supported topics under these conditions.

E:

Risk categories and severity levels drive different actions; a flat positive/negative sentiment label is inadequate; on its own this leaves declining to categorize messages far outside its supported topics unaddressed.

Question 612

A moderation application must distinguish policy violations by severity. Which approach best meets the requirement?

  1. Apply hierarchical classification with severity-aware thresholds
  2. Review per-class precision and recall on representative data
  3. Persist the accepted category and define explicit reclassification triggers
  4. Use contextual text classification with negation-aware evaluation
  5. Validate classifications against the permitted output vocabulary

Explanation

Correct Answer

A:

Risk categories and severity levels drive different actions; a flat positive/negative sentiment label is inadequate.

Incorrect Answers

B:

Aggregate accuracy can hide rare-class failures; class-level metrics reveal the actual discrimination quality; the scenario instead depends on distinguishing policy violations by severity.

C:

Stateful routing avoids oscillation unless new evidence justifies changing the assigned destination; the requested solution requires distinguishing policy violations by severity rather than this different mechanism.

D:

Understanding sentence context matters because 'not a refund' and 'request a refund' should not trigger identical labels; it addresses a neighboring concern, while the task tests distinguishing policy violations by severity.

E:

A strict contract prevents unknown generated strings from entering brittle routing code; it cannot substitute for distinguishing policy violations by severity under these conditions.

Question 613

A team sees large class imbalance and high overall accuracy but poor detection of rare fraud reports. Which configuration or component should be selected?

  1. Use multi-label classification with independently evaluated categories
  2. Define an unknown or escalation label and confidence policy
  3. Review per-class precision and recall on representative data
  4. Use contextual text classification with negation-aware evaluation

Explanation

Correct Answer

C:

Aggregate accuracy can hide rare-class failures; class-level metrics reveal the actual discrimination quality.

Incorrect Answers

A:

Multiple labels capture overlapping issues that a forced exclusive class would discard; that would not ensure reviewing per-class precision and recall on representative data for this workload.

B:

Open-set handling avoids pretending every input belongs to an approved category; the needed design choice concerns reviewing per-class precision and recall on representative data instead.

D:

Understanding sentence context matters because 'not a refund' and 'request a refund' should not trigger identical labels; the requested solution requires reviewing per-class precision and recall on representative data rather than this different mechanism.

Question 614

A model routes tickets based only on the first word and often misclassifies negated requests. What solution would satisfy this constraint?

  1. Define an unknown or escalation label and confidence policy
  2. Use multi-label classification with independently evaluated categories
  3. Use contextual text classification with negation-aware evaluation
  4. Use a constrained single-label text classifier

Explanation

Correct Answer

C:

Understanding sentence context matters because 'not a refund' and 'request a refund' should not trigger identical labels.

Incorrect Answers

A:

Open-set handling avoids pretending every input belongs to an approved category; the relevant decision is using contextual text classification with negation-aware evaluation, not the separate action described here.

B:

Multiple labels capture overlapping issues that a forced exclusive class would discard; that would not ensure using contextual text classification with negation-aware evaluation for this workload.

D:

A controlled category set produces deterministic routing labels rather than an unrestricted explanatory paragraph; the scenario instead depends on using contextual text classification with negation-aware evaluation.

Question 615

An app's classifier emits a label absent from the downstream enum. How should the developer address this requirement?

  1. Use contextual text classification with negation-aware evaluation
  2. Validate classifications against the permitted output vocabulary
  3. Define an unknown or escalation label and confidence policy
  4. Use a constrained single-label text classifier

Explanation

Correct Answer

B:

A strict contract prevents unknown generated strings from entering brittle routing code.

Incorrect Answers

A:

Understanding sentence context matters because 'not a refund' and 'request a refund' should not trigger identical labels; that mechanism does not itself establish validating classifications against the permitted output vocabulary.

C:

Open-set handling avoids pretending every input belongs to an approved category; that would not ensure validating classifications against the permitted output vocabulary for this workload.

D:

A controlled category set produces deterministic routing labels rather than an unrestricted explanatory paragraph; the needed design choice concerns validating classifications against the permitted output vocabulary instead.

Question 616

A support ticket moves between teams because a model assigns a new category on every turn. Which design choice is most appropriate?

  1. Persist the accepted category and define explicit reclassification triggers
  2. Use a constrained single-label text classifier
  3. Define an unknown or escalation label and confidence policy
  4. Apply hierarchical classification with severity-aware thresholds

Explanation

Correct Answer

A:

Stateful routing avoids oscillation unless new evidence justifies changing the assigned destination.

Incorrect Answers

B:

A controlled category set produces deterministic routing labels rather than an unrestricted explanatory paragraph; that mechanism does not itself establish persisting the accepted category and define explicit reclassification triggers.

C:

Open-set handling avoids pretending every input belongs to an approved category; the relevant decision is persisting the accepted category and define explicit reclassification triggers, not the separate action described here.

D:

Risk categories and severity levels drive different actions; a flat positive/negative sentiment label is inadequate; that would not ensure persisting the accepted category and define explicit reclassification triggers for this workload.

Question 617

A retailer wants the overall positive, negative, or neutral attitude expressed in customer reviews. Which of the following would meet this need?

  1. Use sentiment analysis over the review text
  2. Test sentiment handling for sarcasm and contextual cues
  3. Validate sentiment performance separately for each language
  4. Distinguish customer opinion from quoted or hypothetical statements
  5. Retain confidence or reviewer flags where supported and define escalation thresholds

Explanation

Correct Answer

A:

Sentiment estimates expressed polarity; it does not identify individual people or produce an invoice field schema.

Incorrect Answers

B:

Literal positive words can express negative intent in context, so simple keyword counts are unreliable; meeting the stated constraint still involves using sentiment analysis over the review text.

C:

Translation artifacts and linguistic variation can bias cross-language sentiment metrics; that mechanism does not itself establish using sentiment analysis over the review text.

D:

Speaker attribution matters for reliable sentiment decisions; quoted content may not reflect the current user's view; the relevant decision is using sentiment analysis over the review text, not the separate action described here.

E:

Uncertainty handling distinguishes borderline cases from high-confidence responses and enables quality sampling; that would not ensure using sentiment analysis over the review text for this workload.

Question 618

A customer review praises packaging but criticizes delivery. Which action directly produces the required outcome?

  1. Test sentiment handling for sarcasm and contextual cues
  2. Apply aspect-based sentiment analysis to product attributes
  3. Retain confidence or reviewer flags where supported and define escalation thresholds
  4. Use sentiment analysis over the review text

Explanation

Correct Answer

B:

Aspect-level scoring can preserve opposite opinions about different parts of one customer experience.

Incorrect Answers

A:

Literal positive words can express negative intent in context, so simple keyword counts are unreliable; it cannot substitute for applying aspect-based sentiment analysis to product attributes under these conditions.

C:

Uncertainty handling distinguishes borderline cases from high-confidence responses and enables quality sampling; meeting the stated constraint still involves applying aspect-based sentiment analysis to product attributes.

D:

Sentiment estimates expressed polarity; it does not identify individual people or produce an invoice field schema; that mechanism does not itself establish applying aspect-based sentiment analysis to product attributes.

Question 619

A call-center monitor must distinguish an urgent angry complaint from a calm request despite similar product keywords. How should the developer address this requirement?

  1. Use sentiment analysis over the review text
  2. Test sentiment handling for sarcasm and contextual cues
  3. Analyze tone and emotion cues in context
  4. Distinguish customer opinion from quoted or hypothetical statements

Explanation

Correct Answer

C:

Emotional tone provides a different signal from topic classification and can inform escalation heuristics.

Incorrect Answers

A:

Sentiment estimates expressed polarity; it does not identify individual people or produce an invoice field schema; it addresses a neighboring concern, while the task tests distinguishing an urgent angry complaint from a calm request despite similar product keywords.

B:

Literal positive words can express negative intent in context, so simple keyword counts are unreliable; it cannot substitute for distinguishing an urgent angry complaint from a calm request despite similar product keywords under these conditions.

D:

Speaker attribution matters for reliable sentiment decisions; quoted content may not reflect the current user's view; meeting the stated constraint still involves distinguishing an urgent angry complaint from a calm request despite similar product keywords.

Question 620

A financial report states a loss in a neutral factual sentence, but a model flags it as angry. Which design choice is most appropriate?

  1. Evaluate sentiment against domain-specific neutral language
  2. Analyze tone and emotion cues in context
  3. Retain confidence or reviewer flags where supported and define escalation thresholds
  4. Test sentiment handling for sarcasm and contextual cues

Explanation

Correct Answer

A:

Negative financial facts are not always negative emotional opinions; domain calibration reduces false sentiment labels.

Incorrect Answers

B:

Emotional tone provides a different signal from topic classification and can inform escalation heuristics; it addresses a neighboring concern, while the task tests evaluating sentiment against domain-specific neutral language.

C:

Uncertainty handling distinguishes borderline cases from high-confidence responses and enables quality sampling; it cannot substitute for evaluating sentiment against domain-specific neutral language under these conditions.

D:

Literal positive words can express negative intent in context, so simple keyword counts are unreliable; on its own this leaves evaluating sentiment against domain-specific neutral language unaddressed.

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