CloudAcademy: Knowledge Check: Databases (SAA-C03) 1 of 2 Flashcards

1
Q

Each of the following is a use case for Amazon ElastiCache except which choice?

A. improving read access performance
B. caches using secure, network-attached RAM
C. persistent data storage
D. in-memory data storage

A

C. persistent data storage

Explanation:
ElastiCache should never be used to store your only version of data records, since a cache is designed to be a temporary data store. So when data persistence is necessary, such as when we are working with primary data records, or when we need write performance rather than read performance, a persistent data store should be used instead of an ElastiCache.

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

When using Provisioned Capacity mode, how are you charged for Amazon DynamoDB?

A. by the total amount of storage space used by your data
B. by the amount of time your database is up and running
C. by the total amount of throughput that you configure for your tables plus the total amount of storage space used by your data
D. by the total amount of throughput that you configure for your tables

A

C. by the total amount of throughput that you configure for your tables plus the total amount of storage space used by your data

Explanation:
You are charged for the total amount of throughput that you configure for your tables plus the total amount of storage space used by your data.

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

How does the Amazon RDS multi-AZmodel work?

A. A second, standby database is deployed and maintained in a different availability zone from the master using asynchronous replication.
B. A second, standby database is deployed and maintained in a different region from the master using asynchronous replication.
C. A second, standby database is deployed and maintained in a different region from the master using synchronous replication.
D. A second, standby database is deployed and maintained in a different availability zone from the master, using synchronous replication.

A

A. A second, standby database is deployed and maintained in a different availability zone from the master using asynchronous replication.

Explanation:
In a Multi-AZ deployment, Amazon RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone.

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

Which Amazon RDS storage option does AWS provideonly to support backwardcompatibility?

A. General Purpose SSD
B. Provisioned IOPS (SSD)
C. Shared Cluster
D. Magnetic

A

D. Magnetic

Explanation:
Shared Cluster storage is available only for Amazon Aurora. General Purpose SSD is a good option for a wide range of use cases. Provisioned IOPS is ideal for workloads that require a high I/O. Magnetic storage is only recommended to supportbackward compatibility.

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

How does in-memory caching provided by ElastiCache improve the performance of applications?

A. It improves application performance by storing frequently-accesseddata in memory for low-latency access.
B. It improves application performance by deleting the requests that do not contain frequently accessed data.
C. It improves application performance by implementing good database indexing strategies.
D. It improves application performance by using a part of instance RAM for caching important data.

A

A. It improves application performance by storing frequently-accesseddata in memory for low-latency access.

Explanation:
In Amazon ElastiCache, in-memory caching improves application performance by storing critical pieces of data in memory for low-latency access. Cached information may include the results of I/O-intensive database queries or the results of computationally intensive calculations.

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

Which of the following statements about backups in Amazon RDS is true?

A. Neither manual nor automated backups are supported.
B. Only manual backups are supported.
C. Only automated backups are supported.
D. Both manual and automated backups are supported.

A

D. Both manual and automated backups are supported.

Explanation:
From a backup perspective, by default, Amazon RDS provides an automatic feature. You can also perform manual backups, which are known as snapshots, any time you need to.

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

An in-memory cache is generally used to improve _____.

A. both read and write performance
B. read-only performance
C. write-only performance
D. the space efficiency of your database

A

B. read-only performance

Explanation:
A common scenario is to have a web application that reads and writes data to persistent storage–for example, to a relational database such as RDS or a NoSQL database such as DynamoDB. This is where an in-memory cache is useful. It’s generally used to improve read-only performance.

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

Which of the following statements about read replicas in Amazon RDS is false?

A. Read replicas help to alleviate the bottleneck on your primary database.
B. A read replica allows its users to read and write data.
C. If at any time your primary database goes down, you have the ability to promote a read replica into a new primary database.
D. A read replica is kept in sync with the primary database.

A

B. A read replica allows its users to read and write data.

Explanation:
A read replica is a copy of your database that gives the user another access point to retrieve data from. This helps to alleviate the bottleneck on your primary database. The read replica is kept in sync with the primary database and only allows its users to read data. If at any time your primary database happens to go down or become corrupted in some fashion, you have the ability to promote your read replica into a new primary database. Your traffic can migrate over to this copy using Route 53 failover routing and health checks.

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

Which Amazon RDS DB engine uses the BYOL DB instance purchase option?

A. MariaDB
B. PostgreSQL
C. SQL Server
D. Oracle

A

D. Oracle

Explanation:
The different payment options within RDS include on-demand instances, on-demand instances (BYOL), reserved instances, reserved instances (BYOL), and serverless.

Currently, only the Oracle database engine uses the BYOL purchase options, all other DB engines only use on-demand instances and reserved instances, with the added exception of Aurora also using serverless as an additional purchasing option.

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

Which of the following is not a typical use case for Neptune graph databases?

A. online games
B. fraud detection
C. social networking
D. recommendation engines

A

A. online games

Explanation:
Before I continue, let me run through some of the use cases to help you understand when and where you might use Amazon Neptune as a graph database to solidify the importance of being able to query complex relationships. Graph databases are a powerful asset when used within a social networking environment. Fraud detection: Security should always be a number-one priority in any cloud deployment solution, and using Amazon Neptune can help you from a security standpoint, using its high performance capabilities. Recommendation engines are widely used across many different websites, largely eCommerce sites that recommend products based upon your search and purchase histories.

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

What is an endpoint on Amazon Neptune?

A. A virtual database cluster volume that contains the data across all instances within the cluster
B. A fixed-sized chunk of secure, network-attached RAM
C. A URL address and a port that points to your components
D. A replica instance that scales read-only operations

A

C. A URL address and a port that points to your components

Explanation:
An endpoint is simply a URL address and a port that points to your components.

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

What is an Elasticache cache node?

A. a group of at least90 Redis shards
B. a parameter group that contains configurational settings about your engine
C. a fixed-sized chunk of secure, network-attached RAM
D. a group of at least 60 Memcached shards

A

C. a fixed-sized chunk of secure, network-attached RAM

Explanation:
A cache node is a fixed-sized chunk of secure, network-attached RAM, essentially the building block of the ElastiCache service, and supports a clustered configuration.

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

Which of the following is a type of Amazon Neptune endpoint?

A. A cluster
B. An instance
C. All of these are Neptune endpoints.
D. A reader

A

C. All of these are Neptune endpoints.

Explanation:
There are three different types of Amazon Neptune endpoints: cluster endpoint, reader endpoint, and instance endpoint.

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

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

A

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.

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

When managing your RDS DB instances, what are two important aspects of database engine upgrades you should always keep in mind? (Choose 2 answers)

A. Storage capacity
B. whether the upgrade is major or minor
C. backward compatibility
D. Instance licensing requirements

A

C. backward compatibility
B. whether the upgrade is major or minor

Explanation:
The first thing to consider is whether a DB engine upgrade is a major or minor update. This will indicate the extent of changes to the database. One way to determine this is to review the DB engine version numbers. For example, for a MySQL DB instance in Amazon RDS, version numbers like X.Y.Z are organized as follows:

MySQL version = X.Y.Z
X = Major version
Y = Release level
Z = Version number within release series.

If a release is minor, it is more likely your application need little to no testing before being released an updated instance. If a release is major, AWS recommends testing your application on the new DB engine version before deploying it in a production environment or updating any existing DB instances to the version. This is especially important because while minor updates are usually backward compatible, major updates often include changes that are not.

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

Which Amazon RDS Database Engine supports the serverless purchasing option?

A. SQL Server
B. Oracle
C. MySQL
D. Amazon Aurora

A

D. Amazon Aurora

Explanation:
The different payment options within RDS include on-demand instances, on-demand instances (BYOL), reserved instances, reserved instances (BYOL), and serverless.

Currently, only the Oracle database engine uses the BYOL purchase options, all other DB engines only use on-demand instances and reserved instances, with the added exception of Aurora also using serverless as an additional purchasing option.

17
Q

Graph databases, like those provided by Amazon Neptune, are ideal for which use case?

A. Identifying relationships among interconnected data, rather than the actual data itself
B. Data that is stored in tables and columns
C.A high volume of concurrent SQL queries
D. Improving read access performance of large volumes of data

A

A. Identifying relationships among interconnected data, rather than the actual data itself

Explanation:
Graph databases are ideal if their focus is on being able to identify the relationships among interconnected data, rather than the actual data itself.

18
Q

Which of the following statements regarding Amazon RDS instance pricing is incorrect?

A. On-Demand instancescost more per hour than Reserved instances
B. Each Oracle BYOL license discount applies to all Oracle DB instance types and sizes
C. Large instances cost more than small instances
D. Single-AZ configurations costs lessthan Multi-AZ configurations

A

B. Each Oracle BYOL license discount applies to all Oracle DB instance types and sizes

Explanation:
Before you decide to use a BYOL license instance you need to ensure that your current license includes software update license and support for the particular instance that you are looking to create.

Also with BYOL for Oracle you have additional editions for deployment. This means that BYOL supports the following Oracle Editions:

Standard Edition
Standard Edition One (SE1)
Standard Edition Two (SE2)
Enterprise Edition
As you are only paying for the compute instances when using BYOL, there is no variation in prices between the different editions of Oracle being used.

19
Q

You are considering increasing the backup retention period for your Amazon RDS snapshots. You are also considering taking more frequent database snapshots.

If you decide to implement both of these changes, will it increaseyour RDS storage costs?

A. No
B. Yes
C. Only if you increaseyour backup retention period tolonger than 90 days.
D. Only ifthe total GBof RDS database snapshotsis higherthan the total GBsof active RDS databases combined on the account.

A

D. Only ifthe total GBof RDS database snapshotsis higherthan the total GBsof active RDS databases combined on the account.

Explanation:
The first point I want to make, and it might surprise you, is that Amazon RDS does not charge any backup storage costs that equates to the total sum of provisioned storage used with your databases within a specific region. So for example, Assume you had a MySQL DB with provisioned storage of 150GiB-Month DB, plus a MariaDB DB with 450GiB in a single region. Amazon RDS would not charge you for any storage utilised up to 600GiB-Month.

20
Q

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 Aurora
C. Amazon RDS Proxy
D. Amazon DynamoDB

A

D. Amazon DynamoDB

Explanation:
DynamoDB is a fully managed, serverless, NoSQL database that has been built to run high-performance applications at any scale.

21
Q

Which of the following is not a common use case for ElastiCache?

A. real-time analytics
B. social networking sites
C. online games
D. customer relationship management systems

A

D. customer relationship management systems

Explanation:
Before I finish this lecture covering ElastiCache, I want to point out some of the common use cases where you might use Amazon ElastiCache. Due to its incredibly fast performance and scaling abilities, this is commonly used in the online gaming industry, where it’s vital that statistical information like a scoreboard is presented as quickly and as consistently as possible to all the players in the game. Another common use is for social networking sites, where they need a way to store temporary session information in session management. Real-time analytics is also a great use for ElastiCache, as it can be used in conjunction with other services such as Amazon Kinesis to ingest, process, and analyze data at scale.

22
Q

Which of the following statements about Amazon DynamoDB on-demand backups is false?

A. You can use AWS backup to schedule on-demand backups on a regular and recurring basis.
B. The backup process for very large databases tends to be very slow.
C. On-demand backups are not limited by the 35-day retention period.
D. Every time an on-demand backup is taken, a full backup of the entire table is included.

A

B. The backup process for very large databases tends to be very slow.

Explanation::
One of the main benefits that on-demand backups have over automatic backups is that they are not limited by the 35-day retention period and exist until you manually delete them. When performing your on-demand backups, you should rest in the comfort that it does not pose any kind of performance throughput impact against your table, thanks to a unique distributed technology that DynamoDB is built upon. This also enables your backup process to scale, which means that your backups can be created in seconds despite how big your database might be in size. Now, this has the benefit of requiring you not to specify backup windows or schedules. Every time an on-demand backup is taken, a full backup of the entire table is included. Also, much like in RDS, you can also use AWS backup to schedule on-demand backups on a regular and recurring basis.

23
Q

Which of the following statements about Amazon DynamoDB is incorrect?

A. It is a key-value store database.
B. It requiresSQL.
C. Its tables are schemaless.
D. It is designed to be used for ultra-high performance.
.

A

B. It requiresSQL.

Explanation:
Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale. Because it is a NoSQL database, it doesn’t use the common Structured Query Language, SQL. It falls into a category of databases known as key-value stores.

24
Q

You have deployed a single RDS instance, but need to provide more CPU/Memory in your database tier to handle yourapplication’s workload, and are considering your scaling options.

Which type of scaling would deployidentical copies of yourAmazon RDS instance rather than increasing the size of the existingRDS instance?

A. diagonal
B. vertical
C. inverse
D. horizontal

A

D. horizontal

Explanation:
Vertical scaling will enhance the performance of your database instance. An example is scaling up from an m4.large to an m4.2xlarge. Horizontal scaling will deploy additional copies of your current instance.

25
Q

What is caching?

A. ingesting, processing, and analyzing data at scale
B. storing frequently accessed information in memory
C. a fixed-size chunk of secure, network-attached RAM
D. reviewing load on your database to determine if scaling is required

A

B. storing frequently accessed information in memory

Explanation:
Additional memory enables our device to store frequently accessed information in memory instead of having to request the information from the hard drive, which is much slower than RAM. This process is known as caching.