9 - The Core Database Services Flashcards

1
Q

What is the impact of database choice on applications?

A

The type of database and its configuration significantly impact the performance and availability of database-backed applications.

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

What are managed database services offered by AWS?

A

AWS offers the following managed database services:
* Relational database service (RDS)
* DynamoDB
* Redshift

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

What is the main determinant for choosing a database model?

A

The needs of the application determine the database model you choose.

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

What are the fundamental components of a relational database?

A

A relational database consists of tables, which contain columns (attributes) and rows (records).

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

How is uniqueness of rows ensured in a relational database?

A

Uniqueness is ensured by defining a primary key, which must be unique and present in each record.

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

What is the advantage of storing structured data in a relational database?

A

You can quickly search the entire database for specific values and perform complex queries.

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

What language do relational databases primarily use?

A

Relational databases primarily use Structured Query Language (SQL).

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

What does the SELECT statement do in SQL?

A

The SELECT statement reads data from the database and controls how it’s formatted.

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

What does the INSERT statement do in SQL?

A

The INSERT statement writes data to a table.

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

What is a defining characteristic of nonrelational (NoSQL) databases?

A

Nonrelational databases are schemaless and can store unstructured data.

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

What is the primary key’s role in nonrelational databases?

A

The primary key uniquely identifies each item in a nonrelational database.

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

What is the purpose of Amazon ElastiCache?

A

ElastiCache moves frequently accessed data closer to clients for quicker retrieval.

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

What are the two engines available for ElastiCache?

A

ElastiCache can be created using either Memcached or Redis.

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

What distinguishes Amazon MemoryDB from ElastiCache?

A

Amazon MemoryDB is a standalone Redis database that provides persistent storage and caching.

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

What is Amazon RDS?

A

Amazon RDS is a managed relational database service that allows provisioning of various RDBMS.

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

What are the advantages of using Amazon RDS?

A

Advantages include automated setup, maintenance, backups, and support for multiple availability zones.

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

What are the supported database engines in Amazon RDS?

A

Amazon RDS supports:
* MySQL
* MariaDB
* Oracle
* PostgreSQL
* Microsoft SQL Server
* Amazon Aurora

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

What are the two licensing options for RDS database engines?

A

The two licensing options are:
* License Included
* Bring Your Own License (BYOL)

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

What is the purpose of instance classes in Amazon RDS?

A

Instance classes define the number of virtual CPUs, memory, and throughput for RDS instances.

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

What are the three instance classes available in RDS?

A

The three instance classes are:
* Standard
* Memory Optimized
* Burstable Performance

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

What does scaling vertically mean in the context of RDS?

A

Scaling vertically means changing the resource allocation to a specific instance, either scaling up or down.

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

What determines the performance level of an RDS instance?

A

The performance level is determined by the instance class and the type of storage used.

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

What factors affect the performance of an RDS instance?

A

The instance class and the type of storage used

EBS volumes and their IOPS support also play a significant role.

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

What are the three types of storage offered by RDS?

A
  • General-purpose SSD
  • Provisioned IOPS SSD
  • Magnetic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the size range for general-purpose SSD storage in RDS?
20 GB to 32 TB
26
What is 'bursting' in the context of general-purpose SSD storage?
A temporary increase in IOPS during spikes of heavy read or write activity
27
What distinguishes provisioned IOPS SSD storage from general-purpose SSD storage?
You can specify the exact number of IOPS you want to allocate per volume.
28
What is the maximum size of a magnetic storage volume in RDS?
4 TB
29
Can you decrease the size of an EBS volume after creating it?
No, you cannot decrease the amount of storage allocated.
30
What is a read replica in RDS?
An additional RDS instance that performs only reads from the database.
31
What is the primary benefit of using read replicas?
They help improve performance by offloading read-only queries from the master instance.
32
What feature in RDS ensures high availability?
Multi-AZ feature
33
How does Multi-AZ feature enhance database availability?
It creates a standby database instance in a different availability zone.
34
What happens during a failover in Multi-AZ configuration?
RDS automatically switches to the standby instance.
35
What is the expected monthly availability of a database with Multi-AZ enabled?
99.95 percent
36
What is the purpose of RDS snapshots?
To take manual or automatic backups of your instances.
37
What is the difference between snapshots and Multi-AZ?
Snapshots restore an entire database instance; Multi-AZ keeps databases running during instance failures.
38
What is the Recovery Point Objective (RPO)?
How much data loss you can tolerate in the event of a failure.
39
What tools can you use to migrate an existing SQL database to RDS?
* AWS Database Migration Service (DMS) * AWS Schema Conversion Tool (SCT)
40
What is DynamoDB?
Amazon’s managed nonrelational database service.
41
What is the basic unit of organization in DynamoDB?
Item
42
What must each item in DynamoDB have?
A unique value for the primary key.
43
What are the two main types of data types in DynamoDB?
* Scalar data * Document data
44
What does DynamoDB use to distribute items across multiple partitions?
The primary key
45
What is Redshift?
A managed relational database specifically designed as a data warehouse.
46
What is Redshift Spectrum?
A feature that allows you to analyze data stored in S3.
47
What is the maximum data storage capacity using dense storage nodes in Redshift?
2 PB
48
How many compute nodes can a Redshift cluster have?
At least 1 and up to 128 nodes.
49
What is the maximum storage Redshift can achieve using dense compute nodes?
326 TB
50
What types of data can Redshift analyze?
* Structured data from other relational databases * Data from Amazon S3
51
What is Redshift Spectrum?
A feature of Redshift that lets you analyze data stored in S3 with a defined structure.
52
Name three AWS analytics services.
* Amazon Kinesis * Amazon EMR * Amazon OpenSearch Service
53
What is Amazon Kinesis?
A collection of services that let you collect, process, store, and deliver streaming data.
54
What types of data can Kinesis Video Streams handle?
* Image recognition * Streaming video * Teleconferencing
55
What is the role of a producer in Kinesis Video Streams?
The data source that feeds data into a Kinesis stream.
56
What is Kinesis Data Streams?
A data pipeline that can aggregate, buffer, and reliably store data from producers until a consumer is ready to process it.
57
What types of data can Kinesis Data Streams rapidly ingest?
* Server logs * Social media feeds * Financial transactions * Location information
58
What is the purpose of sequence numbers in Kinesis Data Streams?
To uniquely identify each record and maintain order for data that may not be time-dependent.
59
What is fan-out in Kinesis Data Streams?
A process where multiple consumers can read from a stream concurrently.
60
What does Kinesis Data Firehose do?
Ingests streaming data and transforms it before sending it to a destination.
61
How does Kinesis Data Analytics function?
Allows you to create custom applications to process and analyze streaming data using languages like Java, Scala, Python, or SQL.
62
What is Amazon MSK?
A streaming data platform that uses Apache Kafka for event streaming.
63
What is Amazon Elastic MapReduce (Amazon EMR)?
A service that allows you to run various big data framework clusters in the cloud.
64
List some frameworks supported by Amazon EMR.
* Apache Hadoop * Apache Spark * Apache Flink * Apache Presto * TensorFlow
65
What is OpenSearch?
An open source fork of ElasticSearch that offers full-text search capabilities.
66
What is AWS Data Exchange?
A repository of third-party datasets for analysis covering various sectors.
67
What are the two main types of databases discussed?
* Relational databases * Nonrelational databases
68
What is a primary key in a nonrelational database?
A unique identifier for each item in the database.
69
What are the scaling options for RDS?
* Vertical scaling by upgrading instance class * Horizontal scaling using read replicas
70
How does DynamoDB store data?
As items in tables, each with a unique primary key.
71
What is the maximum data storage capacity of Redshift?
Up to 2 PB.