CH3: EC2 Flashcards

(100 cards)

1
Q

EC2

Secure, resizable compute capacity in the cloud

A

Elastic Compute Cloud

EC2

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

EC2

A VM hosted at AWS

A

Not your own data center

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

EC2

Designed to make web-scale computing easier for

A

Developers

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

EC2

Gives you the capacity that you want

A

When you need it

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

EC2

Gives you autonomy with your

A

Own instances

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

EC2

You pay for

A

What you use

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

EC2

Takes guessing out of capacity management

A

Grow and shrink capacity as needed

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

EC2

You can set up and go global in

A

Minutes

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

EC2 Instance Types

Offers different compute, memory, and storage capabilities.

A

Instance Type

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

EC2 Instance Types

Grouped into

A

Families

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

EC2 Instance Types

Select an instance type based on

A

The requirements of your application.

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

IOPS -vs- Throughput

Measures the number of read and write operations per second

A

IOPS

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

IOPS -vs- Throughput

Important metric for quick transactions, low latency apps and transactional workloads

A

IOPS

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

IOPS -vs- Throughput

The ability read and write very quickly

A

IOPS

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

IOPS -vs- Throughput

For applications that require greater than 16,000 IOPS use

A

Provisioned IOPS SSD - (io1 or io2)

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

IOPS -vs- Throughput

Measures the number of bits read or written per second (MB/s)

A

Throughput

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

IOPS -vs- Throughput

Important metric for large datasets, large I/O sizes and complex queries.

A

Throughput

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

IOPS -vs- Throughput

The ability to deal with large datasets

A

Throughput

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

IOPS -vs- Throughput

For specific requirements and dealing with large amounts of data use

A

Throughput Optimized

st1

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

EBS

Highly available and scalable storage volumes you can attach to an EC2 instance

A

Elastic Block Store

SDD Volumes

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

EBS - SDD Volume

Suitable for boot disks and general purpose applications

A

gp2.

General Purpose SSD

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

EBS - gp2

IOPS up to

A

16,000 per volume

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

EBS - gp2

durability

A

up to 99.9%

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

EBS - SDD Volume

Suitable for OLTP and latency-sensitive applications.

A

io1

Provisioned IOPS SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
EBS - Provisioned IOPS SSD - io1 La Zero
50
26
EBS - Provisioned IOPS SSD - io1 IOPS
Up to 64,000 per volume
27
EBS - Provisioned IOPS SSD - io1 High performance and most expensive
Provisioned IOPS SSD
28
EBS - Provisioned IOPS SSD - io1 Durability
Up to 99.9%
29
EBS - Provisioned IOPS SSD - io2 Suitable for OLTP and latency sensitive applications
Io2
30
EBS - Provisioned IOPS SSD - io2 IOPS/Gib
500
31
EBS - Provisioned IOPS SSD - io2 Up to IOPS per volume
64,000
32
EBS - Provisioned IOPS SSD - io2 durability
99.999% 5 9s
33
EBS - Provisioned IOPS SSD - io2 Latest generation
Io2
34
EBS - HDD Volumes Highly available and scalable storage volumes you can attach to an EC2 instance
Elastic Block Store - HDD volumes
35
EBS - HDD - st1 Suitable for Big Data, data warehouses, ETL
Throughput Optimized HDD
36
EBS - Throughput Optimized HDD Max throughput per volume
500
37
EBS - Throughput Optimized HDD Not suitable as this sort of volume
Boot
38
EBS - Throughput Optimized HDD durability
99.9%
39
EBS - HDD - sc1 Max throughput of 250 Mbs per volume
Cold HDD
40
EBS - Cold HDD for data that is
less frequently accessed
41
EBS - Cold HDD NOT suitable as this sort of volume
BOOT
42
EBS - Cold HDD This one is the lowest
cost
43
EBS - Cold HDD durability
99.9%
44
EBS Snapshot If you create an EBS volume from and encrypted snapshot, then you have an
Encrypted Volume
45
EBS Snapshot If the snapshot is unencrypted, then any volume that you create from it is also going to be
Unencrypted
46
ELB HTTP/HTTPS intelligent load balancing that routes requests to a specific web server based on the type of request
Application Load Balancer
47
ELB Provides high-performance load balancing for TCP traffic
Network Load Balancer
48
ELB The legacy option that supports both HTTP/HTTPS and TCP traffic.
Classic Load Balancer
49
ELB If you need the IPv4 address of your end user, look for this header
X-Forwarded-For
50
ELB The application is not responding within the timeout period.
Gateway Timeout. 504 Error
51
CLI Give users the minimum amount of access required
Least Privilege
52
CLI Your users will automatically inherit permissions from this
Group
53
CLI Group permissions are assigned using
Policy Documents
54
CLI You will see this only once and if you do not save it or delete it it can be regenerated.
Secret Access Key
55
CLI Each time you create or regenerate key pairs this will have to be done
Run AWS Configure
56
CLI Do not create just one access key and share that with all of your developers If someone leaves the company on bad terms, then you will need to delete the key and create a new one - and everyone would need to update their keys
SO create one key pair per developer
57
CLI CLI is useable on all of the major OS
PC, Mac, Linux
58
CLI Pagination If you see errors like "timed out" or errors related to too many results returned
Adjust pagination
59
EC2_WithS3Role You can use these to avoid using Access Key IDs and Secret Access Keys
Roles
60
EC2_WithS3Role From a security perspective these are a preferred method of access
Roles
61
EC2_WithS3Role Roles are controlled by
Policies
62
EC2_WithS3Role When you change a policy on a role the effect is
Immediate
63
EC2_WithS3Role While running EC2 instances you do this with roles without having to stop the instance,
Attach and Detach them
64
RDS. - SOMPAM Six database types in RDS
``` SQL Server Oracle MySql PostGresSQL Aurora MariaDB ```
65
RDS - Non Relational Database Collection =
Table
66
RDS - Non Relational Database Document =
Row
67
RDS - Non Relational Database Key Value Pairs =
Fields
68
RDS NoSQL uses this instead
JSON
69
RDS Used for business intelligence and examples are tools like Cognos, Jaspersoft, SQL Server Reporting Services, Oracle Hyperian and SAP NetWeaver.
Data Warehousing
70
RDS - Data Warehousing
Used to pull in very large and complex data sets - usually used by management to do queries on data
71
RDS - BOLAP Used for business and run in data warehouses
Online Analytics Processing BOLAP Data Warehousing
72
RDS Web service that makes it easy to deploy, operate and scale an in-memory cache in the cloud and improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches, instead of relying entirely on disk-based databases.
Elasticache
73
RDS - Elasticache Types
MemcacheD --AND-- Redis
74
RDS - An exact copy of your production databases in another AZ
Multi-AZ
75
RDS What is the Multi-AZ scenario used for
Disaster Recovery
76
RDS How does the Multi-AZ scenario work
In the event of a failure, RDS will automatically failover to the standby instance.
77
RDS A read-only copy of your PRIMARY database in the same AZ, cross-AZ or cross-region.
Read Replica
78
RDS What is the a Read Replica used for?
To increase or to scale read performance.
79
RDS What is a Read Replica great for?
Business intelligence reporting jobs Read-heavy workloads and takes the load off your primary database for read only workloads
80
RDS Automated, enabled by default, you define the backup window
Automated Backup
81
RDS Point-in-time snapshot plus transaction logs.
Automated Backup
82
RDS Automated Backup retention period
1 - 35 days
83
RDS How can an automated backup be used to restore your database within a retention period?
By recovering it to any point of time within the retention period.
84
RDS These are user-initiated and ad-hoc
DB Snapshot
85
RDS What period of time does a D Snapshot cover
Point-in-time snapshot only
86
RDS What is the retention period of a DB Snapshot
None
87
RDS What is a use case of a DB-Snapshot
Used to back up your database instance to a known state and restore to that point in time. IE - before making a change to the database.
88
RDS - Encryption Enable encryption at creation to include
all underlying storage, automated backups, snapshots, logs and read replicas.
89
RDS - Encryption Uses this service for AWS-256 encryption.
AWS Key Management Service
90
RDS - Encryption If you have an unencrypted instance and you need to encrypt it.
Take a snapshot Encrypt snapshot Create NEW RDS instance from the encrypted snapshot.
91
ElastiCache In-memory, key-value data store types
REDIS --AND-- MemcacheD
92
ElastiCache If object caching is your primary goal
MemcacheD
93
ElastiCache You want to keep caching as simple as possible
MemcacheD
94
ElastiCache If you are performing data sorting and ranking such as gaming leaderboards
Redis Red sorting hat
95
ElastiCache You have advanced datatypes such as lists and hashes
Redis
96
ElastiCache When you need caching to span multi-az or to be persistent
Redis
97
Parameter Store The purpose is to store
Confidential Information Passwords Database connection strings License codes
98
Parameter Store You can store values as plain text or
They can be encrypted
99
Parameter Store You can reference your parameters using
Parameter Name Bootstrap Script
100
Parameter Store Integrates with many AWS services
EC2, CloudFormation, Lambda, CodeBuild, CodePipeline and CodeDeploy.