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
Can EBS mount on different EC2 ?
No, Use EFS for this (Elastic File System)
26
Can EBS mount on different EC2 ?
No, Use EFS for this (Elastic File System)
27
By default is termination Protection on EC2 enable ?
No, need to enable it manually
28
By defaut what happen when terminating EC2 with the root EBS Volume ?
By default the root EBS volume will be deleted
29
Can Root volume can be encrypted ?
No except if using third party tool, but other EBS not (root) can be encrypted.
30
Where a EBS Snapshot is stored ?
S3
31
Are EBS Snapshot incremental ?
Yes
32
Are snapshot of EBS encrypted volume encrypted ?
Yes
33
Restore volume form encrypted snapshot is encrypted ?
yes
34
Can you share an encrypted snapshot ?
No
35
Where can you share a snapshot ?
Amazon Public Market place or other amazon account
36
Do you need to stop instance to take snapshot of root volume ?
Yes
37
What is Instance Store Volume ?
Call Ephemeral Storage, an instance store volume cannot be stop, if the host (baremetal) fail, data will be lost.
38
How to take a snapshot of a RAID Array ?
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
What is AMI
Amazon Machine Image
40
What the AMI context
regional, can launch only with the region where it's stored, but can be copy crossed region.
41
What the default time of monitoring from cloud watch
5 m
42
What happen if I enable EC2 cloud watch detail monitoring
Monitoring time go down to 1 mn but is paid service
43
What Cloud watch is monitoring
Ressources and performance only
44
What is the difference between Cloud Watch and Cloud Trail ?
Cloud Trail is to monitor AWS activities while Cloud watch is to watch EC2 ressources and performance.
45
How can you add extra ressources watcher for RAM for exemple with cloud watch ?
Need to install a special deamon on EC2 instance.
46
What is an Alarm with Cloud watch
Use to notify when a threshold is hit
47
What is an Event with cloud watch
An event can be use to respond to a state change in AWS ressources
48
What is a Role in AWS ?
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
Can a role be assign after an EC2 instance After it has been provisionning ?
Yes. (before cannot).
50
Can a role being update anytime ?
Yes
51
What is a context of a IAM Role ?
Global
52
How to fetch Instance Metadata ?
Curl the IP http://169.254.169.254/latest/meta-data
53
What is EFS ?
Elastic File System
54
How pricing of EFS working ?
Pay for the usage storage
55
What the maximum size of EFS
Up to Petabytes
56
What EFS protocol is supported ?
Network File System Version 4 (NFSv4)
57
How many concurent NFS an EFS can handle ?
thousand concurent connection
58
What the context of the data storage of EFS ?
Availalbe in region only bu in all the Availibity zone of that region
59
What model EFS is based on data constistency ?
Read After Write (same as S3)
60
What is Lambda ?
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
What is the list on compatible event to trigg lambda (20) ?
``` 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
Can I move a reserved instance from one region to another?
No
63
Reserved instances are available for multi-AZ deployments ?
True
64
If an Amazon EBS volume is an additional partition (ie not the root volume) , can I detach it without stopping the instance?
Yes but it will take some times
65
What is mandatory for cloudformation template ?
Ressources (specify the stack ressources and their properties)
66
What service is used to import existing VM into AWS ?
VM import/export
67
What the URL format for a static website service made on S3 ?
.s3-website-.amazonaws.com/
68
What kind of AMI image is needed to launch a T2.medium instance ?
An Amazon EBS-Backed Hardware Virtual Machine AMI.