D4: Monitoring Agents & FM Performance
AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards
Question
Agent failure types to monitor?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Monitoring Agents & FM Performance practice questions and answers
- Agent failure types to monitor?Tool failures, coordination failures between agents, loops, truncated streaming, timeouts, guardrail blocks.
- Truncated streaming?Response stream cut off (max tokens or connection issues); monitor stop reasons and completeness.
- Detecting coordination failures?Trace multi-agent handoffs; alert on unanswered delegations or repeated retries.
- AgentCore Observability?OpenTelemetry traces of agent sessions, tool calls, latency and token usage in CloudWatch.
- Bedrock invocation metrics?Invocations, InvocationLatency, InputTokenCount, OutputTokenCount, InvocationThrottles, InvocationClientErrors/ServerErrors.
- Bedrock model invocation logging?Logs prompts and responses to CloudWatch Logs/S3 for analysis.
- Time to first token?Latency until first streamed token; key UX metric.
- Automating agent management?Alarms trigger fallback models, circuit breakers, or rollback to previous agent version.
- Guardrail intervention metrics?Track how often guardrails block content to tune policies.
- Scenario: agent repeatedly calls the same tool without finishing. Mitigation?Max iteration limits, better tool descriptions, monitoring with alerts.