D4: Root Cause Analysis & Debugging
AWS Associate AWS Certified Developer – Associate exam practice questions · 11 flashcards
Question
First step debugging a Lambda error?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Root Cause Analysis & Debugging practice questions and answers
- First step debugging a Lambda error?Check CloudWatch Logs for the function's log group and error stack trace.
- Interpreting HTTP 4xx vs 5xx?4xx: client-side issue (auth, validation, throttling 429). 5xx: server/integration failure.
- API Gateway 502 with Lambda proxy?Lambda returned malformed response (missing statusCode/body string) or errored.
- API Gateway 504?Integration timeout (backend took too long).
- API Gateway 403 'Missing Authentication Token'?Wrong path/method or resource not deployed.
- API Gateway 429?Throttling limit or usage plan quota exceeded.
- Debugging service integration issues?Check IAM permissions, resource policies, event formats, VPC connectivity, and target service logs/metrics.
- Troubleshoot deployment failures?CloudFormation stack events, CodeDeploy deployment logs/lifecycle events, CodeBuild logs.
- CodeDeploy deployment fails at ApplicationStop. Common cause?Script error from previous revision; use ignore-application-stop-failures or fix script.
- Lambda 'AccessDeniedException' calling DynamoDB. Fix?Add the required action/resource to the execution role.
- Lambda out of memory error?Increase memory or reduce memory use; check Max Memory Used in REPORT log line.