RDS Flashcards
You are working as an AWS Architect for a multinational bank with hybrid cloud architecture. The bank is running a currency exchange website which uses a Microsoft SQL Server RDS instance as its database. As part of the company’s business continuity plan, there is a need to keep a read replica of the production RDS instance to the bank’s on premise data center. In this scenario, what is the most secure and effective way to meet this requirement?
- Change the Microsoft SQL Server RDS instance as the master node and then enable replication over the public Internet using a secure SSL endpoint to a server on the on premise data center.
- Configure the Microsoft SQL Server RDS instance to replicate to an EC2 instance with core MySQL and then enable Replication over a secure VPN connection
- Use native backup and restore for Microsoft SQL Server databases using full backup files by storing it on Amazon S3, and then restore the backup file onto an on-premises server.
- Create an IPsec VPN connection through the Virtual Private Cloud service and enable auto-replication feature in RDS
- Create an IPsec VPN connection through the Virtual Private Cloud service and enable auto-replication feature in RDS
Option A is incorrect as it is feasible: you could put your RDS DB in a public subnet and configure SSL for it but you have been asked for the most secure way.
Option B is incorrect because Even EC2 is external to RDS and it won’t be secure option.
Option C is incorrect because it describes a backup-restore solution
Option D is correct because it provides the most secure direct connection from the RDS SQL Server instance to the On Premise data center, and replication can be configured within the SQL Server service since it can’t be done from the RDS service to On Premise data center.
Refer:
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html#USER_ReadRepl.Create
What two fault tolerant features does Amazon RDS support?
- Copy snapshot to a different region
- Create read replica to a different region
- Copy unencrypted read-replica only
- copy read/write replica and snapshot
- Copy snapshot to a different region
- Create read replica to a different region
Select two features available with Amazon RDS for MySQL?
- Auto-Scaling
- read requests to standby replicas
- real-time database replication
- active read requests only
- read requests to standby replicas
- real-time database replication
You are working in a Research and Development Department in IT Company where you as a Cloud Architect, trying to check the impact on real time transaction. You created a multi-AZ RDS setup consists of: Primary instance, Standby instance and a Read-replica. If the standby instance is not able to catch-up, what is the impact to transactions in primary?
- Transaction are impacted only if you configured it for Synchronous Replication
- Transaction are impacted only if you configured it for Asynchronous Replication
- Transactions are not impacted
- Transactions are impacted
- Transactions are not impacted
Answer: C
Option C is correct because, for multi-AZ high availability, RDS uses synchronous replication between primary and standby systems. RDS Read Replica, on the other hand, uses asynchronous replication and any slowness in Read Replica instance would simply cause data lag only in the read – replica. Transactions in primary are not impacted.
Refer:
https://aws.amazon.com/rds/faqs/
A company is planning to migrate their existing on premise application to the AWS Cloud. The application currently runs on .Net and uses Microsoft SQL Server as the backend database. Your Company has some limitations as they don’t have the developers currently to make recent changes to the code and also they don’t have the Infrastructure team currently to manage the infrastructure on AWS. Which of the following data service would your Company choose on AWS for the best use?
- AWS RDS
- AWS DynamoDB
- AWS Aurora
- AWS Redshift
- AWS RDS
Answer: A
Option A is correct because one can use the AWS RDS service and choose the Microsoft SQL Server platform. Since the company does not have the developers available to make large code changes, they can just migrate the data and change the connection strings in the code. Also with the absence of the Infrastructure team, the AWS RDS service takes care of the Infrastructure.
Options B, C, D are incorrect because managing code and Infrastructure can’t be done.
Refer to Easy to administer Section:
https://aws.amazon.com/rds/
What are the three advantages of standby replica in a Multi-AZ RDS deployment?
- fault tolerance
- eliminate I/O freezes
- horizontal scaling
- vertical scaling
- data redundancy
- fault tolerance
- eliminate I/O freezes
- data redundancy
A scope has been handed to you to set up a super fast gaming server and you decide that you will use Amazon DynamoDB as your database. For efficient access to data in a table, Amazon DynamoDB creates and maintains indexes for the primary key attributes. A secondary index is a data structure that contains a subset of attributes from a table, along with an alternate key to support Query operations. How many types of secondary indexes does DynamoDB support?
- 2
- 16
- 4
- As many as you need
- 2
DynamoDB supports two types of secondary indexes:
Local secondary index — an index that has the same hash key as the table, but a different range key. A local secondary index is “IocaI” in the sense that every partition of a local secondary index is scoped to a table partition that has the same hash key.
Global secondary index — an index with a hash and range key that can be different from those on the table. A global secondary index is considered “gIobaI” because queries on the index can span all of the data in a table, across all partitions.
Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Secondarylndexes.html
What type of replication is supported by Multi-AZ RDS instances?
- Asynchronous replication
- Continuous replication
- Synchronous replication
- Sequential replication
- Synchronous replication
Multi-AZ deployments utilize synchronous replication, making database writes concurrently on both the primary and standby so that the standby will be up-to-date in the event a failover occurs.
As a Solutions Architect, you advise on team planning activities. A team is building an application that must store persistent JSON data and be able to have an index. Data access must remain consistent if there is high traffic volume. What service should you recommend to the team?
- Amazon ElastiCache
- AWS CloudFormation
- Amazon DynamoDB
- Amazon Redshift
- Amazon DynamoDB
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. The data stored in DynamoDB is JSON format, making it the perfect data store for this requirement.
What managed services are included with Amazon RDS? (select four)
- assign network capacity to database instances
- install database software
- perform regular backups
- data replication across multiple availability zones
- data replication across single availability zone only
- configure database
- performance tuning
- assign network capacity to database instances
- install database software
- perform regular backups
- data replication across multiple availability zones
In accordance with your company’s overall business continuity plan, you are looking at implementing a resiliency & disaster recovery strategy for your production MariaDB database. This currently utilises 5 disbursed Read Replicas. You are considering the use of Amazon RDS Multi-AZ deployments in combination with the Read Replicas. Which of these statements regarding that are false?
- With RDS for MariaDB, you can set the read replica as Multi-AZ, allowing you to use the read replica as a DR target. When you promote the read replica to be a standalone database, it will already be Multi-AZ enabled.
- If the source instance of a Multi-AZ deployment fails over to the secondary, any associated Read Replicas automatically switch to use the secondary (now primary) as their replication source.
- You cannot combine Read Replicas with Multi-AZ deployments for the MariaDB database engine. Only PostgreSQL, Aurora and Oracle database engines are supported.
- RDS Read Replicas support Multi-AZ deployments for MariaDB with 5 Read Replicas
- You cannot combine Read Replicas with Multi-AZ deployments for the MariaDB database engine. Only PostgreSQL, Aurora and Oracle database engines are supported.
As of the 11th of January 2018, Amazon RDS Read Replicas for MySQL and MariaDB support Multi-AZ deployments. Note that the question asks for the FALSE answer.
Your team manages a popular website running Amazon Relational Database Service (Amazon RDS) MySQL back end. The Marketing department has just informed you about an upcoming television commercial that will drive thousands of new visitors to the website. How can you prepare your database to handle the load? (Choose 3 answers)
- Vertically scale the DB Instance by selecting a more powerful instance class.
- Create read replicas to offload read requests and update your application.
- Upgrade the storage from Magnetic volumes to General Purpose Solid State Drive (SSD) volumes.
- Upgrade to Amazon Redshift for faster columnar storage.
- Vertically scale the DB Instance by selecting a more powerful instance class.
- Create read replicas to offload read requests and update your application.
- Upgrade the storage from Magnetic volumes to General Purpose Solid State Drive (SSD) volumes.
You have enabled Amazon RDS database services in VPC1 for an application with public web servers
in VPC2. How do you connect the web servers to the RDS database instance so they can
communicate considering the VPC’s are in different regions?
- VPC endpoints
- VPN gateway
- path-based routing
- publicly accessible database
- VPC peering
- VPC peering
You have a small database workload with infrequent I/O. Which storage medium would the most cost-effective way to meet these requirements?
- Amazon RDS Cold Storage
- Amazon RDS Magnetic Storage
- Amazon RDS General Purpose (SSD) Storage
- Amazon RDS Provisioned IOPS (SSD) Storage
- Amazon RDS Magnetic Storage
The question is specific that you are evaluating for RDS. Cold Storage is not a valid option for RDS. of the three valid types for RDS, Magnetic is still the cheapest
A user is planning to use the AWS RDS with MySQL. Which of the below mentioned services the user is not going to pay?
- Data transfer
- RDS CloudWatch metrics
- Data storage
- I/O requests per month
- RDS CloudWatch metrics
Your company is migrating an on-premise 15 TB PostrgreSQL database to AWS. The company expects this database to triple in size and has a business requirement of synchronous replica lag be under 100 ms. Which AWS RDS service will meet the requirement best?
- MySQL
- Oracle
- DynamoDB
- Amazon Aurora
- PostrgreSQL
- Amazon Aurora
Aurora Cluster can grow up 64 TB in size and replica lag is less than 100 ms after the primary instance has written an update.
You are currently tasked with creating a table in Amazon DynamoDB. Which of the following choices will enable you to do so?
choose 2.
- Click the blue ‘Create table’ button in the DynamoDB dashboard of the AWS Management Console.
- Build an application to add a DynamoDB table using an AWS programming toolkit.
- Enter the ‘create-table’ command in the AWS Command Line Interface (CLI).
- Enter the ‘aws dynamodb create-table’ command in the AWS Command Line Interface (CLI).
- Click the blue ‘Create table’ button in the DynamoDB dashboard of the AWS Management Console.
- Enter the ‘aws dynamodb create-table’ command in the AWS Command Line Interface (CLI).
To create a DynamoDB table, you can either start the process by either entering the ‘aws dynamodb create-table’ command in the CLI or clicking the blue ‘Create table’ button in the DynamoDB dashboard of the AWS Management Console. Entering the ‘create-table’ command in the CLI is not enough; you need to specify the AWS database service you are using. Building an application to add a DynamoDB table using an AWS programming toolkit is not a valid option.
Your company has got a client whose data is stored in AWS for a 3-tier application. They have given some key requirements for the database, it should have Ability for multiple schema changes, the database should be durable, and Changes to the database should not result in downtime. As a Cloud Architect of the Company, Which of the following would be the best data storage option for the Client?
- AWS S3
- AWS Redshift
- AWS DynamoDB
- AWS Aurora
- AWS Aurora
Answer: D
Option D is correct because Amazon Aurora does support working with schema changes.
Option A, B, C are incorrect none of these are have these features together.
Refer:
https://aws.amazon.com/blogs/database/amazon-aurora-under-the-hood-fast-ddl/
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.FastDDL.html
What are the two characteristics of Amazon RDS?
- database managed service
- NoSQL queries
- native load balancer
- database write replicas
- automatic failover of read replica
- database managed service
- native load balancer