Serverless Architecture Flashcards
(30 cards)
What is AWS Lambda?
A serverless compute service that runs code in response to triggers without provisioning or managing servers. Limited to 15-minute runtime and up to 10 GB RAM.
What is an IAM Role in the context of AWS Lambda?
A set of permissions that AWS Lambda functions assume to interact with other AWS services securely.
What is a Lambda Trigger?
An event source that automatically invokes a Lambda function when a specified event occurs.
What is EventBridge?
A serverless event bus that connects applications using data from various sources, commonly used to trigger Lambda functions.
What is AWS Fargate?
A serverless compute engine for containers that works with Amazon ECS and EKS without managing servers.
What does Amazon ECS stand for?
Elastic Container Service, a fully managed container orchestration service used to run and scale containerized applications.
What is Amazon EKS?
Elastic Kubernetes Service, a managed Kubernetes service for running Kubernetes clusters on AWS and on-premises.
What is a Dockerfile?
A text file that contains the instructions to build a Docker image for containerized applications.
What is Amazon ECR?
Elastic Container Registry, a fully managed container image registry for securely storing, managing, and scanning container images.
What is Amazon Aurora Serverless?
An on-demand, auto-scaling version of Amazon Aurora designed for variable workloads, ideal for new applications and dev/test environments.
What is AWS X-Ray?
A service that provides insights into application performance by tracing requests across services.
What does a Trace in AWS X-Ray represent?
A record of a single request as it travels through different AWS services, showing performance data and response times.
What is Amazon API Gateway?
A fully managed service for creating, publishing, maintaining, monitoring, and securing APIs at any scale.
What is AWS AppSync?
A managed GraphQL service for building scalable front-end applications with real-time and offline capabilities.
What is GraphQL?
A query language for APIs and a runtime for executing queries, allowing clients to specify exactly what data they need.
What is critical for AWS Lambda to perform actions in other AWS services?
An IAM role must be attached to the Lambda function.
Name three common AWS services that can trigger a Lambda function.
Amazon S3, Kinesis, and EventBridge (formerly CloudWatch Events).
What is the maximum runtime for a Lambda function?
15 minutes.
What is the maximum memory allocation for a Lambda function?
10 GB.
What AWS service is faster for triggering Lambda functions than reviewing logs in CloudTrail?
EventBridge.
When should you consider Kubernetes in a serverless/container scenario?
When the solution involves open-source container management.
What AWS services allow container management both on AWS and on-premises?
Amazon EKS and EKS Anywhere.
Can AWS Fargate be used by itself?
No, it must be used with ECS or EKS.
What are the basic steps of using containers in AWS?
Write a Dockerfile, build an image, push it to a repo, and run it on a host.