D4: Logging, Monitoring & Observability
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
Logging vs monitoring vs observability?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Logging, Monitoring & Observability practice questions and answers
- Logging vs monitoring vs observability?Logging: recording events. Monitoring: watching known metrics/alerts. Observability: ability to understand internal state from logs, metrics and traces to debug unknown issues.
- Three pillars of observability?Logs, metrics, traces.
- Effective logging strategy?Structured JSON logs, consistent fields (request ID, user ID), appropriate levels, no secrets, retention policies.
- Structured logging?Logs as JSON key-value pairs for easy querying.
- Correlation IDs?Pass a request ID across services to tie logs together.
- Log levels?DEBUG, INFO, WARN, ERROR — configurable; Lambda advanced logging controls support JSON and level filtering.
- Lambda advanced logging controls?Native JSON log format, log level filtering, custom log group.
- Powertools Logger?Structured logging with context (cold start, request ID) for Lambda.
- Logging user actions?Record who did what and when for audit/troubleshooting (structured events).
- Notification alerts for quotas/deployments?CloudWatch alarms on usage metrics/Service Quotas, EventBridge rules on CodeDeploy/CodePipeline state → SNS.