AWS AWS Compute Services 2 — Questions and Answers
Question 1: Which AWS service lets you run containers without provisioning or managing underlying EC2 instances?
- Amazon ECR
- AWS Fargate (Correct answer)
- Amazon EKS Anywhere
- AWS App Runner
Correct answer: AWS Fargate
AWS Fargate is a serverless compute engine for containers that removes the need to manage EC2 instances.
Question 2: Which EC2 Auto Scaling feature automatically replaces instances that fail EC2 status checks or ELB health checks?
- Predictive scaling
- Health check replacement (Correct answer)
- Lifecycle hooks
- Warm pools
Correct answer: Health check replacement
Auto Scaling health check replacement terminates unhealthy instances and launches new ones to maintain the desired capacity.
Question 3: Which EC2 instance family is specifically designed for memory-intensive workloads such as large in-memory databases?
- C-family
- T-family
- R-family (Correct answer)
- P-family
Correct answer: R-family
R-family instances (e.g., r6g, r7i) are memory-optimized and suited for high-memory workloads like SAP HANA and large caches.
Question 4: What is the minimum memory that can be configured for an AWS Lambda function?
- 64 MB
- 128 MB (Correct answer)
- 256 MB
- 512 MB
Correct answer: 128 MB
Lambda functions can be configured with as little as 128 MB of memory, scaling up to 10,240 MB.
Question 5: Which AWS service provides a managed platform for running Docker containers on a cluster of EC2 instances?
- Amazon EKS
- Amazon ECS (Correct answer)
- AWS Elastic Beanstalk
- AWS App Runner
Correct answer: Amazon ECS
Amazon ECS (Elastic Container Service) is AWS's managed container orchestration service for running Docker workloads on EC2 or Fargate.
Question 6: Which Lambda feature allows a function to communicate with resources inside a private VPC, such as an RDS database?
- Lambda Layers
- VPC Configuration (Correct answer)
- Lambda Extensions
- Resource Policies
Correct answer: VPC Configuration
Configuring VPC settings on a Lambda function attaches elastic network interfaces so the function can reach private VPC resources.
Which AWS service lets you run containers without provisioning or managing underlying EC2 instances?