AWS: Compute Flashcards

(60 cards)

1
Q

With ________ you launch virtual server instances on the AWS Cloud.

A

Amazon EC2

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

Key pairs are used to securely connect to EC2 instances. What do key pairs consist of?

A

a public key that AWS stores, and a private key that you store

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

________ is data that is supplied by the user at instance launch in the form of a script.

A

User data

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

_________ is data about your instance that you can use to configure or manage the running instance.

A

Instance metadata

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

True or False: User data and metadata are not encrypted.

A

True

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

Instance metadata and Instance user data are available at …?

A

Instance metadata: http://169.254.169.254/latest/meta-data/

Instance user data: http://169.254.169.254/latest/user-data

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

The ____________ tool allows you to query the instance metadata without having to type out the full URI or category names.

A

Instance Metadata Query

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

_________ instances are ideal for short term needs or unpredictable workloads. They are charged by the hour or second, and there is no commitment.

A

On Demand

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

________ are available at up to 90% discount compared to In Demand prices. These instances are ideal for cost-sensitive, compute intensive use cases that can withstand interruption.

A

Spot Instances

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

________ instances offer significant discounts over On Demand pricing, but there is a commitment of 1 or 3 years. These instances are ideal for steady-state workloads and predictable usage.

A

Reserved

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

________ are dedicated just for your use. It is the most expensive option, and can only run one EC2 instance size and type.

A

Dedicated Hosts

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

________ are virtualized instances on hardware just for you. Uses physically dedicated EC2 servers.

A

Dedicated Instances

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

A1, T3, T3a, T2, M5, M5a, M4 instance sizes belong to the ________ instance type. _______ instances provide a balance of compute, memory, and networking resources, and can be used for a variety of diverse workloads.

A

General Purpose

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

C5, C5n, C4 instance sizes belong to the ________ instance type. These instances are ideal for compute bound applications that benefit from high performance processors.

A

Compute Optimized

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

R5, R5a, R4, X1e, X1, High Memory, z1d instance sizes belong to the __________ instance type. These instances are designed to deliver fast performance for workloads that process large data sets in memory.

A

Memory Optimized

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

P3, P2, G4, G3, F1 instance sizes belong to the _________ instance type. These instances use hardware accelerators to perform functions like floating-point number calculations, graphics processing, or data pattern matching.

A

Accelerated Computing

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

I3, I3en, D2, H1 instance sizes belong to the _______ instance type. These instances provide NVMe SSD-backed instance storage optimized for low latency, very high random I/O performance, high sequential read throughput, and provide high IOPS at a low cost.

A

Storage Optimized

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

An ______ provides the information required to launch an instance. You can only launch an ____ from the region it was stored.

A

AMI

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

Volumes attached to an AMI launched instance are either ____ or ________.

A

EBS

Instance Store

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

________ provides persistent storage. Snapshots which reside on Amazon S3 are used to create the volume.

A

Amazon Elastic Block Store (EBS)

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

_______ volumes are non-persistent. This means that data is lost if the instance is shut down. A template stored on Amazon S3 is used to create the volume.

A

Instance Store

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

There are three types of IP addressed that can be assigned to an EC2 instance:

A

Public: lost when instance is stopped
Private: retained when instance is stopped
Elastic IP: retained when instance is stopped

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

_______ are more secure than storing access keys and secret access keys on EC2 instances. They are easier to manage, and you can attach an ______ to an instance at launch time or by using the AWS CLI, SDK, or EC2 console.

A

IAM roles

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

True or False: EC2 status checks are performed every minute and each returns a pass or a fail status.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
If all checks pass from an EC2 status check, the overall status is ____. If one or more checks fail, the status is _______.
OK | impaired
26
______________ detect problems with your instance that require AWS involvement to repair.
System status checks
27
__________ detect problems that require your involvement to repair.
Instance status checks
28
You can create _________ alarms that monitor EC2 instances and automatically perform an action if the status check fails.
CloudWatch
29
A ____ is a label that you assign to an AWS resource, and is used to manage AWS assets.
Tag
30
____________ is a highly scalable, high-performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of EC2 instances.
Amazon Elastic Container Service (ECS)
31
Using __________ you can launch and stop container-enabled applications, query the complete state of clusters, and access many familiar features like security groups, Elastic Load Balancing, EBS volumes, and IAM roles.
API calls
32
It is possible to use _________ to handle the provisioning of an ECS cluster, balancing load, auto-scaling, monitoring, and placing your containers across your cluster.
Elastic Beanstalk
33
An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted. There are two launch types:
Fargate | EC2
34
The _______ ECS launch type allows you to run containerized applications without the need to provision and manage backend infrastructure.
Fargate
35
The _____ ECS launch type allows you to run your containerized applicaitons on a cluster of EC2 instances that you manage.
EC2
36
_______ are a logical grouping of container instances that you can place tasks on. A default is created, but you can then create multiple to separate resources.
ECS Clusters
37
True or False: Clusters are region-specific.
True
38
______ are created from a read-only template called an image which as the instructions for creating a Docker container.
Containers
39
______ are built from a Dockerfile. They are stored in a registry such as DockerHub or AWS Elastic Container Registry (ECR).
Images
40
True or False: Docker containers are not supported on ECS.
False. Only Docker containers are supported on ECS.
41
______ is a managed AWS Docker registry service that is secure, scalable, and reliable. It supports private Docker repositories with resource-based permissions using AWS IAM in order to access repositories and images.
ECR
42
We can use the ______ to push, pull, and manage images.
Docker CLI
43
A ________ is a text file in JSON format that describes one or more containers, and uses Docker images to launch containers.
Task Definition
44
True or False: A task definition is required to run Docker containers in Amazon ECS.
True
45
A ___________ is an algorithm for selecting instances for task placement or tasks for termination. They can be specified when either running a task or creating a new service.
task placement strategy
46
Amazon ECS supports which task placement strategies?
binpack: place tasks based on the least available amount of CPU/memory random: place tasks randomly spread: place tasks evenly based on the specified value
47
__________ are expressions that enable you to group objects.
Cluster queries
48
Amazon ECS service can optionally be configured to use ___________ to adjust the desired task count up or down automatically.
Service Auto Scaling
49
_____________ is a fully-managed Docker container registry that makes it easy for developers to store, manage, and deploy Docker container images.
Amazon Elastic Container Registry (ECR)
50
___________ automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses.
Elastic Load Balancing
51
There are three types of Elastic Load Balancer (ELB) on AWS:
Classic Load Balancer (CLB) – this is the oldest of the three and provides basic load balancing at both layer 4 and layer 7 (TCP/SSL/HTTP/HTTPS). Application Load Balancer (ALB) – layer 7 (HTTP/HTTPS) load balancer that routes connections based on the content of the request. Network Load Balancer (NLB) – layer 4 (TCP) load balancer that routes connections based on IP protocol data.
52
___________ control the ports and protocols that can reach the front end listener.
Security groups
53
__________ monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost.
AWS Auto Scaling
54
The services within the AWS Auto Scaling family include:
Amazon EC2 (known as Amazon EC2 Auto Scaling) Amazon ECS Amazon DynamoDB Amazon Aurora
55
True or False: Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application.
True
56
Auto Scaling provides ______ scaling for your instances.
horizontal scaling (scale-out)
57
__________ is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you.
AWS Lambda
58
You can use ________ to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.
AWS Lambda
59
AWS Lambda can automatically run code in response to multiple events, such as ...
HTTP requests via Amazon API Gateway modifications to objects in Amazon S3 buckets table updates in Amazon DynamoDB and state transitions in AWS Step Functions
60
With AWS Lambda, you are charged based on ...
the number of requests for your functions and the time it takes for your code to execute.