CH3: EC2 Flashcards

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
Q

EBS - Provisioned IOPS SSD - io1

La Zero

A

50

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

EBS - Provisioned IOPS SSD - io1

IOPS

A

Up to 64,000 per volume

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

EBS - Provisioned IOPS SSD - io1

High performance and most expensive

A

Provisioned IOPS SSD

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

EBS - Provisioned IOPS SSD - io1

Durability

A

Up to 99.9%

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

EBS - Provisioned IOPS SSD - io2

Suitable for OLTP and latency sensitive applications

A

Io2

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

EBS - Provisioned IOPS SSD - io2

IOPS/Gib

A

500

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

EBS - Provisioned IOPS SSD - io2

Up to IOPS per volume

A

64,000

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

EBS - Provisioned IOPS SSD - io2

durability

A

99.999%

5 9s

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

EBS - Provisioned IOPS SSD - io2

Latest generation

A

Io2

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

EBS - HDD Volumes

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

A

Elastic Block Store - HDD volumes

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

EBS - HDD - st1

Suitable for Big Data, data warehouses, ETL

A

Throughput Optimized HDD

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

EBS - Throughput Optimized HDD

Max throughput per volume

A

500

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

EBS - Throughput Optimized HDD

Not suitable as this sort of volume

A

Boot

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

EBS - Throughput Optimized HDD

durability

A

99.9%

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

EBS - HDD - sc1

Max throughput of 250 Mbs per volume

A

Cold HDD

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

EBS - Cold HDD

for data that is

A

less frequently accessed

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

EBS - Cold HDD

NOT suitable as this sort of volume

A

BOOT

42
Q

EBS - Cold HDD

This one is the lowest

A

cost

43
Q

EBS - Cold HDD

durability

A

99.9%

44
Q

EBS Snapshot

If you create an EBS volume from and encrypted snapshot, then you have an

A

Encrypted Volume

45
Q

EBS Snapshot

If the snapshot is unencrypted, then any volume that you create from it is also going to be

A

Unencrypted

46
Q

ELB

HTTP/HTTPS intelligent load balancing that routes requests to a specific web server based on the type of request

A

Application Load Balancer

47
Q

ELB

Provides high-performance load balancing for TCP traffic

A

Network Load Balancer

48
Q

ELB

The legacy option that supports both HTTP/HTTPS and TCP traffic.

A

Classic Load Balancer

49
Q

ELB

If you need the IPv4 address of your end user, look for this header

A

X-Forwarded-For

50
Q

ELB

The application is not responding within the timeout period.

A

Gateway Timeout.

504 Error

51
Q

CLI

Give users the minimum amount of access required

A

Least Privilege

52
Q

CLI

Your users will automatically inherit permissions from this

A

Group

53
Q

CLI

Group permissions are assigned using

A

Policy Documents

54
Q

CLI

You will see this only once and if you do not save it or delete it it can be regenerated.

A

Secret Access Key

55
Q

CLI

Each time you create or regenerate key pairs this will have to be done

A

Run AWS Configure

56
Q

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

A

SO

create one key pair per developer

57
Q

CLI

CLI is useable on all of the major OS

A

PC, Mac, Linux

58
Q

CLI Pagination

If you see errors like “timed out” or errors related to too many results returned

A

Adjust pagination

59
Q

EC2_WithS3Role

You can use these to avoid using Access Key IDs and Secret Access Keys

A

Roles

60
Q

EC2_WithS3Role

From a security perspective these are a preferred method of access

A

Roles

61
Q

EC2_WithS3Role

Roles are controlled by

A

Policies

62
Q

EC2_WithS3Role

When you change a policy on a role the effect is

A

Immediate

63
Q

EC2_WithS3Role

While running EC2 instances you do this with roles without having to stop the instance,

A

Attach and Detach them

64
Q

RDS. - SOMPAM

Six database types in RDS

A
SQL Server
Oracle
MySql
PostGresSQL
Aurora
MariaDB
65
Q

RDS - Non Relational Database

Collection =

A

Table

66
Q

RDS - Non Relational Database

Document =

A

Row

67
Q

RDS - Non Relational Database

Key Value Pairs =

A

Fields

68
Q

RDS NoSQL uses this instead

A

JSON

69
Q

RDS

Used for business intelligence and examples are tools like Cognos, Jaspersoft, SQL Server Reporting Services, Oracle Hyperian and SAP NetWeaver.

A

Data Warehousing

70
Q

RDS - Data Warehousing

A

Used to pull in very large and complex data sets - usually used by management to do queries on data

71
Q

RDS - BOLAP

Used for business and run in data warehouses

A

Online Analytics Processing

BOLAP

Data Warehousing

72
Q

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.

A

Elasticache

73
Q

RDS - Elasticache Types

A

MemcacheD
–AND–
Redis

74
Q

RDS -

An exact copy of your production databases in another AZ

A

Multi-AZ

75
Q

RDS

What is the Multi-AZ scenario used for

A

Disaster Recovery

76
Q

RDS

How does the Multi-AZ scenario work

A

In the event of a failure, RDS will automatically failover to the standby instance.

77
Q

RDS

A read-only copy of your PRIMARY database in the same AZ, cross-AZ or cross-region.

A

Read Replica

78
Q

RDS

What is the a Read Replica used for?

A

To increase or to scale read performance.

79
Q

RDS

What is a Read Replica great for?

A

Business intelligence reporting jobs

Read-heavy workloads and takes the load off your primary database for read only workloads

80
Q

RDS

Automated, enabled by default, you define the backup window

A

Automated Backup

81
Q

RDS

Point-in-time snapshot plus transaction logs.

A

Automated Backup

82
Q

RDS

Automated Backup retention period

A

1 - 35 days

83
Q

RDS

How can an automated backup be used to restore your database within a retention period?

A

By recovering it to any point of time within the retention period.

84
Q

RDS

These are user-initiated and ad-hoc

A

DB Snapshot

85
Q

RDS

What period of time does a D Snapshot cover

A

Point-in-time snapshot only

86
Q

RDS

What is the retention period of a DB Snapshot

A

None

87
Q

RDS

What is a use case of a DB-Snapshot

A

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
Q

RDS - Encryption

Enable encryption at creation to include

A

all underlying storage, automated backups, snapshots, logs and read replicas.

89
Q

RDS - Encryption

Uses this service for AWS-256 encryption.

A

AWS Key Management Service

90
Q

RDS - Encryption

If you have an unencrypted instance and you need to encrypt it.

A

Take a snapshot
Encrypt snapshot
Create NEW RDS instance from the encrypted snapshot.

91
Q

ElastiCache

In-memory, key-value data store types

A

REDIS
–AND–
MemcacheD

92
Q

ElastiCache

If object caching is your primary goal

A

MemcacheD

93
Q

ElastiCache

You want to keep caching as simple as possible

A

MemcacheD

94
Q

ElastiCache

If you are performing data sorting and ranking such as gaming leaderboards

A

Redis

Red sorting hat

95
Q

ElastiCache

You have advanced datatypes such as lists and hashes

A

Redis

96
Q

ElastiCache

When you need caching to span multi-az or to be persistent

A

Redis

97
Q

Parameter Store

The purpose is to store

A

Confidential Information

Passwords
Database connection strings
License codes

98
Q

Parameter Store

You can store values as plain text or

A

They can be encrypted

99
Q

Parameter Store

You can reference your parameters using

A

Parameter Name

Bootstrap Script

100
Q

Parameter Store

Integrates with many AWS services

A

EC2, CloudFormation, Lambda, CodeBuild, CodePipeline and CodeDeploy.