5. Compute Flashcards
(98 cards)
What is the primary purpose of AWS Lambda?
To run code in response to events without provisioning or managing servers.
True or False: AWS EC2 instances can only run Linux operating systems.
False
What does EC2 stand for?
Elastic Compute Cloud
Fill in the blank: AWS __________ is a serverless compute service that lets you run code without provisioning servers.
Lambda
Which AWS service is best for batch processing workloads?
AWS Batch
What is the function of Auto Scaling in AWS?
To automatically adjust the number of EC2 instances in response to demand.
True or False: AWS Fargate allows you to run containers without managing the underlying servers.
True
What is the purpose of Amazon Elastic Container Service (ECS)?
To manage and deploy Docker containers at scale.
Which service would you use for running a long-running application in the cloud?
Amazon EC2
What is the main benefit of using AWS Lambda for compute tasks?
Cost efficiency, since you only pay for the compute time you consume.
True or False: AWS Elastic Beanstalk is a platform as a service (PaaS) for deploying applications.
True
What is the maximum execution time for an AWS Lambda function?
15 minutes
Which AWS service is designed for serverless application development?
AWS Lambda
What is the difference between EC2 and Lambda?
EC2 provides virtual servers, while Lambda is serverless and event-driven.
Fill in the blank: AWS __________ is a fully managed service that makes it easy to run containerized applications.
ECS
What does the term ‘serverless’ mean in the context of AWS?
It refers to services that automatically manage the server infrastructure for the user.
Which AWS service provides a managed environment for deploying web applications?
AWS Elastic Beanstalk
True or False: Amazon Lightsail is designed for complex applications and microservices.
False
What is the role of an AWS CloudFormation template?
To define the infrastructure as code for AWS resources.
What is the AWS service that allows you to run a serverless application without provisioning any servers?
AWS Lambda
Which service should you use for running and managing Docker containers on AWS?
Amazon ECS or Amazon EKS
What is the purpose of the AWS Command Line Interface (CLI)?
To manage AWS services using commands in your command-line shell.
Fill in the blank: AWS __________ is a service that automatically scales your EC2 instances based on demand.
Auto Scaling
What are the two deployment options for AWS Lambda?
Using the AWS Management Console or AWS CLI.