Knowledge Check: Databases (CLF-C01) Flashcards
What database is a Key-Value store?
A. Amazon Redshift
B. Amazon RDS
C. Amazon QLDB
D. DynamoDB
D. DynamoDB
Explanation:
The AWS managed NoSQL database that is a Key-Value store is DynamoDB. Key-Value stores are designed for storing, retrieving, and managing associative arrays and are well suited for working with large amounts of data.
Which relational database service is an iteration of MySQL and only available on AWS?
A. MariaDB
B. Postgres
C. Aurora
D. Redshift
B. Postgres
Explanation:
Amazon Aurora is an iteration of MySQL and offers faster processing. It is a cloud-native database service only available on AWS.
What does Amazon RDS perform?
A. It offers a managed relational database service.
B. It offers a cloud service that can host user-managed relational databases.
C. It offers a managed data warehouse service.
D. It offers a managed non-relational database service.
A. It offers a managed relational database service.
Explanation:
Amazon RDS manages the work involved in setting up a relational database: from provisioning the infrastructure capacity you request to installing the database software. The other choices briefly summarize Amazon EC2, Amazon Redshift, and Amazon DynamoDB.
In Amazon RDS, what is the purpose of Multi-AZ deployment?
A. to create high availability and data redundancy
B. to create a database with highly configurable options
C. to prevent users from outside your VPC security group from accessing your database
D. to enable automatic backups
A. to create high availability and data redundancy
Explanation:
If high availability and resiliency are of importance when it comes to your database, then you might want to consider a feature known as Multi-AZ, which stands for multi-availability zones. When Multi-AZ is configured, a secondary RDS instance is deployed within a different availability zone within the same region as the primary instance. The primary purpose of the second instance is to provide a failover option for your primary RDS instance. When we have a Multi-AZ deployment, it will create another standby instance in a different availability zone to create high availability and data redundancy.
Amazon ElastiCache allows you to retrieve information from _____.
A. different web servers in the cloud
B. NoSQL databases
C. relational databases
D. in-memory data stores
D. in-memory data stores
Explanation:
Amazon ElastiCache is a service that makes it easy to deploy, operate, and scale open-source, in-memory data stores in the cloud. This service improves performance through caching, where web applications allow you to retrieve information from fast, managed, in-memory data stores instead of relying entirely on slower disk-based solutions.
Which AWS service is a fully managed, serverless, NoSQL database that has been built to run high-performance applications at any scale?
A. Amazon S3
B. Amazon RDS Proxy
C. Amazon Aurora
D. Amazon DynamoDB
D. Amazon DynamoDB
Explanation:
DynamoDB is a fully managed, serverless, NoSQL database that has been built to run high-performance applications at any scale.
Amazon QLDB is a _____ database.
A. relational
B. document
C. ledger
D. graph
C. ledger
Explanation:
What actually is Amazon QLDB? It’s yet another fully managed and serverless database service, which has been designed as a ledger database.
_______________ allows you to set up your secure data lake by identifying existing data sources that you want to move into your data lake, and then crawling, cataloging, and preparing all that data for you to perform analytics on.
A. AWS Lake Formation
B. Amazon Athena
C. Amazon OpenSearch Service
D. AWS Glue
A. AWS Lake Formation
Explanation:
We can use the AWS Lake Formation service, which promises to make setting up your secure data lake take only a matter of days, instead of weeks or months. It does this by identifying existing data sources within Amazon S3, relational databases, and NoSQL databases that you want to move into your data lake. It then will crawl and catalog and prepare all that data for you to perform analytics on.
Amazon Keyspaces is compatible with _____.
A. MongoDB
B. MySQL
C. Firebase
D. Apache Cassandra
D. Apache Cassandra
Explanation:
Keyspaces is a serverless, fully-managed service designed to be highly scalable, highly available, and, importantly, compatible with Apache Cassandra, meaning you can use all the same tools and code as you do normally with your existing Apache Cassandra databases.
Amazon Redshift operates as a _____ database management system.
A. NoSQL
B. relational
C. object
D. graph
B. relational
Explanation:
Redshift operates as a relational database management system, and therefore is compatible with other RDBMS applications.
Which Amazon RDS database engine deploys a database cluster across multiple availability zones, to serve as the primary instance’s storage layer?
A. PostgreSQL
B. MySQL
C. Oracle
D. Aurora
D. Aurora
Explanation:
When you create an Amazon Aurora instance, the Aurora service also deploys a cloud-native database cluster, and the Aurora instances will use this database cluster as the underlying data store. The database cluster spans two or more availability zones by default, with each availability zone having a copy of the database cluster data. And each cluster has one primary instance which performs all of the data modifications to the cluster volume and supports read and write operations.
In which two general families can you classify all AWS database services?
A. Relational and non-relational
B. Structured and unstructured
C. Persistent and in-memory
D. Managed and unmanaged
A. Relational and non-relational
Explanation:
The two general families are relational and non-relational and non-relational. Relational includes Amazon RDS and its various database engine options, as well as Amazon Redshift. Non-relational includes DynamoDB, Elasticache, and Neptune, among others.
Which of the following AWS databases is a managed NoSQL graph database?
A. Amazon Neptune
B. Amazon DynamoDB
C. Amazon DocumentDB
D. Amazon Keyspaces
A. Amazon Neptune
Explanation:
The AWS managed NoSQL graph database is Amazon Neptune.
Graph databases are composed of three elements, vertices, edges, and properties.
Vertices, also called nodes, are objects such as people or artifacts. Each node in a graph database has a unique identifier expressed in key-value pairs.
The singular of vertices is vertex. A vertex can represent data such as integers, string, people, locations, and buildings.
Edges represent the connection–or relationship–between two objects. Each edge is defined by a unique identifier that provides details about a starting or ending node along with a set of properties.
The vertices and edges can each have properties associated with them. This allows a graph database to depict complex relationships between otherwise unrelated data.
Amazon Redshift is a fast, fully-managed, _____-scale data warehouse.
A. megabyte
B. gigabyte
C. terabyte
D. petabyte
D. petabyte
Explanation:
Amazon Redshift is a fast, fully-managed, petabyte-scale data warehouse.
Which of the following AWS databases stores, queries, and indexes JSON data?
A. Amazon Aurora
B. Amazon Redshift
C. Amazon QLDB
D. Amazon DocumentDB
D. Amazon DocumentDB
Explanation:
Amazon DocumentDB is a document database. Document databases store semi-structured data and the data structure is embedded in the document, itself. As a document database, Amazon DocumentDB is designed to store, query, and index JSON data.