Amazon (DBS-C01) Exam Questions And Answers page 4
A company has deployed an application that uses an Amazon RDS for MySQL DB cluster. The DB cluster uses three read replicas. The primary DB instance is an 8XL-sized instance, and the read replicas are each XL-sized instances.
Users report that database queries are returning stale data. The replication lag indicates that the replicas are 5 minutes behind the primary DB instance. Status queries on the replicas show that the SQL_THREAD is 10 binlogs behind the IO_THREAD and that the IO_THREAD is 1 binlog behind the primary.
Which changes will reduce the lag? (Choose two.)
Users report that database queries are returning stale data. The replication lag indicates that the replicas are 5 minutes behind the primary DB instance. Status queries on the replicas show that the SQL_THREAD is 10 binlogs behind the IO_THREAD and that the IO_THREAD is 1 binlog behind the primary.
Which changes will reduce the lag? (Choose two.)
Migrate the primary DB instance to an Amazon Aurora MySQL DB cluster and add three Aurora Replicas.
Move the read replicas to the same Availability Zone as the primary DB instance.
Increase the instance size of the primary DB instance within the same instance class.
Increase the instance size of the read replicas to the same size and class as the primary DB instance.
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
A company has deployed an e-commerce web application in a new AWS account. An Amazon RDS for MySQL Multi-AZ DB instance is part of this deployment with a database-1.xxxxxxxxxxxx.us-east-1.rds.amazonaws.com endpoint listening on port 3306. The company s Database Specialist is able to log in to MySQL and run queries from the bastion host using these details.
When users try to utilize the application hosted in the AWS account, they are presented with a generic error message. The application servers are logging a could not connect to server: Connection times out error message to Amazon CloudWatch Logs.
What is the cause of this error?
When users try to utilize the application hosted in the AWS account, they are presented with a generic error message. The application servers are logging a could not connect to server: Connection times out error message to Amazon CloudWatch Logs.
What is the cause of this error?
The user name and password the application is using are incorrect.
The security group assigned to the application servers does not have the necessary rules to allow inbound connections from the DB instance.
The security group assigned to the DB instance does not have the necessary rules to allow inbound connections from the application servers.
The user name and password are correct, but the user is not authorized to use the DB instance.
Database High Availability and Disaster Recovery
Database Monitoring and Troubleshooting
A company has migrated a single MySQL database to Amazon Aurora. The production data is hosted in a DB cluster in VPC_PROD, and 12 testing environments are hosted in VPC_TEST using the same AWS account. Testing results in minimal changes to the test data. The Development team wants each environment refreshed nightly so each test database contains fresh production data every day.
Which migration approach will be the fastest and most cost-effective to implement?
Which migration approach will be the fastest and most cost-effective to implement?
Run the master in Amazon Aurora MySQL. Create 12 clones in VPC_TEST, and script the clones to be deleted and re-created nightly.
Run the master in Amazon Aurora MySQL. Take a nightly snapshot, and restore it into 12 databases in VPC_TEST using Aurora Serverless.
Run the master in Amazon Aurora MySQL. Create 12 Aurora Replicas in VPC_TEST, and script the replicas to be deleted and re-created nightly.
Run the master in Amazon Aurora MySQL using Aurora Serverless. Create 12 clones in VPC_TEST, and script the clones to be deleted and re-created nightly.
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
A company has multiple applications serving data from a secure on-premises database. The company is migrating all applications and databases to the AWS Cloud. The IT Risk and Compliance department requires that auditing be enabled on all secure databases to capture all log ins, log outs, failed logins, permission changes, and database schema changes. A Database Specialist has recommended Amazon Aurora MySQL as the migration target, and leveraging the Advanced Auditing feature in Aurora.
Which events need to be specified in the Advanced Auditing configuration to satisfy the minimum auditing requirements? (Choose three.)
Which events need to be specified in the Advanced Auditing configuration to satisfy the minimum auditing requirements? (Choose three.)
CONNECT
QUERY_DCL
QUERY_DDL
QUERY_DML
TABLE
QUERY
Database Deployment, Migration, and Management
Database Security and Compliance
A company has multiple applications serving data from a secure on-premises database. The company is migrating all applications and databases to the AWS Cloud. The IT Risk and Compliance department requires that auditing be enabled on all secure databases to capture all log ins, log outs, failed logins, permission changes, and database schema changes. A Database Specialist has recommended Amazon Aurora MySQL as the migration target, and leveraging the Advanced Auditing feature in Aurora.
Which events need to be specified in the Advanced Auditing configuration to satisfy the minimum auditing requirements? (Choose three.)
Which events need to be specified in the Advanced Auditing configuration to satisfy the minimum auditing requirements? (Choose three.)
CONNECT
QUERY_DCL
QUERY_DDL
QUERY_DML
TABLE
QUERY
Database Deployment, Migration, and Management
Database Security and Compliance
A company has two separate AWS accounts: one for the business unit and another for corporate analytics. The company wants to replicate the business unit data stored in Amazon RDS for MySQL in us-east-1 to its corporate analytics Amazon Redshift environment in us-west-1. The company wants to use AWS DMS with Amazon RDS as the source endpoint and Amazon Redshift as the target endpoint.
Which action will allow AVS DMS to perform the replication?
Which action will allow AVS DMS to perform the replication?
Configure the AWS DMS replication instance in the same account and Region as Amazon Redshift.
Configure the AWS DMS replication instance in the same account as Amazon Redshift and in the same Region as Amazon RDS.
Configure the AWS DMS replication instance in its own account and in the same Region as Amazon Redshift.
Configure the AWS DMS replication instance in the same account and Region as Amazon RDS.
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
A company hosts an internal file-sharing application running on Amazon EC2 instances in VPC_A. This application is backed by an Amazon ElastiCache cluster, which is in VPC_B and peered with VPC_A. The company migrates its application instances from VPC_A to VPC_B. Logs indicate that the file-sharing application no longer can connect to the ElastiCache cluster.
What should a database specialist do to resolve this issue?
What should a database specialist do to resolve this issue?
Create a second security group on the EC2 instances. Add an outbound rule to allow traffic from the ElastiCache cluster security group.
Delete the ElastiCache security group. Add an interface VPC endpoint to enable the EC2 instances to connect to the ElastiCache cluster.
Modify the ElastiCache security group by adding outbound rules that allow traffic to VPC_B s CIDR blocks from the ElastiCache cluster.
Modify the ElastiCache security group by adding an inbound rule that allows traffic from the EC2 instances security group to the ElastiCache cluster.
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
A company hosts an on-premises Microsoft SQL Server Enterprise edition database with Transparent Data Encryption (TDE) enabled. The database is 20 TB in size and includes sparse tables. The company needs to migrate the database to Amazon RDS for SQL Server during a maintenance window that is scheduled for an upcoming weekend. Data-at-rest encryption must be enabled for the target DB instance.
Which combination of steps should the company take to migrate the database to AWS in the MOST operationally efficient manner? (Choose two.)
Which combination of steps should the company take to migrate the database to AWS in the MOST operationally efficient manner? (Choose two.)
Use AWS Database Migration Service (AWS DMS) to migrate from the on-premises source database to the RDS for SQL Server target database.
Disable TDE. Create a database backup without encryption. Copy the backup to Amazon S3.
Restore the backup to the RDS for SQL Server DB instance. Enable TDE for the RDS for SQL Server DB instance.
Set up an AWS Snowball Edge device. Copy the database backup to the device. Send the device to AWS. Restore the database from Amazon S3.
Encrypt the data with client-side encryption before transferring the data to Amazon RDS.
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
A company is about to launch a new product, and test databases must be re-created from production data. The company runs its production databases on an Amazon Aurora MySQL DB cluster. A Database Specialist needs to deploy a solution to create these test databases as quickly as possible with the least amount of administrative effort.
What should the Database Specialist do to meet these requirements?
What should the Database Specialist do to meet these requirements?
Restore a snapshot from the production cluster into test clusters
Create logical dumps of the production cluster and restore them into new test clusters
Use database cloning to create clones of the production cluster
Add an additional read replica to the production cluster and use that node for testing
Database Deployment, Migration, and Management
A company is building a new web platform where user requests trigger an AWS Lambda function that performs an insert into an Amazon Aurora MySQL DB cluster. Initial tests with less than 10 users on the new platform yielded successful execution and fast response times. However, upon more extensive tests with the actual target of 3,000 concurrent users, Lambda functions are unable to connect to the DB cluster and receive too many connections errors.
Which of the following will resolve this issue?
Which of the following will resolve this issue?
Edit the my.cnf file for the DB cluster to increase max_connections
Increase the instance size of the DB cluster
Change the DB cluster to Multi-AZ
Increase the number of Aurora Replicas
Database Deployment, Migration, and Management
Database High Availability and Disaster Recovery
Comments