AWS Fundamentals: Amazon Aurora Flashcards

1
Q

What is Amazon Aurora?

A

Aurora is AWS’s proprietary relational database service compatible with MySQL and PostgreSQL. It is designed for cloud-native applications with high availability, scalability, and performance improvements over standard MySQL and PostgreSQL.

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

What performance improvements does Aurora provide?

A

Aurora provides 5x performance improvement over MySQL and 3x over PostgreSQL on RDS, thanks to optimizations specific to the cloud.

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

What is the storage system in Aurora?

A

Aurora automatically scales storage from 10GB to 128TB without manual intervention, and it is stored across 3 availability zones with self-healing and replication features.

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

How does Aurora ensure high availability?

A

Aurora replicates data across 6 copies in 3 AZs, requiring only 4 copies for writes and 3 for reads, ensuring high availability even if one AZ fails.

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

How fast is Aurora’s failover process?

A

Aurora’s failover takes less than 30 seconds, ensuring minimal downtime.

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

How many read replicas can Aurora support?

A

Aurora can have up to 15 read replicas, which are used to scale read workloads.

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

What are Aurora’s two main endpoints?

A

Writer Endpoint: Always points to the master instance for writes.

Reader Endpoint: Automatically load-balances connections to read replicas.

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

What makes Aurora’s storage different from traditional databases?

A

Aurora uses a shared storage volume across multiple AZs, which is auto-expanding, self-healing, and replicated for reliability.

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

What is the Aurora Backtrack feature?

A

Aurora’s Backtrack allows you to restore data to any specific point in time, without relying on backups, providing a flexible recovery mechanism.

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

What is the cost difference between Aurora and RDS?

A

Aurora is about 20% more expensive than RDS but provides greater efficiency at scale, making it cost-effective in large applications.

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

What makes Aurora auto-scaling for read replicas unique?

A

Aurora can auto-scale the number of read replicas based on demand, ensuring that there are always enough read replicas to handle the load.

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

How does Aurora handle replication lag?

A

Aurora typically experiences sub-10 ms replication lag for read replicas, making it much faster than standard MySQL replication.

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

How does Aurora handle security and compliance?

A

Aurora provides built-in security, including encryption, and complies with industry standards for security and data isolation.

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

What is a key advantage of Aurora’s architecture?

A

Aurora’s architecture is highly resilient and scalable, with automatic failover, automated backups, and self-healing capabilities that reduce the risk of downtime.

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

What is Replica Auto Scaling in Amazon Aurora?

A

Replica Auto Scaling automatically adds Aurora replicas when read traffic increases, helping to distribute the load across multiple replicas and reduce CPU usage on the primary instance. The Reader Endpoint will be updated to include the new replicas.

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

What is the purpose of Custom Endpoints in Aurora?

A

Custom Endpoints allow you to define a subset of Aurora instances (based on instance types) for specific workloads. This is useful for directing analytical queries to more powerful replicas, and it may replace the use of the Reader Endpoint.

17
Q

What is Aurora Serverless and when is it useful?

A

Aurora Serverless automatically scales Aurora based on actual usage. It’s ideal for intermittent or unpredictable workloads where capacity planning is difficult. You pay by the second, making it more cost-effective.

18
Q

What is Aurora Global Database?

A

Aurora Global Database allows for cross-region replication with one primary region for reads and writes and up to five secondary read-only regions. It supports disaster recovery with an RTO of less than one minute and replication lag of less than one second.

19
Q

How does failover work in Aurora Global Database?

A

In case of a failure in the primary region, Aurora Global Database allows for quick failover to a secondary region. The secondary region can be promoted to a read-write cluster in less than one minute.

20
Q

What is Aurora Machine Learning and how does it work?

A

Aurora Machine Learning integrates with AWS ML services (like SageMaker and Comprehend) to perform ML-based predictions directly from SQL queries. Use cases include fraud detection, ads targeting, sentiment analysis, and product recommendations.

21
Q

How does Aurora work with SageMaker?

A

Aurora can send data (e.g., user profile, shopping history) to SageMaker via an SQL query. SageMaker then processes the data and returns predictions (e.g., product recommendations) to Aurora, which passes the results back to the application.

22
Q

What is the replication lag for Aurora Global Database?

A

Aurora Global Database provides less than one second replication lag across regions.

23
Q

How does Aurora handle backups and recovery?

A

Aurora has automated backups and supports point-in-time recovery. It performs continuous backups to Amazon S3, enabling fast recovery in case of failure.