DB Flashcards

1
Q

What is abbreviation of RDS?

A

Relational database Service.

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

Is RDS is serverless?

A

No RDS is not serverless

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

Is aurora serverless?

A

Basic Aurora is not serverless

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

Is aurora serverless is serverless ?

A

Yes aurora serverless is serverless

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

List of database engines available in AWS RDS?

A
SQL SERVER, 
ORACLE, 
MYSQL, 
POSTGRESQL, 
AURORA, 
MARIA DB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two main features of RDS?

A

Multi AZ & Read Replica are main features of RDS

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

What is the purpose of Multi AZ?

A

Disaster Recovery is the main purpose of Multi AZ

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

What is the purpose of Read Replica?

A

Read Replica is user for Performance

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

In case of DB failure; DB failover in Multi AZ is it automatic?

A

Yes in Multi AZ failover is automatic.

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

In case of DB failure; DB failover in Read Replica is it automatic?

A

NO in Read Replica failover is not automatic

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

Maximum no of Read replica AWS RDS support?

A

5

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

What is abbreviation of OLTP?

A

Online Transaction Processing

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

What is abbreviation of OLAP?

A

Online Analytic Processing

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

What is ElastiCache?

A

ElastiCache is a DB cache service for AWS

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

What is Redshift?

A

Redshift is AWS Data warehouse Service used for OLAP

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

What is Dynamodb?

A

Dynamodb is a no sql database service

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

RDS Service is used for what type of DB operation?

A

RDS is used for OLTP operations

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

What is the default port no for MySQL?

A

3306

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

Can you able to access to DB VM?

A

No

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

What are the different types of backups available for RDS?

A

Automated Backup & DB Snapshot

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

What is max retention period for Automated backup?

A

35 Days

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

Where do we store automated backup in AWS?

A

S3

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

If we restore DB Backup will it be restored in Existing DB or new database?

A

All database backup are restored only to New database.

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

Can we encrypt RDS database?

A

Yes; RDS DB can be encrypted at rest.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
If encryption is enabled for DB does it apply for DB related items?
Yes; Encryption is applied for Read Replica, Backup & snapshot
26
To enable read replica what needs to be enabled?
Automated backup need to be enabled To enable read replica
27
Can you have read replica of read replica?
Yes; we can have read replica of read replica
28
Does Read replica has same DNS end point?
No; Each read replica has different DNS endpoint
29
Can you have read replica in different AZ?
Yes
30
Can you have read replica in different Region?
Yes
31
What is the downside; if you enable Read replica as main db?
Replication will be broken.
32
In DynamoDB database data is stored in which type of disk?
SSD
33
What is the DynamoDB default setup for data replication?
DynamoDB Spread on 3 distinct data center
34
What are the read models available for DynamoDB ?
Eventual Read & Strong Read
35
What is Eventual Read?
Latency > 1 sec
36
What is Strong Read?
Latency < 1 sec
37
What is DynamoDB Accelerator (DAX)?
Fully managed, highly available in memory cache for DynamoDB
38
Does DAX Support both Read & write performance?
True
39
What is DAX Response time?
DAX Respond within a Microsecond
40
What is DynamoDB Transaction capacity?
25 items or 4 MB of data
41
Does DynamoDB enable point in time recovery by default?
NO
42
What are streams in Dynamo DB?
Streams are the time order sequence of item level changes in a table.
43
Stream values are stored for how long?
24 Hrs
44
Stream stores what type of data?
Insert, update & delete
45
How to get Store Procedure functionality in Stream ?
Stream with Lambda function provide Store Procedure functionality
46
How fast does Data replication take place?
1 Second
47
What is DMS?
Database Migration Service
48
What are the different Node config available for Redshift?
Single node & multi node
49
How AWS charge Redshift usage?
Based on Compute node hrs, backup & data transfer
50
Can we configure Redshift in multi AZ?
No
51
Aurora support which db engines?
MySQL & PostgreSQL
52
Does Aurora backup affect performance?
NO
53
Aurora backup is set by default?
Yes
54
Can you share aurora snapshot to other aws accounts?
Yes
55
What are 2 caching engine for elastic cache?
Memcached & Redis
56
Where we use Memcached?
Memcached is used for Simple caching.
57
Where we use Redis?
Redis is used for Complex caching.
58
where we use elasticache?
We use along in web application performance?
59
Redis is Multi AZ?
yes
60
Can you do back up & restore on Redis?
Yes
61
EMR Abbreviation?
Elastic Map Reduce
62
What is EMR?
EMR is a Cloud based big data platform.
63
How does EMR operates?
EMR Operate in Cluster of EC2 Instance.
64
In EMR each EC2 instance is called as?
Node
65
What are different type of EMR Nodes?
Master Node Core Node Task Node
66
What is EMR Master node?
Master Node Manages Cluster
67
What is EMR Core node?
Core Node handle software that runs task & store data
68
What is EMR Task node?
Task Node handle software that runs task & not to store data; Its optional Node.
69
Where does RDS runs?
RDS Runs on Virtual Machines
70
Can you update RDS instance?
No you don’t have access to RDS VM; RDS VM will be maintained by AWS.
71
Why Read Replica is used for?
Read Replica is used for performance.
72
Is dynamo DB serverless?
Yes
73
What is default backup retention period for RedShift?
1 day
74
What is max backup retention period for RedShift?
35 days
75
What we can use to enable caching on Multi AZ?
Redis
76
How many copy of data available for Redsift?
3 - Original, Replica & Backup
77
How many copy of data available for Aurora?
6
78
What is max aurora replica?
15
79
What is max MySQL replica?
5
80
What is max PostgreSQL replica?
1