D1: Testing & Integrating Lambda
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
Console test events?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Testing & Integrating Lambda practice questions and answers
- Console test events?Save JSON test events (private or shareable) to invoke functions.
- Testing with AWS CLI?aws lambda invoke --payload with function name or alias.
- Lambda integrations with S3?S3 event notifications invoke functions asynchronously.
- Lambda integration with API Gateway?Proxy integration for REST/HTTP APIs.
- Lambda integration with SQS?Event source mapping polls the queue and invokes in batches.
- Lambda integration with Step Functions?Tasks invoke functions with retries and catches.
- Lambda integration with Cognito?Triggers for pre sign-up, post confirmation, token generation, etc.
- Resource-based policy for Lambda?Grants other services/accounts permission to invoke (lambda:InvokeFunction).
- Execution role vs resource policy?Execution role: what Lambda can access. Resource policy: who can invoke Lambda.
- S3 trigger fails to invoke Lambda. Fix?Add resource-based permission for s3.amazonaws.com with source ARN/account.