Storage and Databases Flashcards

1
Q

what is not recommended when it comes to store in EC2 instances

A

Data storage is not recommended in EC2 instances. Block-level storage volumes behaves like physical hard drives

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

How data is stored in EC2 instance

A

INSTANT STORe - provides temporary block-level storage for amszon EC2 instance.

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

How does instance store behave

A

A disk storage physically attached to the host computer of Ec2 instance and therefore has the same lifespan as an instance. If EC2 instance is terminated, we lose all data

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

What is the solution provided by Amazon for storage

A

Amazon Elastic Block Store (Amazon EBS) - provides block level storage volumes for EC2 instances. Data available even if EC2 stops

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

What is needed for creating Amazon EBS

A

To create an EBS volume, you need config (such as types and volumes) and provision it.

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

What is important for EBS

A

to back-up the data as it needs data for persisting. We can create incremental backups using snapshots

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

what is the service that provides Object level storage?

A

Amazon Simple Storage Service (Amazon S3)

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

What does object storage contains

A

Data - the actual data like images/videos/etc
Metadata - information about the data, sized, etc..,
Key- Unique Id

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

Where does Amz S3 stores data

A

in Buckets

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

what is the maximum storage space

A

Unlimited

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

What is the maximum size for an Object

A

5 TB

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

How does EBS snapshot works?

A

It works as an incremental backup. That is, when the first backup happens all datas are copies. During subsequent backups only the changed/updated data are backed up

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

Amazon S3

A

Amazon Simple Storage Service

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

What factors to consider when selecting Amazon S3 classes?

A
  1. How often you need to retrieve the data
  2. How available you want the data to be
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How many S3 classes categories?

A

8 types

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

s3 standard

A
  1. Designed for frequently accessed data
  2. stores data in min of 3 avail. zones
  3. High cost compared to others and needed for dynamic contents, analysis etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

S3 Standard-Infrequent Access (S3 Standrad - IA)

A
  1. Designed for Infrequently accessed data
  2. Low storage price, High retrieval price
  3. available in min 3 avail. zones
18
Q

S3 One Zone Infrequent Access

A
  1. Stores only in one aval. zones
  2. Lower storage price than S3 - IA
  3. Can be choosen if data reqcovery is possible in case of available zone failure
19
Q

S3 Intelligent Tiering

A
  1. ideal for data with unknown/changing access pattern
  2. requires small fees for monitoring the access pattern
  3. If the data is not access for 30 days, its moved to Amazon S3 infrequent access tier, 4. if its accessed in 30 days, it is moved to Amazon S3 Standard
20
Q

S3 Glacier Instance Retrieval

A
  1. Wroks for archived objects that requires immediate access
  2. Can retrive objects within milli seconds
21
Q

S3 Glacier Flexible Retrieval

A
  1. Designed for low cost for archive data access
  2. takes minutes to hours to retrieve archive data
22
Q

S3 Glacier Deep Archival

A
  1. For lowest cost archival data access
  2. It takes less than 12 hours - 48 hrs
  3. Suitable for data that requires long term data retention and digital preservation that might be accessed in 1 or 2 years
  4. Data are replicated and dispersed at least in 3 availability zones
23
Q

S3 Outposts

A

Creates S3 buckets on AWS Outposts
Makes it easier to access data in AWS outposts

24
Q

EFS

A

Elastic File System

25
Q

What is the approach in EFS

A

A storage server uses block storage with a local file system to organize files

26
Q

When is File Storage is preferred

A

Its preferred when a large no of service Ec2 instance wants to access a data at the same time

27
Q

where is amazon ebs stored

A

Its stored in an availability zones

28
Q

where is amazon efs stored

A

its stored in region, its regional supportive

29
Q

Amazon Relational database service

A

Amazon service for relational databases in the cloud

30
Q

how does your life is made simple by Amazon RDBMS

A

its a managed service that takes care of all the tasks such as Data provisioning, data backup, patching etc

31
Q

Amazon Aurora

A
  1. enterprise-class rel db engine
  2. compatible witj mysql and postgres db
  3. 5 times faster than mysql and 3 times that postgres
    4.replicates 6 copies of ur data across 3 avail zones and backed up in S3
32
Q

what is amazon dynamo db

A

key value database service
it delivers single digit millisecond performance at any time

33
Q

features of dynamo db

A

its serverless.. which means not required to provision, patch, etc not req to install, maintain or update
dynamo db automatically adjust the scales on the shrinking or expanding database size

34
Q

what is Amazon Redshift

A

Its a service for data warehouse service that can be used for big data analysis

34
Q

what is the service used to migrate Db

A

Amazon Database Migration Service

35
Q

what types of databases are migrated

A

Relational, non-relational or any other types

36
Q

what are homogenuous migration?

A

Migrate data in which source and destination are of same type

37
Q

Other use cases of AWS DMS

A
  1. Development and Test data migrations - to enable copy data from production for developers to test code
  2. Database consolidation - combining several db into single one
  3. Continuous Replication - sending ongoing copies of ur data to other target sources insteda of doing at one step migration
38
Q

what is heterogenous migration

A

Source and destination are of different database types

39
Q
A
40
Q
A