Mindmap AIP-C01
Những điểm quan trọng nhất của từng dịch vụ. Bấm vào nhánh để thu gọn/mở rộng.
AIP-C01
Content filter — Insults = bắt nạt; DETECT chỉ gắn cờ, BLOCK mới chặn
Denied topics — chỉ BLOCK, không MASK
Sensitive info (PII) — policy duy nhất MASK được
Contextual grounding — chống hallucination cho RAG
Ép dùng guardrail — bedrock:GuardrailIdentifier + SCP
RetrieveAndGenerate — truy xuất + sinh + citation, ít công sức nhất
Chunking — hierarchical cho tài liệu dài; semantic buffer chỉ 0-1
Chất lượng — reranking built-in, GraphRAG (multi-hop), metadata filter
Cập nhật — direct ingestion = gần real-time; mỗi tenant một KB
Agents — action group cần Lambda; bật TRACE để audit
Multi-agent — MỘT supervisor + các collaborator
AgentCore — Memory, Runtime, Identity, Gateway (→ MCP tool)
Prompt Management — version + variants; intelligent routing model nhỏ/lớn
Job — input JSONL, output S3; generator ≠ evaluator
Metric — RWK = generation, BERTScore = summarization
RAG eval — so chunking + FM → retrieve-and-generate
CI/CD — CodePipeline gọi CreateEvaluationJob làm cổng chất lượng
Cross-Region — geographic profile giữ residency; không dùng với Provisioned
Provisioned — gọi bằng ARN provisioned model; không autoscale
Tối ưu — prompt caching, Converse API, streaming
Log & mạng — invocation logging + CloudTrail; PrivateLink
Step Functions — Standard + waitForTaskToken cho duyệt tay; Express không callback
S3 → Step Functions — phải qua EventBridge
AppConfig — đổi model không deploy; tự rollback
Streaming UI — AppSync / Amplify AI Kit qua WebSocket
REST API — streaming được; HTTP API thì KHÔNG
WebSocket API — đẩy từng phần phản hồi hai chiều
Lambda — provisioned concurrency chỉ giảm cold start
Endpoint — real-time: giữ min instance > 0; async không tương tác
Clarify vs Monitor — Clarify = bias; Model Monitor = drift ML (bẫy hallucination)
Variants — không host model Bedrock
OpenSearch — hybrid search; Serverless cần aoss:APIAccessAll + data access policy
Aurora / MemoryDB — pgvector < 1M tài liệu; FLAT = chính xác cho dataset nhỏ
DynamoDB — không có vector search native
Semantic cache — embedding + vector similarity
Comprehend — PII + redaction; Macie không redact
Textract / Transcribe — scan/PDF; streaming partial results
Q Business — acl.json phân quyền S3; data accessor cross-account
CloudWatch — anomaly detection áp trên alarm nền, không trên composite
X-Ray vs CloudTrail — tracing = X-Ray; CloudTrail không tracing
Retry — adaptive vs standard + backoff/jitter
SCP — không CẤP quyền; permissions boundary giới hạn model
Cross-account — AssumeRole + session tags giữ danh tính
Lake Formation — chỉ hiệu lực qua engine tích hợp
S3 Object Lock — WORM cho audit
CoT — giảm hallucination nhưng tăng độ trễ
Temperature — cao = tăng hallucination
Bắt buộc phải có — chèn xác định sau khi FM sinh
Quá context window — RAG hoặc chunk-and-synthesize, đừng cắt dữ liệu
Vai trò — search doanh nghiệp managed; hay là đáp án nhiễu
Cần citation — → KB RetrieveAndGenerate
Khớp thuật ngữ + ngữ nghĩa — → OpenSearch hybrid + reranker
Step Functions — dịch traffic → Wait → check CloudWatch → tăng/rollback
AppConfig — đổi model bằng cấu hình, không deploy
Lambda alias — chỉ dịch traffic giữa phiên bản code
STDIO — chỉ cục bộ
Streamable HTTP — MCP từ xa + Cognito OAuth 2.1
AgentCore Gateway — Lambda/REST → MCP tool, ít overhead nhất
Claude — Haiku nhanh/rẻ, Sonnet cân bằng, Opus mạnh nhất
< 200 ms — model nhỏ + Provisioned Throughput
70% đơn giản / 30% phức tạp — intelligent prompt routing
bedrock:ModelId — không tồn tại; dùng Resource ARN
Provisioned Throughput — không autoscale native
DynamoDB TTL — có thể xóa bản ghi cần giữ để audit
Ưu tiên — giải pháp managed/native của Bedrock
Từ khóa — "ít vận hành nhất", "real-time", "riêng tư", "không redeploy"
Loại trừ — bỏ đáp án vi phạm bất kỳ ràng buộc nào