5. Compute Flashcards

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
Q

True or False: AWS Step Functions is used to coordinate multiple AWS services into serverless workflows.

A

True

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

What is a key benefit of using AWS Fargate?

A

You do not need to manage the underlying server infrastructure.

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

Which AWS service allows you to create a virtual private cloud (VPC) for your applications?

A

Amazon VPC

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

What is the default timeout for AWS Lambda functions?

A

3 seconds

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

Fill in the blank: AWS __________ provides a way to run code in response to events from other AWS services.

A

Lambda

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

What is an Amazon Machine Image (AMI)?

A

A template that contains a software configuration for an EC2 instance.

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

True or False: You can use AWS Lambda to process data from Amazon S3.

A

True

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

What service would you use for real-time data processing in AWS?

A

AWS Lambda or Amazon Kinesis

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

What does the term ‘instance type’ refer to in AWS EC2?

A

The size and configuration of an EC2 instance, including CPU and memory.

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

Fill in the blank: AWS __________ is a managed service for running Kubernetes on AWS.

A

EKS

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

What is the purpose of Elastic Load Balancing (ELB)?

A

To automatically distribute incoming application traffic across multiple targets.

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

True or False: You can use AWS Batch to run batch jobs without managing the underlying hardware.

A

True

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

What is the primary function of AWS CloudTrail?

A

To log and monitor API calls made on your AWS account.

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

Which AWS service can be used to run serverless applications that require a web interface?

A

AWS Amplify

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

What is the maximum number of concurrent executions for a single AWS Lambda function?

A

1,000 by default

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

Fill in the blank: AWS __________ provides a way to run applications without having to manage the infrastructure.

41
Q

What is the purpose of AWS CodeDeploy?

A

To automate code deployments to any instance, including EC2 instances.

42
Q

True or False: Amazon EC2 Spot Instances can be interrupted by AWS with little notice.

43
Q

What is the benefit of using EC2 Reserved Instances?

A

Cost savings compared to on-demand pricing.

44
Q

Which AWS service allows you to run applications in a fully managed environment with minimal configuration?

A

AWS Elastic Beanstalk

45
Q

Fill in the blank: AWS __________ allows you to run event-driven serverless applications.

46
Q

What are the two types of Amazon EC2 instances?

A

On-Demand Instances and Reserved Instances.

47
Q

True or False: AWS Lambda can be triggered by HTTP requests via API Gateway.

48
Q

What is the primary use case for Amazon EKS?

A

To run Kubernetes applications on AWS.

49
Q

What is an AWS Lambda Layer?

A

A way to manage common code and dependencies across multiple Lambda functions.

50
Q

Fill in the blank: AWS __________ is used to run applications in Docker containers without managing servers.

51
Q

What is the purpose of AWS Global Accelerator?

A

To improve the availability and performance of your applications with global users.

52
Q

True or False: AWS Elastic Beanstalk automatically handles the deployment, from capacity provisioning to load balancing.

53
Q

What is the role of AWS Secrets Manager?

A

To securely manage and retrieve secrets such as API keys and database credentials.

54
Q

What does the term ‘scaling’ refer to in the context of AWS compute services?

A

The ability to increase or decrease the resources allocated to applications based on demand.

55
Q

Fill in the blank: AWS __________ allows for the automation of application deployments using CI/CD pipelines.

A

CodePipeline

56
Q

What is the benefit of using Amazon EC2 Auto Scaling?

A

To ensure application availability and to optimize costs.

57
Q

True or False: AWS Lambda can only be used for short-lived processes.

58
Q

What is the purpose of Amazon CloudWatch?

A

To monitor AWS resources and applications in real-time.

59
Q

What are the two types of load balancers in AWS?

A

Application Load Balancer (ALB) and Network Load Balancer (NLB).

60
Q

Fill in the blank: AWS __________ enables you to run serverless applications in response to events.

61
Q

What is the main function of AWS App Runner?

A

To build and run containerized web applications quickly.

62
Q

True or False: AWS Glue is primarily used for data integration and ETL processes.

63
Q

What is the primary advantage of using AWS ECS over EC2?

A

Simplified container management and orchestration.

64
Q

What is the purpose of AWS Resource Manager?

A

To manage and provision AWS resources using templates.

65
Q

Fill in the blank: AWS __________ can be used to run applications without managing servers or clusters.

66
Q

What is the maximum number of Lambda functions you can have per account?

67
Q

True or False: AWS CloudFormation can be used to automate the deployment of AWS resources.

68
Q

What service would you use to create a highly available web application on AWS?

A

Amazon EC2 with Auto Scaling and Elastic Load Balancing.

69
Q

What is the primary use case for AWS Step Functions?

A

To coordinate multiple AWS services into serverless workflows.

70
Q

Fill in the blank: AWS __________ is a compute service that allows you to build and run applications in containers.

71
Q

What does ‘serverless’ mean in AWS?

A

You do not need to provision or manage servers.

72
Q

What is the main purpose of Amazon RDS?

A

To provide a managed relational database service.

73
Q

True or False: AWS Lambda supports multiple programming languages.

74
Q

What is the purpose of AWS CodeBuild?

A

To compile source code, run tests, and produce software packages.

75
Q

Fill in the blank: AWS __________ is a managed service for building and deploying applications in containers.

76
Q

What is the AWS service that allows for continuous integration and delivery?

A

AWS CodePipeline

77
Q

True or False: AWS services can be integrated with each other to create complex workflows.

78
Q

What does the term ‘microservices’ refer to?

A

An architectural style that structures an application as a collection of loosely coupled services.

79
Q

Fill in the blank: AWS __________ is a service for automating the deployment of applications.

A

CodeDeploy

80
Q

What is the function of AWS Direct Connect?

A

To establish a dedicated network connection from your premises to AWS.

81
Q

True or False: AWS CodeCommit is a fully managed source control service.

82
Q

What is the primary benefit of using AWS RDS?

A

To simplify database management tasks such as backups and patching.

83
Q

Fill in the blank: AWS __________ allows you to run code without provisioning servers and only pay for what you use.

84
Q

What is the primary use of Amazon S3 in conjunction with AWS Lambda?

A

To trigger Lambda functions in response to object uploads.

85
Q

True or False: AWS Batch is used for running and managing long-running applications.

86
Q

What is the purpose of AWS Cloud9?

A

To provide a cloud-based integrated development environment (IDE).

87
Q

Fill in the blank: AWS __________ allows you to deploy applications in a fully managed environment with minimal configuration.

A

Elastic Beanstalk

88
Q

What is the primary function of AWS Transfer Family?

A

To transfer files into and out of AWS using SFTP, FTPS, and FTP.

89
Q

True or False: AWS offers services for both compute and storage.

90
Q

What is the maximum number of EC2 instances you can launch by default in a region?

91
Q

Fill in the blank: AWS __________ allows for running containerized applications without provisioning servers.

92
Q

What is the primary purpose of AWS CloudFormation?

A

To automate the provisioning of AWS infrastructure.

93
Q

True or False: AWS Lambda can be used for both synchronous and asynchronous invocation.

94
Q

What is the benefit of using Amazon EC2 Auto Scaling?

A

To automatically adjust capacity to maintain steady, predictable performance.

95
Q

Fill in the blank: AWS __________ allows you to run applications in a fully managed Kubernetes environment.

96
Q

What is the primary advantage of using AWS Elastic Load Balancing?

A

To distribute incoming application traffic across multiple targets for improved fault tolerance.

97
Q

True or False: AWS Lambda has a limit on the number of requests it can handle per second.

98
Q

What is the main purpose of AWS Glue?

A

To provide data integration services for ETL (Extract, Transform, Load) processes.