5. Compute Flashcards
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.
True or False: AWS Step Functions is used to coordinate multiple AWS services into serverless workflows.
True
What is a key benefit of using AWS Fargate?
You do not need to manage the underlying server infrastructure.
Which AWS service allows you to create a virtual private cloud (VPC) for your applications?
Amazon VPC
What is the default timeout for AWS Lambda functions?
3 seconds
Fill in the blank: AWS __________ provides a way to run code in response to events from other AWS services.
Lambda
What is an Amazon Machine Image (AMI)?
A template that contains a software configuration for an EC2 instance.
True or False: You can use AWS Lambda to process data from Amazon S3.
True
What service would you use for real-time data processing in AWS?
AWS Lambda or Amazon Kinesis
What does the term ‘instance type’ refer to in AWS EC2?
The size and configuration of an EC2 instance, including CPU and memory.
Fill in the blank: AWS __________ is a managed service for running Kubernetes on AWS.
EKS
What is the purpose of Elastic Load Balancing (ELB)?
To automatically distribute incoming application traffic across multiple targets.
True or False: You can use AWS Batch to run batch jobs without managing the underlying hardware.
True
What is the primary function of AWS CloudTrail?
To log and monitor API calls made on your AWS account.
Which AWS service can be used to run serverless applications that require a web interface?
AWS Amplify
What is the maximum number of concurrent executions for a single AWS Lambda function?
1,000 by default
Fill in the blank: AWS __________ provides a way to run applications without having to manage the infrastructure.
Fargate
What is the purpose of AWS CodeDeploy?
To automate code deployments to any instance, including EC2 instances.
True or False: Amazon EC2 Spot Instances can be interrupted by AWS with little notice.
True
What is the benefit of using EC2 Reserved Instances?
Cost savings compared to on-demand pricing.
Which AWS service allows you to run applications in a fully managed environment with minimal configuration?
AWS Elastic Beanstalk
Fill in the blank: AWS __________ allows you to run event-driven serverless applications.
Lambda
What are the two types of Amazon EC2 instances?
On-Demand Instances and Reserved Instances.
True or False: AWS Lambda can be triggered by HTTP requests via API Gateway.
True
What is the primary use case for Amazon EKS?
To run Kubernetes applications on AWS.
What is an AWS Lambda Layer?
A way to manage common code and dependencies across multiple Lambda functions.
Fill in the blank: AWS __________ is used to run applications in Docker containers without managing servers.
Fargate
What is the purpose of AWS Global Accelerator?
To improve the availability and performance of your applications with global users.
True or False: AWS Elastic Beanstalk automatically handles the deployment, from capacity provisioning to load balancing.
True
What is the role of AWS Secrets Manager?
To securely manage and retrieve secrets such as API keys and database credentials.
What does the term ‘scaling’ refer to in the context of AWS compute services?
The ability to increase or decrease the resources allocated to applications based on demand.
Fill in the blank: AWS __________ allows for the automation of application deployments using CI/CD pipelines.
CodePipeline
What is the benefit of using Amazon EC2 Auto Scaling?
To ensure application availability and to optimize costs.
True or False: AWS Lambda can only be used for short-lived processes.
False
What is the purpose of Amazon CloudWatch?
To monitor AWS resources and applications in real-time.
What are the two types of load balancers in AWS?
Application Load Balancer (ALB) and Network Load Balancer (NLB).
Fill in the blank: AWS __________ enables you to run serverless applications in response to events.
Lambda
What is the main function of AWS App Runner?
To build and run containerized web applications quickly.
True or False: AWS Glue is primarily used for data integration and ETL processes.
True
What is the primary advantage of using AWS ECS over EC2?
Simplified container management and orchestration.
What is the purpose of AWS Resource Manager?
To manage and provision AWS resources using templates.
Fill in the blank: AWS __________ can be used to run applications without managing servers or clusters.
Fargate
What is the maximum number of Lambda functions you can have per account?
1,000
True or False: AWS CloudFormation can be used to automate the deployment of AWS resources.
True
What service would you use to create a highly available web application on AWS?
Amazon EC2 with Auto Scaling and Elastic Load Balancing.
What is the primary use case for AWS Step Functions?
To coordinate multiple AWS services into serverless workflows.
Fill in the blank: AWS __________ is a compute service that allows you to build and run applications in containers.
ECS
What does ‘serverless’ mean in AWS?
You do not need to provision or manage servers.
What is the main purpose of Amazon RDS?
To provide a managed relational database service.
True or False: AWS Lambda supports multiple programming languages.
True
What is the purpose of AWS CodeBuild?
To compile source code, run tests, and produce software packages.
Fill in the blank: AWS __________ is a managed service for building and deploying applications in containers.
ECS
What is the AWS service that allows for continuous integration and delivery?
AWS CodePipeline
True or False: AWS services can be integrated with each other to create complex workflows.
True
What does the term ‘microservices’ refer to?
An architectural style that structures an application as a collection of loosely coupled services.
Fill in the blank: AWS __________ is a service for automating the deployment of applications.
CodeDeploy
What is the function of AWS Direct Connect?
To establish a dedicated network connection from your premises to AWS.
True or False: AWS CodeCommit is a fully managed source control service.
True
What is the primary benefit of using AWS RDS?
To simplify database management tasks such as backups and patching.
Fill in the blank: AWS __________ allows you to run code without provisioning servers and only pay for what you use.
Lambda
What is the primary use of Amazon S3 in conjunction with AWS Lambda?
To trigger Lambda functions in response to object uploads.
True or False: AWS Batch is used for running and managing long-running applications.
False
What is the purpose of AWS Cloud9?
To provide a cloud-based integrated development environment (IDE).
Fill in the blank: AWS __________ allows you to deploy applications in a fully managed environment with minimal configuration.
Elastic Beanstalk
What is the primary function of AWS Transfer Family?
To transfer files into and out of AWS using SFTP, FTPS, and FTP.
True or False: AWS offers services for both compute and storage.
True
What is the maximum number of EC2 instances you can launch by default in a region?
20
Fill in the blank: AWS __________ allows for running containerized applications without provisioning servers.
Fargate
What is the primary purpose of AWS CloudFormation?
To automate the provisioning of AWS infrastructure.
True or False: AWS Lambda can be used for both synchronous and asynchronous invocation.
True
What is the benefit of using Amazon EC2 Auto Scaling?
To automatically adjust capacity to maintain steady, predictable performance.
Fill in the blank: AWS __________ allows you to run applications in a fully managed Kubernetes environment.
EKS
What is the primary advantage of using AWS Elastic Load Balancing?
To distribute incoming application traffic across multiple targets for improved fault tolerance.
True or False: AWS Lambda has a limit on the number of requests it can handle per second.
True
What is the main purpose of AWS Glue?
To provide data integration services for ETL (Extract, Transform, Load) processes.