Amazon ECS, AWS Lambda, AWS Batch and AWS Lightsail Exam Flashcards
Amazon ECS (Elastic Container Service)
Q: What is Amazon ECS?
A: A fully managed container orchestration service for running, stopping, and managing Docker containers on AWS.
Q: What are the two launch types supported by ECS?
A: EC2 (user-managed servers) and Fargate (serverless, AWS-managed compute).
Q: What is a Task Definition in ECS?
A: A blueprint that describes how a Docker container should run, including image, CPU, memory, and networking.
Q: How does ECS integrate with other AWS services?
A: ECS integrates with IAM, VPC, CloudWatch, ELB, and ECR for security, networking, monitoring, load balancing, and image storage.
AWS Lambda
Q: What is AWS Lambda?
A: A serverless compute service that runs code in response to events without provisioning or managing servers.
Q: Name three common event sources for Lambda functions.
A: Amazon S3, API Gateway, DynamoDB Streams.
Q: How is Lambda billed?
A: Based on the number of requests and the compute time consumed (measured in milliseconds).
Q: What languages are supported by AWS Lambda?
A: Node.js, Python, Java, Go, Ruby, .NET, and more.
AWS Batch
Q: What is AWS Batch?
A: A fully managed service for running batch computing workloads at any scale, automatically provisioning compute resources.
Q: What types of compute environments does AWS Batch support?
A: Managed (AWS provisions resources) and unmanaged (user manages resources).
Q: What is a Job Definition in AWS Batch?
A: A specification of how to run a batch job, including Docker image, vCPU, memory, and environment variables.
Q: Name a typical use case for AWS Batch.
A: Large-scale data processing, scientific simulations, or media transcoding.
AWS Lightsail
Q: What is AWS Lightsail?
A: A simplified cloud platform for deploying and managing virtual private servers (VPS), databases, and networking.
Q: What are Lightsail blueprints?
A: Pre-configured application stacks or OS images (e.g., WordPress, LAMP, Ubuntu) for quick deployment.
Q: How does Lightsail differ from EC2?
A: Lightsail offers simplified pricing, management, and setup, targeting small businesses and developers.
Q: Can Lightsail instances be connected to other AWS services?
A: Yes, Lightsail can be connected to VPCs, S3, and other AWS resources for extended functionality.
