Bash, the Crucial Exams Chat Bot
AI Bot
Serverless Architecture Essentials Flashcards
AWS Certified Developer Associate DVA-C02 Flashcards
| Front | Back |
| Describe the best practice for error handling in Lambda functions. | Implement retries, use Dead Letter Queues (DLQs), and handle exceptions gracefully within the code. |
| Describe the pricing model for AWS Lambda. | You are charged based on the number of requests and the duration of code execution, measured in milliseconds. |
| Describe the use of environment variables in Lambda functions. | They allow you to pass configuration settings to functions without hardcoding them, enabling flexibility and security. |
| Explain the integration between Lambda and DynamoDB. | Lambda functions can be triggered by DynamoDB streams to respond to data modifications in real-time. |
| Explain the Serverless Design Pattern "API Composition" | Combining multiple backend services into a single API endpoint using API Gateway and Lambda. |
| How can you scale serverless applications on AWS? | By leveraging the automatic scaling capabilities of services like Lambda, API Gateway, and DynamoDB without managing infrastructure. |
| How do Step Functions manage state in workflows? | They maintain the state of each step, ensuring the workflow progresses correctly through each task. |
| How does API Gateway handle authorization? | It integrates with AWS IAM, Cognito, and custom authorizers to secure API endpoints. |
| What are AWS Step Functions? | A serverless orchestration service that allows you to sequence AWS Lambda functions and other AWS services into workflows. |
| What are the benefits of using microservices in a serverless architecture? | Improved scalability, flexibility, independent deployments, and better fault isolation. |
| What is a cold start in AWS Lambda? | The latency that occurs when a Lambda function is invoked for the first time or after being idle, due to initialization. |
| What is Amazon API Gateway? | A fully managed service that enables developers to create, publish, maintain, monitor, and secure APIs. |
| What is an API Gateway Proxy Integration? | A setup where API Gateway passes the entire request to a Lambda function and uses the function's response directly. |
| What is AWS Lambda? | A serverless compute service that runs code in response to events. |
| What is the difference between synchronous and asynchronous Lambda invocations? | Synchronous invocations wait for the function to process and return a response, while asynchronous invocations proceed without waiting for a response. |
| What is the event-driven architecture in serverless? | A design paradigm where services communicate through events, triggering functions in response to changes or actions. |
| What is the importance of idempotency in serverless functions? | Ensures that multiple identical requests have the same effect as a single request, preventing unintended side effects. |
| What is the purpose of AWS SAM (Serverless Application Model)? | A framework for building serverless applications by defining serverless resources in a simplified syntax. |
| What is the role of IAM in serverless architectures? | To manage access permissions and securely control access to AWS resources. |
| What is the use of Amazon CloudWatch in serverless applications? | To monitor, log, and set alarms for metrics related to serverless services like Lambda and API Gateway. |
This deck delves into AWS serverless technologies such as Lambda, API Gateway, and Step Functions, focusing on design patterns, integration, and best practices for building and scaling serverless applications.