8. Other Compute Flashcards

1
Q

What is Docker?

A

Docker is a software development platform to deploy apps in containers that can run on any OS.

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

Fill in the blank: Docker images are stored in Docker _____

A

repositories

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

True or False: Docker containers are highly dependent on the underlying OS.

A

False

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

Name a public Docker repository.

A

Docker Hub

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

Name a private Docker repository offered by Amazon.

A

Amazon ECR (Elastic Container Registry)

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

How does Docker differ from Virtual Machines?

A

Docker shares resources with the host OS, allowing multiple containers on one server without needing separate OS instances.

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

What does ECS stand for in AWS?

A

Elastic Container Service

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

True or False: AWS ECS requires users to manage the infrastructure manually.

A

True

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

Fill in the blank: Fargate allows you to run containers on AWS without _____

A

provisioning the infrastructure (serverless)

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

Name two container orchestration services on AWS.

A

ECS and Fargate

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

What is AWS Lambda?

A

A serverless compute service that runs code in response to events.

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

True or False: AWS Lambda requires continuous server management.

A

False

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

What type of execution model does AWS Lambda support?

A

Event-driven, running code only when triggered by events.

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

Fill in the blank: AWS Lambda pricing is based on the number of requests and _____

A

compute time

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

What is a primary advantage of AWS Lambda over EC2?

A

Lambda requires no server management and scales automatically.

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

List two supported languages for AWS Lambda.

A

Node.js, Python

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

True or False: AWS Lambda can run for unlimited time per invocation.

A

False

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

Fill in the blank: Serverless does not mean there are no servers, but rather, developers don’t _____ them.

A

manage

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

Give an example of a serverless use case for AWS Lambda.

A

Creating a thumbnail for images uploaded to S3.

20
Q

Name an AWS service for building serverless APIs.

A

Amazon API Gateway

21
Q

True or False: AWS Batch is used for continuous job processing.

A

False

22
Q

What does AWS Batch do?

A

It runs batch processing jobs on a managed scale, automatically handling the compute resources needed.

23
Q

Compare Lambda and Batch: Which has a time limit on job execution?

A

Lambda has a time limit; Batch does not.

24
Q

Fill in the blank: AWS Batch jobs are defined as _____ and run on ECS.

A

Docker images

25
Q

True or False: Amazon Lightsail offers automatic scaling and extensive AWS integrations.

A

False

26
Q

What kind of user is Amazon Lightsail designed for?

A

Users with little cloud experience who need simple applications or databases.

27
Q

List two use cases for Amazon Lightsail.

A

Simple web applications, websites using templates like WordPress or Joomla.

28
Q

Fill in the blank: AWS Fargate is a _____ offering, meaning it abstracts away server management.

A

serverless

29
Q

What is the purpose of Amazon ECR?

A

To store private Docker images for use with ECS or Fargate.

30
Q

True or False: AWS API Gateway can only create RESTful APIs.

A

False

31
Q

Fill in the blank: API Gateway provides support for user _____, API keys, and throttling.

A

authentication

32
Q

What is the main purpose of AWS Lambda’s integration with CloudWatch?

A

For monitoring and logging Lambda function activity.

33
Q

Fill in the blank: AWS Lambda is limited to running functions for a maximum of _____ minutes per invocation.

A

15

34
Q

Name two AWS services that are fully serverless.

A

Lambda, Fargate

35
Q

What is a container in the context of Docker?

A

A lightweight, standalone executable package of software that includes everything needed to run it.

36
Q

True or False: Docker images can be shared publicly or privately.

A

True

37
Q

Fill in the blank: With serverless computing, developers deploy functions instead of _____

A

servers

38
Q

What is the main billing method for AWS Lambda?

A

Charges are based on the time the function runs and the memory allocated.

39
Q

Explain a typical use case for API Gateway.

A

To expose Lambda functions as HTTP APIs for web or mobile apps.

40
Q

Compare Docker and VMs: Which one requires an individual OS per instance?

A

VMs require an individual OS per instance, whereas Docker shares the host OS.

41
Q

Fill in the blank: Docker can work with any language, OS, or _____ technology.

A

technology

42
Q

What does the AWS Batch service use for disk storage?

A

It relies on EBS or instance store.

43
Q

List two programming languages supported by AWS Lambda.

A

Node.js, Python

44
Q

True or False: Fargate requires the user to manage EC2 instances.

A

False

45
Q

Name a benefit of using AWS Lambda’s free tier.

A

1,000,000 free requests and 400,000 GB-seconds of compute time per month.

46
Q

Which AWS service helps you create, publish, and monitor APIs with scalability?

A

Amazon API Gateway