EC2 Flashcards

1
Q

How many pricing models there is in EC2

A

4 ! On demand, Sport, Reserved, Dedicated Host

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

What happen cost wise if I terminate my EC2 spot instance after 2,30 hours

A

I will pay for 3 hours

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

What happen cost wise if Amazon terminate my EC2 spot instance after 2,30 hours

A

I will pay for 2 hours

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

What’s the acronyme to remember the different EC2 Instance Types

A

DR MC GIFT PX

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

What EC2 D2 mean and what’s use case ?

A

Dense storage - Usage : Fileservers/Data Warehousing/Hadoop

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

What EC2 R4 mean and what’s use case ?

A

(RAM) Memory optimised - Usage : Memoy Intensive Apps/DBs

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

What EC2 M4 mean and what’s use case ?

A

(Main) General Purpose - Usage : Applications servers

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

What EC2 C4 mean and what’s use case ?

A

Compute Optimized - Usage : CPU Intensive Apps/DBs

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

What EC2 G2 mean and what’s use case ?

A

Graphique Intensive - Usage : Video Encoding/ 3D Application Streaming

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

What EC2 I2 mean and what’s use case ?

A

(Io) High Speed storage - Usage : NoSql, DBs, Data whareousing

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

What EC2 M4 mean and what’s use case ?

A

(Main) General Purpose - Usage : Applications servers

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

What EC2 T2 mean and what’s use case ?

A

Lowest Code - Usage : General purpose

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

What EC2 P2 mean and what’s use case ?

A

Graphics - General purpose - Usage : Machine learning, Bitcoin Mining etc

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

What EC2 X1 mean and what’s use case ?

A

Memory Optimise - Usage : SAP HANA, Apache Spart etc

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

What EC2 T2 mean and what’s use case ?

A

Lowest Code - Usage : General purpose - (Good for dev, M4 would be use for production).

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

What EC2 X1 mean and what’s use case ?

A

(Xtreme RAM) Memory Optimise - Usage : SAP HANA, Apache Spart etc

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

What EC2 X1 mean and what’s use case ?

A

(Xtreme RAM) Memory Optimise - Usage : SAP HANA, Apache Spart etc

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

What EBS mean , what it is ?

A

Amazon Elastic Block Store (Amazon EBS) provides persistent block storage volumes for use with Amazon EC2 instances in the AWS Cloud. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability.

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

How many different EBS type there is ? What are they ?

A

5 - SSD GP2 - SSD IOPS - HDD ST1 - HDD COLD SC1 - HDD Magnetic Standard.

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

What is EBS SSD GP2

A

General purpose SSD

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

What is EBS SSD IOPS IO1

A

High IOperation

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

WHat is EBS HDD ST1

A

Classic HDD Frequently accessed workload (cannot be bootable)

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

What is HDD Cold SC1

A

Less frequently accessed data (cannot be bootable)

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

What is HDD Magnetic

A

Standanrd HDD cheap, infrequent access (can be bootable)

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

Can EBS mount on different EC2 ?

A

No, Use EFS for this (Elastic File System)

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

Can EBS mount on different EC2 ?

A

No, Use EFS for this (Elastic File System)

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

By default is termination Protection on EC2 enable ?

A

No, need to enable it manually

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

By defaut what happen when terminating EC2 with the root EBS Volume ?

A

By default the root EBS volume will be deleted

29
Q

Can Root volume can be encrypted ?

A

No except if using third party tool, but other EBS not (root) can be encrypted.

30
Q

Where a EBS Snapshot is stored ?

A

S3

31
Q

Are EBS Snapshot incremental ?

A

Yes

32
Q

Are snapshot of EBS encrypted volume encrypted ?

A

Yes

33
Q

Restore volume form encrypted snapshot is encrypted ?

A

yes

34
Q

Can you share an encrypted snapshot ?

A

No

35
Q

Where can you share a snapshot ?

A

Amazon Public Market place or other amazon account

36
Q

Do you need to stop instance to take snapshot of root volume ?

A

Yes

37
Q

What is Instance Store Volume ?

A

Call Ephemeral Storage, an instance store volume cannot be stop, if the host (baremetal) fail, data will be lost.

38
Q

How to take a snapshot of a RAID Array ?

A

Stop Application from writing to disk and flush cache to the disk. Three way to do 1-Freeze file system, 2-Unmout RAID Array, 3-Shutting down EC2 instance

39
Q

What is AMI

A

Amazon Machine Image

40
Q

What the AMI context

A

regional, can launch only with the region where it’s stored, but can be copy crossed region.

41
Q

What the default time of monitoring from cloud watch

A

5 m

42
Q

What happen if I enable EC2 cloud watch detail monitoring

A

Monitoring time go down to 1 mn but is paid service

43
Q

What Cloud watch is monitoring

A

Ressources and performance only

44
Q

What is the difference between Cloud Watch and Cloud Trail ?

A

Cloud Trail is to monitor AWS activities while Cloud watch is to watch EC2 ressources and performance.

45
Q

How can you add extra ressources watcher for RAM for exemple with cloud watch ?

A

Need to install a special deamon on EC2 instance.

46
Q

What is an Alarm with Cloud watch

A

Use to notify when a threshold is hit

47
Q

What is an Event with cloud watch

A

An event can be use to respond to a state change in AWS ressources

48
Q

What is a Role in AWS ?

A

n IAM role is similar to a user, in that it is an AWS identity with permission policies that determine what the identity can and cannot do in AWS. However, instead of being uniquely associated with one person, a role is intended to be assumable by anyone who needs it. Also, a role does not have standard long-term credentials (password or access keys) associated with it. Instead, if a user assumes a role, temporary security credentials are created dynamically and provided to the user.

49
Q

Can a role be assign after an EC2 instance After it has been provisionning ?

A

Yes. (before cannot).

50
Q

Can a role being update anytime ?

A

Yes

51
Q

What is a context of a IAM Role ?

A

Global

52
Q

How to fetch Instance Metadata ?

A

Curl the IP http://169.254.169.254/latest/meta-data

53
Q

What is EFS ?

A

Elastic File System

54
Q

How pricing of EFS working ?

A

Pay for the usage storage

55
Q

What the maximum size of EFS

A

Up to Petabytes

56
Q

What EFS protocol is supported ?

A

Network File System Version 4 (NFSv4)

57
Q

How many concurent NFS an EFS can handle ?

A

thousand concurent connection

58
Q

What the context of the data storage of EFS ?

A

Availalbe in region only bu in all the Availibity zone of that region

59
Q

What model EFS is based on data constistency ?

A

Read After Write (same as S3)

60
Q

What is Lambda ?

A

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of the Amazon Web Services. It is a compute service that runs code in response to events and automatically manages the compute resources required by that code.

61
Q

What is the list on compatible event to trigg lambda (20) ?

A
Amazon S3
Amazon DynamoDB
Amazon Kinesis Streams
Amazon Simple Notification Service
Amazon Simple Email Service
Amazon Cognito
AWS CloudFormation
Amazon CloudWatch Logs
Amazon CloudWatch Events
AWS CodeCommit
Scheduled Events (powered by Amazon CloudWatch Events)
AWS Config
Amazon Alexa
Amazon Lex
Amazon API Gateway
AWS IoT Button
Amazon CloudFront
Amazon Kinesis Firehose
62
Q

Can I move a reserved instance from one region to another?

A

No

63
Q

Reserved instances are available for multi-AZ deployments ?

A

True

64
Q

If an Amazon EBS volume is an additional partition (ie not the root volume) , can I detach it without stopping the instance?

A

Yes but it will take some times

65
Q

What is mandatory for cloudformation template ?

A

Ressources (specify the stack ressources and their properties)

66
Q

What service is used to import existing VM into AWS ?

A

VM import/export

67
Q

What the URL format for a static website service made on S3 ?

A

.s3-website-.amazonaws.com/

68
Q

What kind of AMI image is needed to launch a T2.medium instance ?

A

An Amazon EBS-Backed Hardware Virtual Machine AMI.