5. Compute Flashcards

(98 cards)

1
Q

What is the primary purpose of AWS Lambda?

A

To run code in response to events without provisioning or managing servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: AWS EC2 instances can only run Linux operating systems.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does EC2 stand for?

A

Elastic Compute Cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: AWS __________ is a serverless compute service that lets you run code without provisioning servers.

A

Lambda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which AWS service is best for batch processing workloads?

A

AWS Batch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the function of Auto Scaling in AWS?

A

To automatically adjust the number of EC2 instances in response to demand.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: AWS Fargate allows you to run containers without managing the underlying servers.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of Amazon Elastic Container Service (ECS)?

A

To manage and deploy Docker containers at scale.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which service would you use for running a long-running application in the cloud?

A

Amazon EC2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the main benefit of using AWS Lambda for compute tasks?

A

Cost efficiency, since you only pay for the compute time you consume.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False: AWS Elastic Beanstalk is a platform as a service (PaaS) for deploying applications.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the maximum execution time for an AWS Lambda function?

A

15 minutes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which AWS service is designed for serverless application development?

A

AWS Lambda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the difference between EC2 and Lambda?

A

EC2 provides virtual servers, while Lambda is serverless and event-driven.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the blank: AWS __________ is a fully managed service that makes it easy to run containerized applications.

A

ECS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the term ‘serverless’ mean in the context of AWS?

A

It refers to services that automatically manage the server infrastructure for the user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which AWS service provides a managed environment for deploying web applications?

A

AWS Elastic Beanstalk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

True or False: Amazon Lightsail is designed for complex applications and microservices.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the role of an AWS CloudFormation template?

A

To define the infrastructure as code for AWS resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the AWS service that allows you to run a serverless application without provisioning any servers?

A

AWS Lambda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Which service should you use for running and managing Docker containers on AWS?

A

Amazon ECS or Amazon EKS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the purpose of the AWS Command Line Interface (CLI)?

A

To manage AWS services using commands in your command-line shell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Fill in the blank: AWS __________ is a service that automatically scales your EC2 instances based on demand.

A

Auto Scaling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are the two deployment options for AWS Lambda?

A

Using the AWS Management Console or AWS CLI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
True or False: AWS Step Functions is used to coordinate multiple AWS services into serverless workflows.
True
26
What is a key benefit of using AWS Fargate?
You do not need to manage the underlying server infrastructure.
27
Which AWS service allows you to create a virtual private cloud (VPC) for your applications?
Amazon VPC
28
What is the default timeout for AWS Lambda functions?
3 seconds
29
Fill in the blank: AWS __________ provides a way to run code in response to events from other AWS services.
Lambda
30
What is an Amazon Machine Image (AMI)?
A template that contains a software configuration for an EC2 instance.
31
True or False: You can use AWS Lambda to process data from Amazon S3.
True
32
What service would you use for real-time data processing in AWS?
AWS Lambda or Amazon Kinesis
33
What does the term 'instance type' refer to in AWS EC2?
The size and configuration of an EC2 instance, including CPU and memory.
34
Fill in the blank: AWS __________ is a managed service for running Kubernetes on AWS.
EKS
35
What is the purpose of Elastic Load Balancing (ELB)?
To automatically distribute incoming application traffic across multiple targets.
36
True or False: You can use AWS Batch to run batch jobs without managing the underlying hardware.
True
37
What is the primary function of AWS CloudTrail?
To log and monitor API calls made on your AWS account.
38
Which AWS service can be used to run serverless applications that require a web interface?
AWS Amplify
39
What is the maximum number of concurrent executions for a single AWS Lambda function?
1,000 by default
40
Fill in the blank: AWS __________ provides a way to run applications without having to manage the infrastructure.
Fargate
41
What is the purpose of AWS CodeDeploy?
To automate code deployments to any instance, including EC2 instances.
42
True or False: Amazon EC2 Spot Instances can be interrupted by AWS with little notice.
True
43
What is the benefit of using EC2 Reserved Instances?
Cost savings compared to on-demand pricing.
44
Which AWS service allows you to run applications in a fully managed environment with minimal configuration?
AWS Elastic Beanstalk
45
Fill in the blank: AWS __________ allows you to run event-driven serverless applications.
Lambda
46
What are the two types of Amazon EC2 instances?
On-Demand Instances and Reserved Instances.
47
True or False: AWS Lambda can be triggered by HTTP requests via API Gateway.
True
48
What is the primary use case for Amazon EKS?
To run Kubernetes applications on AWS.
49
What is an AWS Lambda Layer?
A way to manage common code and dependencies across multiple Lambda functions.
50
Fill in the blank: AWS __________ is used to run applications in Docker containers without managing servers.
Fargate
51
What is the purpose of AWS Global Accelerator?
To improve the availability and performance of your applications with global users.
52
True or False: AWS Elastic Beanstalk automatically handles the deployment, from capacity provisioning to load balancing.
True
53
What is the role of AWS Secrets Manager?
To securely manage and retrieve secrets such as API keys and database credentials.
54
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.
55
Fill in the blank: AWS __________ allows for the automation of application deployments using CI/CD pipelines.
CodePipeline
56
What is the benefit of using Amazon EC2 Auto Scaling?
To ensure application availability and to optimize costs.
57
True or False: AWS Lambda can only be used for short-lived processes.
False
58
What is the purpose of Amazon CloudWatch?
To monitor AWS resources and applications in real-time.
59
What are the two types of load balancers in AWS?
Application Load Balancer (ALB) and Network Load Balancer (NLB).
60
Fill in the blank: AWS __________ enables you to run serverless applications in response to events.
Lambda
61
What is the main function of AWS App Runner?
To build and run containerized web applications quickly.
62
True or False: AWS Glue is primarily used for data integration and ETL processes.
True
63
What is the primary advantage of using AWS ECS over EC2?
Simplified container management and orchestration.
64
What is the purpose of AWS Resource Manager?
To manage and provision AWS resources using templates.
65
Fill in the blank: AWS __________ can be used to run applications without managing servers or clusters.
Fargate
66
What is the maximum number of Lambda functions you can have per account?
1,000
67
True or False: AWS CloudFormation can be used to automate the deployment of AWS resources.
True
68
What service would you use to create a highly available web application on AWS?
Amazon EC2 with Auto Scaling and Elastic Load Balancing.
69
What is the primary use case for AWS Step Functions?
To coordinate multiple AWS services into serverless workflows.
70
Fill in the blank: AWS __________ is a compute service that allows you to build and run applications in containers.
ECS
71
What does 'serverless' mean in AWS?
You do not need to provision or manage servers.
72
What is the main purpose of Amazon RDS?
To provide a managed relational database service.
73
True or False: AWS Lambda supports multiple programming languages.
True
74
What is the purpose of AWS CodeBuild?
To compile source code, run tests, and produce software packages.
75
Fill in the blank: AWS __________ is a managed service for building and deploying applications in containers.
ECS
76
What is the AWS service that allows for continuous integration and delivery?
AWS CodePipeline
77
True or False: AWS services can be integrated with each other to create complex workflows.
True
78
What does the term 'microservices' refer to?
An architectural style that structures an application as a collection of loosely coupled services.
79
Fill in the blank: AWS __________ is a service for automating the deployment of applications.
CodeDeploy
80
What is the function of AWS Direct Connect?
To establish a dedicated network connection from your premises to AWS.
81
True or False: AWS CodeCommit is a fully managed source control service.
True
82
What is the primary benefit of using AWS RDS?
To simplify database management tasks such as backups and patching.
83
Fill in the blank: AWS __________ allows you to run code without provisioning servers and only pay for what you use.
Lambda
84
What is the primary use of Amazon S3 in conjunction with AWS Lambda?
To trigger Lambda functions in response to object uploads.
85
True or False: AWS Batch is used for running and managing long-running applications.
False
86
What is the purpose of AWS Cloud9?
To provide a cloud-based integrated development environment (IDE).
87
Fill in the blank: AWS __________ allows you to deploy applications in a fully managed environment with minimal configuration.
Elastic Beanstalk
88
What is the primary function of AWS Transfer Family?
To transfer files into and out of AWS using SFTP, FTPS, and FTP.
89
True or False: AWS offers services for both compute and storage.
True
90
What is the maximum number of EC2 instances you can launch by default in a region?
20
91
Fill in the blank: AWS __________ allows for running containerized applications without provisioning servers.
Fargate
92
What is the primary purpose of AWS CloudFormation?
To automate the provisioning of AWS infrastructure.
93
True or False: AWS Lambda can be used for both synchronous and asynchronous invocation.
True
94
What is the benefit of using Amazon EC2 Auto Scaling?
To automatically adjust capacity to maintain steady, predictable performance.
95
Fill in the blank: AWS __________ allows you to run applications in a fully managed Kubernetes environment.
EKS
96
What is the primary advantage of using AWS Elastic Load Balancing?
To distribute incoming application traffic across multiple targets for improved fault tolerance.
97
True or False: AWS Lambda has a limit on the number of requests it can handle per second.
True
98
What is the main purpose of AWS Glue?
To provide data integration services for ETL (Extract, Transform, Load) processes.