Pass model output to a business system.
Require JSON fields and detect malformed output.
Choose two appropriate practices.
Specify fields, types, allowed values, and examples, then validate model output and route failures safely before downstream processing.
Detailed explanation
Valid JSON can still contain unsafe values or commands.
The model behavior becomes less consistent.
Generated output should not be trusted without checks.
This clarifies the expected structure and validation rules.
Check official documentation
Compare the following points with the official documentation.
Amazon Bedrock公式の構造化出力・Guardrails・プロンプト設計を確認する。
Official references
What to confirm
プロンプト指定だけでなく、出力検証とフォールバックが必要と説明できる。
Key points
- Schema
- Output validation
- Safe failure
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Compare the definition with the AIF-C01 objective and the service documentation before applying it.
- Keep the concept separate from a particular answer choice or implementation step.
Foundation review
Structured output
Model output that follows a defined set of fields, types, or syntax.
Schema validation
Checking required fields, types, ranges, and allowed values against a machine-readable contract.