Microsoft AI-102 (Designing and Implementing a Microsoft Azure AI Solution) Practice Test 17

Question 160

A product catalog uses both laptop and notebook in queries and wants these known equivalents to participate in matching. What index feature is useful?

  1. Synonym map
  2. Quoted phrase query
  3. Analyzer and tokenization behavior
  4. Scoring profile with field weights

Explanation

Correct Answer

A:

This fits because it expands configured equivalent terms during supported search processing so alternate vocabulary can retrieve related product records, providing the specific mechanism for the workflow to match defined laptop and notebook equivalents.

Incorrect Answers

B:

The feature requires the specified term sequence as a phrase under the chosen search syntax instead of combining unrestricted individual words, while this scenario instead requires a component that can match defined laptop and notebook equivalents.

C:

The proposed method determines how text becomes searchable terms and may require a specialized analyzer for identifier-like strings, but it cannot by itself fulfill the narrower need to match defined laptop and notebook equivalents.

D:

Although this feature adjusts lexical relevance contributions of configured fields to reflect product ranking preferences rather than changing document content, it does not independently allow the system to match defined laptop and notebook equivalents.

Question 161

A customer bot must screen generated text against configured harmful-content categories and severity thresholds. Which control should be configured?

  1. Prompt Shields for indirect attacks
  2. Custom blocklist
  3. Output validation against a JSON schema
  4. Azure AI Content Safety text analysis
  5. Content filtering policy

Explanation

Correct Answer

E:

The decisive behavior is that it evaluates prompt and completion content against safety categories and configured thresholds to block or constrain disallowed generations, which addresses the concrete objective to enforce harmful-content thresholds on generated replies.

Incorrect Answers

A:

The mechanism identifies attempts to redirect model behavior through lower-trust retrieved or tool-supplied material rather than the user's authorized request, but the specified workflow needs to enforce harmful-content thresholds on generated replies instead.

B:

Here the missing operation is to enforce harmful-content thresholds on generated replies; this candidate instead checks for policy-defined words or expressions so an organization can enforce lexical exclusions beyond general-purpose category classification.

C:

It verifies the format of machine-readable model responses but does not evaluate whether their semantic content violates harmful-content categories, but that alone cannot fulfill the stated requirement to enforce harmful-content thresholds on generated replies.

D:

This option scores supplied text against supported harm categories as a moderation signal that an application can use to enforce its own policy; however, that differs from the explicit requirement to enforce harmful-content thresholds on generated replies.

Question 162

A defect detector must report the fraction of its alerts that were genuine defects and the fraction of all known defects it successfully found. Which TWO metrics should the team calculate? Choose TWO.

  1. Precision
  2. Mean average precision
  3. Recall
  4. Confusion matrix

Explanation

Correct Answers

A:

Precision measures true alerts divided by all issued positive alerts, directly representing the reliability of the detector's defect warnings.

C:

Recall measures the known defects found divided by all actual defects, directly representing how much ground-truth fault coverage the detector achieves.

Incorrect Answers

B:

Mean average precision summarizes a precision-recall curve over classes or thresholds, but the two requested fractions are the direct definitions of precision and recall.

D:

A confusion matrix shows counts across actual and predicted classes and may be used to calculate metrics, but it is not itself either of the two named ratios.

Question 163

A support assistant must answer from frequently changing internal policy documents without retraining the base model. What technique is best?

  1. Fine-tuning with curated training examples
  2. Retrieval-augmented generation
  3. Few-shot examples
  4. Zero-shot instructions

Explanation

Correct Answer

B:

It retrieves approved information at query time and includes it as grounding context so answers can follow changing documents, thereby supplying the functionality necessary for the process to answer from current private policy evidence.

Incorrect Answers

A:

Although this feature updates a supported model's behavior using a prepared training dataset and requires evaluation for overfitting and regression, it does not independently allow the system to answer from current private policy evidence.

C:

For this requirement, it matters that the system can answer from current private policy evidence; the chosen alternative instead demonstrate the intended input-to-output structure within the request while leaving the model parameters unchanged.

D:

The method states the required transformation in the prompt and relies on a capable model's existing behavior without creating a training pipeline, whereas the objective is to answer from current private policy evidence in this particular setting.

Question 164

A service desk query does not closely match any approved answer and should receive a default response rather than a weak match. Which control helps?

  1. Answer metadata filtering
  2. Custom question answering project
  3. Import supported knowledge sources
  4. Response confidence threshold

Explanation

Correct Answer

D:

Here the selected operation must suppress low-confidence knowledge-base answers; the feature rejects candidate matches below a selected score so the application can return a fallback when evidence is insufficient for exactly that purpose.

Incorrect Answers

A:

For this requirement, it matters that the system can suppress low-confidence knowledge-base answers; the chosen alternative instead applies associated attributes during retrieval to narrow candidate answer sets to a permitted topic or department.

B:

The method creates and maintains answerable knowledge content from authored pairs or sources so user queries can retrieve the best matching approved response, whereas the objective is to suppress low-confidence knowledge-base answers in this particular setting.

C:

The feature ingests documents or URLs into a question-answering project to extract candidate content for later curation and testing, while this scenario instead requires a component that can suppress low-confidence knowledge-base answers.

Question 165

A support search team wants matches in the Title field to score more heavily than identical terms in Body. Which feature is suitable?

  1. Quoted phrase query
  2. Scoring profile with field weights
  3. Analyzer and tokenization behavior
  4. Synonym map

Explanation

Correct Answer

B:

This mechanism adjusts lexical relevance contributions of configured fields to reflect product ranking preferences rather than changing document content, which provides the application with the requested ability to boost title matches relative to body matches.

Incorrect Answers

A:

The capability requires the specified term sequence as a phrase under the chosen search syntax instead of combining unrestricted individual words, which might be useful elsewhere but is not the step needed to boost title matches relative to body matches.

C:

Here the missing operation is to boost title matches relative to body matches; this candidate instead determines how text becomes searchable terms and may require a specialized analyzer for identifier-like strings.

D:

It expands configured equivalent terms during supported search processing so alternate vocabulary can retrieve related product records, but that alone cannot fulfill the stated requirement to boost title matches relative to body matches.

Question 166

A public chatbot must refuse responses containing a short list of organization-specific prohibited phrases. Which safety construct is appropriate?

  1. Content filtering policy
  2. Custom blocklist
  3. Azure AI Content Safety text analysis
  4. Prompt Shields for indirect attacks

Explanation

Correct Answer

B:

To suppress a specified set of prohibited expressions, the system needs a feature that checks for policy-defined words or expressions so an organization can enforce lexical exclusions beyond general-purpose category classification rather than an adjacent kind of analysis.

Incorrect Answers

A:

The feature evaluates prompt and completion content against safety categories and configured thresholds to block or constrain disallowed generations, so selecting it would leave the objective to suppress a specified set of prohibited expressions unresolved.

C:

This option scores supplied text against supported harm categories as a moderation signal that an application can use to enforce its own policy, so it does not directly accomplish the requested ability to suppress a specified set of prohibited expressions.

D:

The alternative identifies attempts to redirect model behavior through lower-trust retrieved or tool-supplied material rather than the user's authorized request; that output is different from the requested capability to suppress a specified set of prohibited expressions.

Question 167

A travel planner wants independent hotel and flight research to run concurrently before combining the findings. Which pattern is most efficient?

  1. Parallel agent orchestration
  2. Agent handoff
  3. Sequential agent orchestration
  4. Multi-agent review or group collaboration

Explanation

Correct Answer

A:

The decisive behavior is that it executes independent workstreams concurrently and merges results after the necessary branches complete to reduce overall wait time, which addresses the concrete objective to research flights and hotels simultaneously.

Incorrect Answers

B:

The capability delegates control or the current task to a specialized agent under explicit routing rules instead of requiring the initial agent to handle all domains, which might be useful elsewhere but is not the step needed to research flights and hotels simultaneously.

C:

The mechanism passes output from one specialized agent into the next ordered stage so dependent steps execute in the required sequence, but the specified workflow needs to research flights and hotels simultaneously instead.

D:

Here the missing operation is to research flights and hotels simultaneously; this candidate instead arranges multiple agent contributions and iterative evaluation rather than a single straight-line tool call.

Question 168

A model team wants an aggregate detection performance measure across confidence thresholds and categories rather than one alert threshold. Which metric should it inspect?

  1. Mean average precision
  2. Precision
  3. Recall
  4. Confusion matrix

Explanation

Correct Answer

A:

The workflow calls for summarize object detection quality over precision-recall tradeoffs; the matching operation summarizes per-class precision-recall behavior using average precision and then aggregates across evaluated classes rather than supplying an unrelated artifact.

Incorrect Answers

B:

The approach divides true positive predictions by all positive predictions and therefore quantifies the reliability of reported alerts; the application needs to summarize object detection quality over precision-recall tradeoffs, not only perform the related task described here.

C:

For this requirement, it matters that the system can summarize object detection quality over precision-recall tradeoffs; the chosen alternative instead divides detected true positives by all actual positives and therefore measures how many relevant objects were found.

D:

The method cross-tabulates predicted labels against actual labels to reveal characteristic misclassification patterns among the available classes, whereas the objective is to summarize object detection quality over precision-recall tradeoffs in this particular setting.

Question 169

A narrowly defined writing style must be learned from many curated examples and repeated prompting remains inconsistent. Which model adaptation could be evaluated?

  1. Zero-shot instructions
  2. Retrieval-augmented generation
  3. Fine-tuning with curated training examples
  4. Few-shot examples

Explanation

Correct Answer

C:

The decisive behavior is that it updates a supported model's behavior using a prepared training dataset and requires evaluation for overfitting and regression, which addresses the concrete objective to adapt a supported model to a consistent specialized style.

Incorrect Answers

A:

It states the required transformation in the prompt and relies on a capable model's existing behavior without creating a training pipeline, but that alone cannot fulfill the stated requirement to adapt a supported model to a consistent specialized style.

B:

This option retrieves approved information at query time and includes it as grounding context so answers can follow changing documents; however, that differs from the explicit requirement to adapt a supported model to a consistent specialized style.

D:

The capability demonstrate the intended input-to-output structure within the request while leaving the model parameters unchanged, which might be useful elsewhere but is not the step needed to adapt a supported model to a consistent specialized style.

Question 170

A single knowledge base contains answers for different business departments and each query is scoped to one department. Which mechanism helps?

  1. Custom question answering project
  2. Response confidence threshold
  3. Import supported knowledge sources
  4. Answer metadata filtering

Explanation

Correct Answer

D:

Selecting this feature works because it applies associated attributes during retrieval to narrow candidate answer sets to a permitted topic or department, directly addressing how the workflow must restrict question-answer matching to the requested department.

Incorrect Answers

A:

Although it creates and maintains answerable knowledge content from authored pairs or sources so user queries can retrieve the best matching approved response, the task is to restrict question-answer matching to the requested department; this candidate targets another operation.

B:

The capability rejects candidate matches below a selected score so the application can return a fallback when evidence is insufficient, which might be useful elsewhere but is not the step needed to restrict question-answer matching to the requested department.

C:

The mechanism ingests documents or URLs into a question-answering project to extract candidate content for later curation and testing, but the specified workflow needs to restrict question-answer matching to the requested department instead.

Designing and Implementing a Microsoft Azure AI Solution (AI-102) Practice Tests