A simple pattern must be blocked from responses, such as card numbers. What is one simple tool?
Why D is the answer
Regex
A regular expression can match a fixed pattern, such as a card number, and block it from responses.
In detail
- Regex can block a simple pattern such as card numbers.
- Regex suits fixed patterns only.
Use case
An illustrative scenario, not a real incident.
A team blocks anything shaped like a card number with a regex on responses.
See it in different ways
flowchart LR A["Prompt"] --> B["Model Armor"] B --> C["Gemini"] C --> D["Safety filters"] D --> E["Response"]
sequenceDiagram participant U as User participant A as Model Armor participant G as Gemini participant F as Output filter U->>A: Prompt A->>G: Screened prompt G->>F: Response F-->>U: Regex and safety checks
flowchart TD
Q{"What are you blocking?"}
Q -->|"A fixed pattern"| A0["Regex"]
Q -->|"Harmful meaning"| A1["Safety filters or Model Armor"]Key point: Regex blocks simple patterns.
Why the other options are wrong
- A. ARIMA
- ARIMA forecasts.
- B. Kubeflow
- Kubeflow runs pipelines.
- C. Data parallelism
- That is about training.

