Chapter 4 - DATABASES: Amazon RDS, Amazon Aurora, Amazon DynamoDB, Elasticache, Amazon DocumentDB Flashcards
How can you increase the high availability of Amazon RDS?
- Create periodic snapshot of main DB Instance in another AZ
- Use RDS Multi-AZ deployment
- Use RDS Read Replicas
- Create two similar DB instances in separate AZ and do periodic synchronization
- Create periodic snapshot of main DB Instance in another AZ
- Use RDS Multi-AZ deployment
- Use RDS Read Replicas
- Create two similar DB instances in separate AZ and do periodic synchronization
How Amazon RDS provides high availability? Choose 2.
- Amazon RDS provides high availability through Multi-AZ deployment
- Amazon RDS provides high availability through Read Replicas
- In a Multi-AZ deployment automatically provisions and maintains a synchronous standby replica in a different Availability Zone.
- In a Multi-AZ deployment automatically provisions and maintains an asynchronous standby read replica in a different Availability Zone.
- Amazon RDS provides high availability through Multi-AZ deployment
- Amazon RDS provides high availability through Read Replicas
- In a Multi-AZ deployment automatically provisions and maintains a synchronous standby replica in a different Availability Zone.
- In a Multi-AZ deployment automatically provisions and maintains an asynchronous standby read replica in a different Availability Zone.
Which database engines are supported by Amazon RDS?
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, Oracle, Microsoft SQL Server, Amazon Aurora
Which AWS database service will you choose for Online Transaction Processing (OLTP)?
- Amazon RDS
- Amazon Redshift
- Amazon Glacier
- Amazon DynamoDB
- Amazon RDS
- Amazon Redshift
- Amazon Glacier
- Amazon DynamoDB
What are three types of instance classes supported by Amazon RDS?
- Standard
- Memory Optimized
- Burstable Performance
- Performance Optimized
- Standard
- Memory Optimized
- Burstable Performance
- Performance Optimized
Which automated monitoring tools you can use to watch Amazon RDS and report when something is wrong? Choose 4.
- Amazon RDS Events
- Database log files
- Amazon Inspector
- Amazon RDS Enhanced Monitoring
- Amazon CloudWatch
- Amazon RDS Events
- Database log files
- Amazon Inspector
- Amazon RDS Enhanced Monitoring
- Amazon CloudWatch
What does Amazon RDS manages on user’s behalf? Choose 2.
- Provisioning the infrastructure capacity requested to installing the database software.
- Once database is up and running, Amazon RDS automates common administrative tasks such as performing backups and patching the software that powers your database
- Managing the database settings that are specific to your application.
- Automatic performance tuning to optimize your database for your application’s workflow.
- Provisioning the infrastructure capacity requested to installing the database software.
- Once database is up and running, Amazon RDS automates common administrative tasks such as performing backups and patching the software that powers your database
- Managing the database settings that are specific to your application.
- Automatic performance tuning to optimize your database for your application’s workflow.
What are the steps taken by RDS when you modify DB instance in a Single-AZ deployment to be a Multi-AZ deployment (for engines other than SQL Server or Amazon Aurora)? Choose 2.
- Step 1. Amazon RDS takes a snapshot of the primary DB instance from your deployment and then restores the snapshot into another Availability Zone.
- Step 1. Amazon RDS creates a fresh DB instance with similar configuration as primary DB instance and then copies data from primary to secondary.
- Step2. Amazon RDS then sets up asynchronous replication between your primary DB instance and the new instance.
- Step2. Amazon RDS then sets up synchronous replication between your primary DB instance and the new instance.
- Step 1. Amazon RDS takes a snapshot of the primary DB instance from your deployment and then restores the snapshot into another Availability Zone.
- Step 1. Amazon RDS creates a fresh DB instance with similar configuration as primary DB instance and then copies data from primary to secondary.
- Step2. Amazon RDS then sets up asynchronous replication between your primary DB instance and the new instance.
- Step2. Amazon RDS then sets up synchronous replication between your primary DB instance and the new instance.
What are the possible scenarios in case of RDS Multi-AZ deployment when primary DB instance switches over automatically to the standby replica? Choose 3.
- An Availability Zone outage or when the primary DB instance fails.
- The DB instance’s server type is changed or the operating system of the DB instance is undergoing software patching.
- A manual failover of the DB instance was initiated using Reboot with failover or when an Availability Zone outage or when the primary DB instance fails.
- When server performance is deteriorating.
- An Availability Zone outage or when the primary DB instance fails.
- The DB instance’s server type is changed or the operating system of the DB instance is undergoing software patching.
- A manual failover of the DB instance was initiated using Reboot with failover or when an Availability Zone outage or when the primary DB instance fails.
- When server performance is deteriorating.
You are an IT administrator of a company which has a SaaS product developed using AWS platform. You have enabled multi-AZ deployment for the product RDS database. Few days after the release you get an alert from DB event notification on your mobile phone that your primary Amazon RDS instance has failed. What should you do ensure that your production environment is available to users by ensuring a fast seamless failover to secondary instance?
- Update the DB connection string used by application server to secondary database instance.
- Create a new primary instance by making a copy from the secondary instance.
- No need to do anything, Amazon RDS handles failovers automatically so you can resume database operations as quickly as possible without administrative intervention.
- Update the DNS record of the DB instance to point to the standby DB instance.
- Update the DB connection string used by application server to secondary database instance.
- Create a new primary instance by making a copy from the secondary instance.
- No need to do anything, Amazon RDS handles failovers automatically so you can resume database operations as quickly as possible without administrative intervention.
- Update the DNS record of the DB instance to point to the standby DB instance.
Which database engines supported by Amazon RDS have multi-AZ?
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server
- MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, PostgreSQL, Oracle, Microsoft SQL Server, Amazon Aurora
- MySQL, MariaDB, Oracle, Microsoft SQL Server, Amazon Aurora
You are an IT administrator of a company which has a SaaS product developed using AWS platform. You have enabled multi-AZ deployment for the product RDS database. You know that AWS automatically failovers to secondary instance when primary instance fails. Before going to production you want to simulate and test this failover. What is the simplest way to test?
- You have to wait for the new software patch to download for the DB instance.
- Initiate the snapshot creation of primary instance which will make AWS switch to secondary.
- Reboot the primary instance.
- Delete the primary instance.
- You have to wait for the new software patch to download for the DB instance.
- Initiate the snapshot creation of primary instance which will make AWS switch to secondary.
- Reboot the primary instance.
- Delete the primary instance.
What are the features provided by Amazon RDS Multi-AZ deployments? Choose 2.
- Enhanced availability
- Enhanced Durability
- Enhanced performance
- Network latency reduction
- Enhanced availability
- Enhanced Durability
- Enhanced performance
- Network latency reduction
What is the differences between Single-AZ and Multi-AZ deployment during backup activity? Choose 3.
- In Single-AZ deployments, I/O activity is suspended on your primary during backup.
- In Multi-AZ deployments, I/O activity is not suspended on your primary during backup, because the backup is taken from the standby.
- In Multi-AZ deployments, I/O activity is suspended on your primary during backup.
- There will be elevated latencies for a few minutes during backups for Multi-AZ deployments.
- In Single-AZ deployments, I/O activity is suspended on your primary during backup.
- In Multi-AZ deployments, I/O activity is not suspended on your primary during backup, because the backup is taken from the standby.
- In Multi-AZ deployments, I/O activity is suspended on your primary during backup.
- There will be elevated latencies for a few minutes during backups for Multi-AZ deployments.
How is instance failure handled in Amazon Aurora deployment? Choose 2.
- Amazon Aurora uses RDS Multi-AZ technology to automate failover to one of up to 15 Amazon Aurora Replicas created in any of three Availability Zones.
- Amazon Aurora Multi-AZ deployment feature has to be enabled specifically to automate failover to one of up to 15 Amazon Aurora Replicas created in any of three Availability Zones.
- If no Amazon Aurora Replicas have been provisioned, in the case of a failure, you have to manually create a new Amazon Aurora DB instance.
- f no Amazon Aurora Replicas have been provisioned, in the case of a failure, Amazon RDS will attempt to create a new Amazon Aurora DB instance for you automatically.
- Amazon Aurora uses RDS Multi-AZ technology to automate failover to one of up to 15 Amazon Aurora Replicas created in any of three Availability Zones.
- Amazon Aurora Multi-AZ deployment feature has to be enabled specifically to automate failover to one of up to 15 Amazon Aurora Replicas created in any of three Availability Zones.
- If no Amazon Aurora Replicas have been provisioned, in the case of a failure, you have to manually create a new Amazon Aurora DB instance.
- If no Amazon Aurora Replicas have been provisioned, in the case of a failure, Amazon RDS will attempt to create a new Amazon Aurora DB instance for you automatically.
How Amazon Aurora MySQL provides Fault-Tolerant and Self-Healing Storage? Choose 3.
- Each 10GB chunk of your database volume is replicated six ways, across three Availability Zones.
- Transparently handles the loss of up to two copies of data without affecting database write availability and up to three copies without affecting read availability.
- Data blocks and disks are continuously scanned for errors and replaced automatically.
- Each 10GB chunk of your database volume is replicated three ways, across three Availability Zones.
- Each 10GB chunk of your database volume is replicated six ways, across three Availability Zones.
- Transparently handles the loss of up to two copies of data without affecting database write availability and up to three copies without affecting read availability.
- Data blocks and disks are continuously scanned for errors and replaced automatically.
- Each 10GB chunk of your database volume is replicated three ways, across three Availability Zones.
You are designing an application whose storage needs is very hard to predict. You don’t want to continuously monitor and increase the storage size of your RDBMS database. You want to use MySQL DB. Cost, availability and reliability is also your consideration. Which Amazon service you will use? Choose 2.
- MySQL installed on EC2
- RDS with MySQL
- Aurora with MySQL
- Serverless Aurora
- MySQL installed on EC2
- RDS with MySQL
- Aurora with MySQL
- Serverless Aurora
What is the maximum retention value you can set in RDS?
- 15 days
- 35 days
- 25 days
- 45 days
- 15 days
- 35 days
- 25 days
- 45 days
How many copies of your data Aurora stores?
- 3
- 4
- 5
- 6
- 3
- 4
- 5
- 6
What is Aurora Global Database? Choose 2
- Aurora global database consists of one primary AWS Region where your data is mastered, and one read-only, secondary AWS Region
- urora global database consists of one primary AWS AZ where your data is mastered, and one read-only, secondary AZ
- Only the primary cluster performs write operations.
- Secondary performs both read and write.
- Aurora global database consists of one primary AWS Region where your data is mastered, and one read-only, secondary AWS Region
- urora global database consists of one primary AWS AZ where your data is mastered, and one read-only, secondary AZ
- Only the primary cluster performs write operations.
- Secondary performs both read and write.
What is the default backup retention period if you create the RDS DB instance using the console?
- 1 day
- 7 days
- 35 days
- 0 day
- 1 day
- 7 days
- 35 days
- 0 day
What is the default backup retention period if you create the RDS DB instance using Amazon RDS API or the AWS CLI.?
- 1 day
- 7 days
- 35 days
- 0 day
- 1 day
- 7 days
- 35 days
- 0 day
You can set up the RDS backup retention period to between 0 and 35 days. What is the effect of setting the value to 0?
- Retention period is set to 1 hour
- Retention period is set to default value of seven days
- Disables automated backups
- Retention period is set to default value of one day
- Retention period is set to 1 hour
- Retention period is set to default value of seven days
- Disables automated backups
- Retention period is set to default value of one day
Which of the following statements are correct about RDS backups? Choose 3.
- Amazon RDS creates and saves automated backups of your DB instance.
- Amazon RDS creates a storage volume snapshot of your DB instance, backing up the entire DB instance and not just individual databases.
- Amazon RDS creates a storage volume snapshot of your DB instance, backing up only individual databases chosen by you.
- You can also back up your DB instance manually, by manually creating a DB snapshot.
- Amazon RDS creates and saves automated backups of your DB instance.
- Amazon RDS creates a storage volume snapshot of your DB instance, backing up the entire DB instance and not just individual databases.
- Amazon RDS creates a storage volume snapshot of your DB instance, backing up only individual databases chosen by you.
- You can also back up your DB instance manually, by manually creating a DB snapshot.