Content & privacy
AI Engineering · INTERVIEW GUIDE

AI Engineering

Learn LLMs, RAG, agents, secure tools, and production AI through practical insurance examples.

Practice this topic
Filters
8 questions

Input, output, and tool guardrails

AI Engineering·Guardrails

Input guardrails check requests and incoming content. Output guardrails check generated answers or data. Tool guardrails check proposed operations before execution and validate their results afterward.

Intermediate2 min read

Schema validation: Zod and Pydantic

AI Engineering·Guardrails

Schema validation verifies data shape, types, required fields, and declared constraints at runtime. Zod is commonly used in TypeScript; Pydantic serves a similar role in Python. These validators check structure, not whether facts are true or actions are…

Intermediate2 min read

Moderation and PII detection

AI Engineering·Guardrails

Content moderation categorizes content that may violate a product policy. PII detection identifies potentially private identity-linked information for masking, routing, or restricted handling. Both can use rules and models, and neither is perfectly accurate.

Intermediate2 min read

Hallucination mitigation, business rules, and approval

AI Engineering·Guardrails

Hallucination mitigation reduces unsupported model claims using evidence, constraints, validation, and abstention. Business-rule validation checks authoritative domain requirements. Human approval permits a specific action after a person reviews its concrete…

Intermediate2 min read

What is a guardrail?

AI Engineering·Guardrails

A check limiting unsafe or invalid behavior at input, output, or tool boundaries. Examples include schemas, content checks, evidence validation, rate limits, business rules, and approval gates.

Foundation2 min read

Does valid structured output mean safe output?

AI Engineering·Guardrails

No. A valid object can contain false facts or unauthorized action arguments. I validate shape, then check business meaning, ownership, evidence, and required approval independently.

Intermediate2 min read

What should fail closed?

AI Engineering·Guardrails

Permission, approval, and critical business-rule checks should block action when they cannot establish validity. For uncertain content or model availability, I use an appropriate clarification, template, search result, or human escalation rather than silently…

Advanced2 min read

A moderation check rejects legitimate injury descriptions. What do you do?

AI Engineering·Guardrails

I inspect domain-specific false positives, refine the policy and calibration dataset, and provide a permitted review path. Insurance support must handle legitimate sensitive content while minimizing private data and enforcing access.

Advanced2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.