EC2 Flashcards

1
Q

EC2 instance

A
  • virtual server
  • AMI(OS) + instance size (CPU + RAM) + storage + security group + EC2 user Dat
  • Used t2.micro for free tier up to 750 or month
  • Instance, can be stopped, and and terminated
  • Instance run = to pay not run = to no pay
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The main capability of ec2:

A

→ renting virtual machines (EC2)
→ store data on virtual drive (EBS
→ distributing load lacrosse machines (ELB)
→ to scale service use auto scaling group (ASG)

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

EC2 sharing & configuration option

A
  • Operating system to choose your virtual machine to run ( Macos, linux, windows
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EC2 user data

A
  • Possible to bootstrap instance using EC2 user data script
  • script launched at the first start of an instance
  • Bootstrapping: is launching command when machine starts
    Script only run once, as instance first start
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

EC2 instance types

A

Different type of instance that are used for different use case

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

General purpose

A
  • For workload for Web server and code repositories
  • Balance between: compute, memory, networking.
  • T2.micro is a general purpose EC2 instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compute Optimized

A
  • Used for intensive task, high performance processors:
  • Batch processing workloads
  • Media transcode
  • High performance web server
  • High performance computing
  • Scientific model & ML
  • Gaming Servers
  • Are C name c5, c4, etc
    A company would like to deploy a high-performance computing (HPC) application on EC2. Which EC2 instance type should it choose?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Memory optimized

A
  • fast performance for workloads for processing large data set in memory

Use case:
- High performance relational/non-relational database
- Distributed web scale caches stores
- In-memory database optimized for BI business intelligence
- Application that perform real time processing of big unstructured data
Are the R5, R5a, R4, etc

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

storage optimized

A
  • Used for storing intensive task for high, sequential read and write access to large data set on local storage

Use Case:

  • High frequency online transaction processing (OLTP) systems
  • Relational and Nosql database
  • Caches for in-memory database (ex: redis)
  • Data warehousing application
  • Distributed files system
  • Start with I, D
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

security group

A
  • act like a Firewall on EC2 instance
  • Fundamental of network security
  • Control how traffic is allowed into or out of your EC2 instance
  • Only contain allow rules
  • Which network security tool can you use to control traffic in and out of EC2 Instances?

They regulate:

  • Access to ports
  • Authorized IP range - IPV4 and IPV6
  • Control of inbound network from other to the instance
  • Control of outbound network from the instance to other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SSH

A

Start a terminal into our EC2 instance (port 22)

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

EC2 instance Role

A

Link to IAM roles

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

Purchasing Options:

A

on-demand, spot, Reserved (standard + convertible + schedule), Dedicated host, Dedicated instance

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

Spot Instances

A

Which EC2 Purchasing Option can provide the biggest discount, but is not suitable for critical jobs or databases?

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

shared responsibility Model

A

Aws:

  • Infrastructure (global network security)
  • Isolation on physical hosts
  • Replacing faulty hardware if one of their server is failing
  • Compliance validation

User :

  • Security group role
  • Operating system software and utilities patches and update (Under the Shared Responsibility Model, who is responsible for operating-system patches and updates on EC2 Instances?)
  • Software and utilities installed on the Ec2 instance
  • IAM roles assigned to Ec2 and IAM user access management
  • Data security on your instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Reserved (standard + convertible + schedule)

A

Reserved (standard + convertible + schedule).

  • can you reserve an EC2 Reserved Instance? for 1-3 years

scheduled reserved:

  • lunch with the time window you reserve
  • commitment over 1 to 3 year
  • Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?
17
Q

Ec2 on demand:

A
  • pay for what you use
  • Linx and window: billing per second, after the first minute
  • All other Operating: system is billing per hours
18
Q

EC2 dedicated instance

A
  • running hadware that decdicated to you

- no control over instance