AI-300 Practice Question 56: Content Filter Blocklist

Microsoft Machine Learning Operations Engineer Associate (AI-300) · Test 6 · question 6 of 10

Design and implement a GenAIOps infrastructureeasy

A retailer's chat assistant is deployed in Microsoft Foundry with the default content filter. The company requires that its responses never contain the names of two specific competitors, however the user phrases the request. What should the team add?

Select one answer
Show answer and explanation

Answer:

  • A. A custom blocklist of the competitor names, attached to the deployment's content filter

Content filters can be extended with custom blocklists. A blocklist matches exact terms (or regular expressions) in prompts and completions and blocks them deterministically. Attaching a blocklist with the two competitor names to the deployment's content filter enforces the rule regardless of how the user phrases a request (option A).

- B is wrong because a system message is guidance the model can ignore or be talked out of. It does not guarantee that the names never appear. - C is wrong because severity categories score harmful content. Competitor names are ordinary words that would not be flagged by the hate category. - D is wrong because fine-tuning shifts model behavior but gives no guarantee, and it is far more work than an exact-match term filter.

Reference: Use a blocklist in Microsoft Foundry

Practice Test 6 ›

Study guides for AI-300