ExamGecko
Home Home / Amazon / DBS-C01

Amazon DBS-C01 Practice Test - Questions Answers, Page 24

Question list
Search
Search

List of questions

Search

Related questions











A company conducted a security audit of its AWS infrastructure. The audit identified that data was not encrypted in transit between application servers and a MySQL database that is hosted in Amazon RDS.

After the audit, the company updated the application to use an encrypted connection. To prevent this problem from occurring again, the company's database team needs to configure the database to require in-transit encryption for all connections.

Which solution will meet this requirement?

A.
Update the parameter group in use by the DB instance, and set the require_secure_transport parameter to ON.
A.
Update the parameter group in use by the DB instance, and set the require_secure_transport parameter to ON.
Answers
B.
Connect to the database, and use ALTER USER to enable the REQUIRE SSL option on the database user.
B.
Connect to the database, and use ALTER USER to enable the REQUIRE SSL option on the database user.
Answers
C.
Update the security group in use by the DB instance, and remove port 80 to prevent unencrypted connections from being established.
C.
Update the security group in use by the DB instance, and remove port 80 to prevent unencrypted connections from being established.
Answers
D.
Update the DB instance, and enable the Require Transport Layer Security option.
D.
Update the DB instance, and enable the Require Transport Layer Security option.
Answers
Suggested answer: A

Explanation:


https://aws.amazon.com/about-aws/whats-new/2022/08/amazon-rds-mysql-supports-ssl-tlsconnections/

A database specialist is designing an enterprise application for a large company. The application uses Amazon DynamoDB with DynamoDB Accelerator (DAX).

The database specialist observes that most of the queries are not found in the DAX cache and that they still require DynamoDB table reads.

What should the database specialist review first to improve the utility of DAX?

A.
The DynamoDB ConsumedReadCapacityUnits metric
A.
The DynamoDB ConsumedReadCapacityUnits metric
Answers
B.
The trust relationship to perform the DynamoDB API calls
B.
The trust relationship to perform the DynamoDB API calls
Answers
C.
The DAX cluster's TTL setting
C.
The DAX cluster's TTL setting
Answers
D.
The validity of customer-specified AWS Key Management Service (AWS KMS) keys for DAX encryption at rest
D.
The validity of customer-specified AWS Key Management Service (AWS KMS) keys for DAX encryption at rest
Answers
Suggested answer: C

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.clustermanagement.html#DAX.cluster-management.custom-settings.ttl

A company is loading sensitive data into an Amazon Aurora MySQL database. To meet compliance requirements, the company needs to enable audit logging on the Aurora MySQL DB cluster to audit database activity. This logging will include events such as connections, disconnections, queries, and tables queried. The company also needs to publish the DB logs to Amazon CloudWatch to perform real-time data analysis.

Which solution meets these requirements?

A.
Modify the default option group parameters to enable Advanced Auditing. Restart the database for the changes to take effect.
A.
Modify the default option group parameters to enable Advanced Auditing. Restart the database for the changes to take effect.
Answers
B.
Create a custom DB cluster parameter group. Modify the parameters for Advanced Auditing. Modify the cluster to associate the new custom DB parameter group with the Aurora MySQL DB cluster.
B.
Create a custom DB cluster parameter group. Modify the parameters for Advanced Auditing. Modify the cluster to associate the new custom DB parameter group with the Aurora MySQL DB cluster.
Answers
C.
Take a snapshot of the database. Create a new DB instance, and enable custom auditing and logging to CloudWatch. Deactivate the DB instance that has no logging.
C.
Take a snapshot of the database. Create a new DB instance, and enable custom auditing and logging to CloudWatch. Deactivate the DB instance that has no logging.
Answers
D.
Enable AWS CloudTrail for the DB instance. Create a filter that provides only connections, disconnections, queries, and tables queried.
D.
Enable AWS CloudTrail for the DB instance. Create a filter that provides only connections, disconnections, queries, and tables queried.
Answers
Suggested answer: B

Explanation:


https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Auditing.html

A company has an on-premises production Microsoft SQL Server with 250 GB of data in one database. A database specialist needs to migrate this on-premises SQL Server to Amazon RDS for SQL Server. The nightly native SQL Server backup file is approximately 120 GB in size. The application can be down for an extended period of time to complete the migration. Connectivity between the on-premises environment and AWS can be initiated from premises only.

How can the database be migrated from on-premises to Amazon RDS with the LEAST amount of effort?

A.
Back up the SQL Server database using a native SQL Server backup. Upload the backup files to Amazon S3. Download the backup files on an Amazon EC2 instance and restore them from the EC2 instance into the new production RDS instance.
A.
Back up the SQL Server database using a native SQL Server backup. Upload the backup files to Amazon S3. Download the backup files on an Amazon EC2 instance and restore them from the EC2 instance into the new production RDS instance.
Answers
B.
Back up the SQL Server database using a native SQL Server backup. Upload the backup files to Amazon S3. Restore the backup files from the S3 bucket into the new production RDS instance.
B.
Back up the SQL Server database using a native SQL Server backup. Upload the backup files to Amazon S3. Restore the backup files from the S3 bucket into the new production RDS instance.
Answers
C.
Provision and configure AWS DMS. Set up replication between the on-premises SQL Server environment to replicate the database to the new production RDS instance.
C.
Provision and configure AWS DMS. Set up replication between the on-premises SQL Server environment to replicate the database to the new production RDS instance.
Answers
D.
Back up the SQL Server database using AWS Backup. Once the backup is complete, restore the completed backup to an Amazon EC2 instance and move it to the new production RDS instance.
D.
Back up the SQL Server database using AWS Backup. Once the backup is complete, restore the completed backup to an Amazon EC2 instance and move it to the new production RDS instance.
Answers
Suggested answer: B

Explanation:


https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html

A database specialist needs to delete user data and sensor data 1 year after it was loaded in an Amazon DynamoDB table. TTL is enabled on one of the attributes. The database specialist monitors TTL rates on the Amazon CloudWatch metrics for the table and observes that items are not being deleted as expected.

What is the MOST likely reason that the items are not being deleted?

A.
The TTL attribute's value is set as a Number data type.
A.
The TTL attribute's value is set as a Number data type.
Answers
B.
The TTL attribute's value is set as a Binary data type.
B.
The TTL attribute's value is set as a Binary data type.
Answers
C.
The TTL attribute's value is a timestamp in the Unix epoch time format in seconds.
C.
The TTL attribute's value is a timestamp in the Unix epoch time format in seconds.
Answers
D.
The TTL attribute's value is set with an expiration of 1 year.
D.
The TTL attribute's value is set with an expiration of 1 year.
Answers
Suggested answer: B

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html#time-to-live-ttlbefore-you-start-formatting

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 dat a. 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.)

A.
Deploy two additional read replicas matching the existing replica DB instance size.
A.
Deploy two additional read replicas matching the existing replica DB instance size.
Answers
B.
Migrate the primary DB instance to an Amazon Aurora MySQL DB cluster and add three Aurora Replicas.
B.
Migrate the primary DB instance to an Amazon Aurora MySQL DB cluster and add three Aurora Replicas.
Answers
C.
Move the read replicas to the same Availability Zone as the primary DB instance.
C.
Move the read replicas to the same Availability Zone as the primary DB instance.
Answers
D.
Increase the instance size of the primary DB instance within the same instance class.
D.
Increase the instance size of the primary DB instance within the same instance class.
Answers
E.
Increase the instance size of the read replicas to the same size and class as the primary DB instance.
E.
Increase the instance size of the read replicas to the same size and class as the primary DB instance.
Answers
Suggested answer: B, E

Explanation:


https://www.quora.com/What-is-the-difference-between-a-RDS-read-replica-and-an-Amazon-Aurora-Read-replica

https://aws.amazon.com/premiumsupport/knowledge-center/rds-mysql-high-replica-lag/

A company is using Amazon Aurora MySQL as the database for its retail application on AWS. The company receives a notification of a pending database upgrade and wants to ensure upgrades do not occur before or during the most critical time of year. Company leadership is concerned that an Amazon RDS maintenance window will cause an outage during data ingestion.

Which step can be taken to ensure that the application is not interrupted?

A.
Disable weekly maintenance on the DB cluster.
A.
Disable weekly maintenance on the DB cluster.
Answers
B.
Clone the DB cluster and migrate it to a new copy of the database.
B.
Clone the DB cluster and migrate it to a new copy of the database.
Answers
C.
Choose to defer the upgrade and then find an appropriate down time for patching.
C.
Choose to defer the upgrade and then find an appropriate down time for patching.
Answers
D.
Set up an Aurora Replica and promote it to primary at the time of patching.
D.
Set up an Aurora Replica and promote it to primary at the time of patching.
Answers
Suggested answer: C

Explanation:


A company's development team needs to have production data restored in a staging AWS account.

The production database is running on an Amazon RDS for PostgreSQL Multi-AZ DB instance, which has AWS KMS encryption enabled using the default KMS key.

A database specialist planned to share the most recent automated snapshot with the staging account, but discovered that the option to share snapshots is disabled in the AWS Management Console.

What should the database specialist do to resolve this?

A.
Disable automated backups in the DB instance. Share both the automated snapshot and the default KMS key with the staging account. Restore the snapshot in the staging account and enable automated backups.
A.
Disable automated backups in the DB instance. Share both the automated snapshot and the default KMS key with the staging account. Restore the snapshot in the staging account and enable automated backups.
Answers
B.
Copy the automated snapshot specifying a custom KMS encryption key. Share both the copied snapshot and the custom KMS encryption key with the staging account. Restore the snapshot to the staging account within the same Region.
B.
Copy the automated snapshot specifying a custom KMS encryption key. Share both the copied snapshot and the custom KMS encryption key with the staging account. Restore the snapshot to the staging account within the same Region.
Answers
C.
Modify the DB instance to use a custom KMS encryption key. Share both the automated snapshot and the custom KMS encryption key with the staging account. Restore the snapshot in the staging account.
C.
Modify the DB instance to use a custom KMS encryption key. Share both the automated snapshot and the custom KMS encryption key with the staging account. Restore the snapshot in the staging account.
Answers
D.
Copy the automated snapshot while keeping the default KMS key. Share both the snapshot and the default KMS key with the staging account. Restore the snapshot in the staging account.
D.
Copy the automated snapshot while keeping the default KMS key. Share both the snapshot and the default KMS key with the staging account. Restore the snapshot in the staging account.
Answers
Suggested answer: B

Explanation:


https://aws.amazon.com/premiumsupport/knowledge-center/rds-snapshots-share-account/

A software-as-a-service (SaaS) company is using an Amazon Aurora Serverless DB cluster for its production MySQL database. The DB cluster has general logs and slow query logs enabled. A database engineer must use the most operationally efficient solution with minimal resource utilization to retain the logs and facilitate interactive search and analysis.

Which solution meets these requirements?

A.
Use an AWS Lambda function to ship database logs to an Amazon S3 bucket. Use Amazon Athena and Amazon QuickSight to search and analyze the logs.
A.
Use an AWS Lambda function to ship database logs to an Amazon S3 bucket. Use Amazon Athena and Amazon QuickSight to search and analyze the logs.
Answers
B.
Download the logs from the DB cluster and store them in Amazon S3 by using manual scripts. Use Amazon Athena and Amazon QuickSight to search and analyze the logs.
B.
Download the logs from the DB cluster and store them in Amazon S3 by using manual scripts. Use Amazon Athena and Amazon QuickSight to search and analyze the logs.
Answers
C.
Use an AWS Lambda function to ship database logs to an Amazon S3 bucket. Use Amazon Elasticsearch Service (Amazon ES) and Kibana to search and analyze the logs.
C.
Use an AWS Lambda function to ship database logs to an Amazon S3 bucket. Use Amazon Elasticsearch Service (Amazon ES) and Kibana to search and analyze the logs.
Answers
D.
Use Amazon CloudWatch Logs Insights to search and analyze the logs when the logs are automatically uploaded by the DB cluster.
D.
Use Amazon CloudWatch Logs Insights to search and analyze the logs when the logs are automatically uploaded by the DB cluster.
Answers
Suggested answer: D

Explanation:


https://aws.amazon.com/premiumsupport/knowledge-center/aurora-serverless-logs-enable-view/

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html

A retail company uses Amazon Redshift Spectrum to run complex analytical queries on objects that are stored in an Amazon S3 bucket. The objects are joined with multiple dimension tables that are stored in an Amazon Redshift database.

The company uses the database to create monthly and quarterly aggregated reports. Users who attempt to run queries are reporting the following error message: error: Spectrum Scan Error: Access throttled Which solution will resolve this error?

A.
Check file sizes of fact tables in Amazon S3, and look for large files. Break up large files into smaller files of equal size between 100 MB and 1 GB
A.
Check file sizes of fact tables in Amazon S3, and look for large files. Break up large files into smaller files of equal size between 100 MB and 1 GB
Answers
B.
Reduce the number of queries that users can run in parallel.
B.
Reduce the number of queries that users can run in parallel.
Answers
C.
Check file sizes of fact tables in Amazon S3, and look for small files. Merge the small files into larger files of at least 64 MB in size.
C.
Check file sizes of fact tables in Amazon S3, and look for small files. Merge the small files into larger files of at least 64 MB in size.
Answers
D.
Review and optimize queries that submit a large aggregation step to Redshift Spectrum.
D.
Review and optimize queries that submit a large aggregation step to Redshift Spectrum.
Answers
Suggested answer: C

Explanation:


https://docs.aws.amazon.com/redshift/latest/dg/c-spectrum-troubleshooting.html#spectrumtroubleshooting-access-throttled

https://docs.aws.amazon.com/redshift/latest/dg/c-spectrum-troubleshooting.html

https://docs.aws.amazon.com/redshift/latest/dg/c-spectrum-troubleshooting.html#spectrumtroubleshooting-access-throttled

Total 321 questions
Go to page: of 33