EC2 Flashcards

1
Q

How to connect to EC2 instances in private subnet ?

A

Configure a bastion host in the public subnet and ssh into it. Then ssh to the backend instance from the bastion

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

How to create Instances with software pre-installed ? (2)

A

. Add the script for the installation in the User data section
. Create an AMI and then create a launch configuration

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

How to secure the data in EBS volume ?

A

encrypt the data using KMS

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

Type of EBS ?
. Low latency
. Development and test environments
. Balance of price and performance.

A

General purpose SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
Type of EBS ?
High performance for mission critical 
Low latency 
Sustained IOPS performance
More than 64 000 IOPS
A

Provisioned IOPS SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Type of EBS ? 
. Big data, data warehouses, log processing
. Low-cost 
. Frequently accessed 
. Throughput intensite workloads
A

throughput optimized HDD

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

Type of EBS ?
. Lowest cost
. Designed for less frequently accessed workloads

A

Cold HDD

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

Type of EC2 instance ?
. Development/testing cases where you are not certain about the best EC2 instance to use for an application
. cannot be interrupted, short-term use, highly variable, or unpredictable

A

On demand

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

Type of EC2 instance ?
. Application that is tolerant of potential interruption/failure,
. Using those instances has the potential for providing substantial cost savings (up to 90% than others)
. Useful to scale up an application that suddenly needs a great deal more compute capacity

A

Spot instance

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

Type of EC2 instance ?
. Reduce costs by making 1 or 3 year commitment to a consistent amount of usage (don’t support RDS)
. Used if you know your applications’ workload profiles

A

savings plans

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

. Reduce costs by making 1 or 3 year commitment to a consistent amount of usage (don’t support RDS)
. Used if you know your applications’ workload profiles
. Assigned to a specific AZ

A

Reserved instance

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

Instance metadata vs user data ?

A

Instance metadata is data use to configure or manage the running instance. for example, host name, events, and security groups.

User Data specified by the user, for example, you added a new bucked, its unique bucked name will be part of user data.

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

Random High rate read and writes
Works with SQL & NoSQL
“intensive read/write and consistent” for IO

A

Provisioned IOPS SSD

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

the most cost-effective EBS storage option

A

Throughput Optimized HDD

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

Storing of settings such as AMI ID, instance type, key pairs and Security Groups

A

EC2 launch template

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

What is the default limit of EC2 per region ?

A

20 instances

17
Q

Where are stored Ip addresses, instance ID, public keys and network interfaces for EC2 ?

A

store in the metadata of EC2 instance

18
Q

small and random I/O operations, SSD or HDD ?

A

SSD

19
Q

SSD vs HDD, which is the cheapest ?

A

HDD

20
Q

Best for transactional workloads , SSD or HDD ?

A

SSD

21
Q

Can be used as a bootable volume, SSD or HDD ?

A

SSD

22
Q

How to remotely and securely manage the configuration of your managed instances ?

A

Systems Manager Run Command