AWS Certified Database - Specialty (Aurora) Flashcards

1
Q

Amazon Aurora supports __ and __

A

MySQL and PostgreSQL

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

How is PostgreSQL on Aurora better than standard PostgreSQL databases?

A

3x faster

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

How is MySQL on Aurora better than standard MySQL databases?

A

5x faster

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

What is the maximum number of read replicas for Aurora?

A

15 replicas (can be Multi AZ and autoscaling)

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

Aurora Global DB

A

Supports Multi AZ read replication (local reads with under 1 second latency)

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

Can Aurora be hosted on EC2?

A

No, it is only available via the RDS platform.

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

Aurora keywords

A

high performance, Multi AZ, self-healing, auto expanding, shared storage volume, replicas

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

Aurora keywords

A

high performance, Multi AZ, self-healing, auto expanding, shared storage volume, replicas,

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

How do backups affect performance?

A

Data is conitnuously backed up to S3 in real time, using storage nodes (compute node performance is unaffected)

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

How do backups affect performance?

A

Data is continuously backed up to S3 in real time, using storage nodes (compute node performance is unaffected)

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

Do the read replicas share the same endpoint?

A

All the read replicas have the same endpoint (read endpoint) and AWS handles the load balancing.

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

What is the maximum number of custom endpoints?

A

5

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

Replicas double up as failover targets. What does this mean?

A

Standby instances are not needed

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

ZDP

A

zero downtime patching: preserves client connections through an engine patch on a best-effort basis

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

ElastiCache or other external caching can be used on top of Aurora. True or False?

A

true

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

Aurora Parallel Query

A

Data intensive queries can be split and run in parallel on multiple nodes. I can get data faster.

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

Aurora Parallel Query is only available for __

A

MySQL

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

Aurora Serverless is available for __ and __

A

MySQL and PostgreSQL

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

Is Aurora a fully managed service?

A

Amazon Aurora being a fully managed service helps you save time by automating time consuming tasks such as provisioning, patching, backup, recovery, failure detection, and repair.

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

How long does it take for Aurora Serverless to “wake up”?

A

about 30 seconds

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

What can kind of workloads does Aurora Serverless support?

A

infrequent, intermittent or unpredictable workloads (e.g. DEV/TEST envs which are typically used only during business hours)

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

What does Aurora Serverless cost in comparison to RDS?

A

40% less

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

Tell me more about the availability of Aurora Serverless

A

Aurora Serverless operates in single-AZ with multi-AZ failover mode. The compute layer consists of a single instance. In case of an outage, Aurora Serverless will spin up a new instance in another availability zone. As the storage layer is replicated among multiple availability zones, data is not at risk. But it will take some time until the new instance can serve requests.

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

How does the failover time of Aurora Serverless compare to standard Aurora?

A

failover time is longer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How can I run SQL queries using an API instead of a database connection?
use the Data API of Aurora Serverless
26
Where are the database credentials for Aurora Serverless stored?
AWS Secrets Manager
27
What is better than high availability and how is it achieved?
continuous availability and it is achieved with multiple master instances (multiple writers)
28
What is the maximum number of instance in a multi-master cluster?
2
29
How many regions does Global Aurora use?
1 primary region to read and write and up to 5 secondary (read only regions) and up to 16 read replicas per secondary region
30
3 advantages of Aurora
reliable, durable, fault-tolerant
31
Storage auto repair
Notes 12
32
Survivable cache warming
Notes 12
33
Crash recovery
Notes 12
34
RDS vs Aurora cost
Aurora costs about 20% more than RDS but is more efficient
35
Which instance classes are available for Aurora?
Memory-optimized and burstable performance
36
How is Aurora Serverless priced?
Per second pricing for actual ACUs used and no charge when database instance is not running
37
ACU (Aurora Serverless)
Aurora Capacity Unit: database capacity is measured in ACU (about 2GB of memory with corresponding CPU and networking)
38
How can I use SSL for Aurora Serverless?
The same procedure as RDS/Aurora provisioned but also certificates from ACM (AWS Certificate Manager) can be used.
39
How can I enforce SSL for Aurora Serverless?
Notes 13
40
Changing the parameter group associated with a database instance requires a manual reboot. T/F?
True
41
Changing the parameter group associated with a database cluster requires a manual reboot. T/F?
False
42
parameter group precedence
Notes 14
43
What type of parameter groups does Aurora Serverless have?
only DB cluster parameter groups and no DB parameter groups
44
For Aurora Serverless, all parameter changes are applied immediately. T/F?
True (irrespective of the Apply Immediately setting)
45
Backtrack
in-place restore, no new instance is created
46
What is the difference between Backtrack and PITR?
With Backtrack we have in-place restore and no new instance is created.
47
Can I have AWS Aurora Global and Serverless?
No
48
Data API
talk SQL to Aurora Serverless
49
How does Aurora (provisioned) storage scale?
Storage scaling is built-in and automatic. 10GB increments up to 64TB.
50
How does compute scaling work (provisioned)?
- larger instance - more replicas (up to 15) - higher value for max_connections parameter in the instance level parameter group - replica auto scaling (min max replicas)
51
Advanced Auditing in Aurora is available only for ___
MySQL
52
How does Enhanced Monitoring compare to Cloudwatch metrics?
Enhanced monitoring offers higher granularity
53
How and why are Aurora and Kinesis integrated?
Notes 16 | monitor database activity in real time
54
How can I export database table data into S3?
Create IAM role with policy that allows Aurora to write to given S3 and attach the role to the Aurora cluster. Using a SELECT query the data can be exported.
55
Difference between Aurora and RDS in backups and backtracking.
only that automatic backups cannot be disabled (min 1 day retention)
56
The Backtrack feature is only supported for Aurora and MySQL.
rewind DB cluster to a specific point in time up to 72 hours ago
57
Backtrack is not supported with Aurora ___ clusters and __ __ must be disabled.
multi-master, cross-region replication
58
PITR is always to a new database instance. T/F?
True
59
How does Aurora failover in case of no replicas and single AZ?
spins up a new master
60
How does Aurora failover in case there are replicas and single AZ?
replica is promoted to master
61
How does Aurora Serverless failover in case of a single AZ?
it spins up a new master in different AZ
62
CCM
Cluster Cache Management