D4: Managing FM & AI-Specific Costs
AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards
Question
FM inference cost drivers?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Managing FM & AI-Specific Costs practice questions and answers
- FM inference cost drivers?Model choice, input/output tokens, request volume, provisioned capacity.
- Token usage optimization?Shorter prompts, prompt caching, cap max tokens, summarize history, smaller models.
- Bedrock prompt caching?Cache repeated prompt prefixes for lower cost and latency.
- Embedding computation costs?Charged per input tokens; avoid re-embedding unchanged documents (incremental sync).
- Vector database storage optimization?Smaller dimensions, quantization, delete stale vectors, cheaper stores (S3 Vectors).
- Monitoring agent resource consumption?Track tokens, tool calls, runtime duration and memory per session.
- Model distillation for cost?Smaller student model replicates large-model quality for a task.
- Batch vs on-demand cost for FMs?Batch inference ~50% cheaper for non-urgent workloads.
- Bedrock Flex tier?Lower price for latency-tolerant workloads.
- Scenario: same 5,000-token system prompt sent with every request. Optimization?Prompt caching.