ExamGecko
Home Home / Amazon / DBS-C01

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

Question list
Search
Search

List of questions

Search

Related questions











An ecommerce company is running AWS Database Migration Service (AWS DMS) to replicate an onpremises Microsoft SQL Server database to Amazon RDS for SQL Server. The company has set up an AWS Direct Connect connection from its on-premises data center to AWS. During the migration, the company's security team receives an alarm that is related to the migration. The security team mandates that the DMS replication instance must not be accessible from public IP addresses.

What should a database specialist do to meet this requirement?

A.
Set up a VPN connection to encrypt the traffic over the Direct Connect connection.
A.
Set up a VPN connection to encrypt the traffic over the Direct Connect connection.
Answers
B.
Modify the DMS replication instance by disabling the publicly accessible option.
B.
Modify the DMS replication instance by disabling the publicly accessible option.
Answers
C.
Delete the DMS replication instance. Recreate the DMS replication instance with the publicly accessible option disabled.
C.
Delete the DMS replication instance. Recreate the DMS replication instance with the publicly accessible option disabled.
Answers
D.
Create a new replication VPC subnet group with private subnets. Modify the DMS replication instance by selecting the newly created VPC subnet group.
D.
Create a new replication VPC subnet group with private subnets. Modify the DMS replication instance by selecting the newly created VPC subnet group.
Answers
Suggested answer: C

Explanation:


https://aws.amazon.com/premiumsupport/knowledge-center/dms-disable-public-access/

A company is using an Amazon Aurora MySQL database with Performance Insights enabled. A database specialist is checking Performance Insights and observes an alert message that starts with the following phrase: `Performance Insights is unable to collect SQL Digest statistics on new queries`¦` Which action will resolve this alert message?

A.
Truncate the events_statements_summary_by_digest table.
A.
Truncate the events_statements_summary_by_digest table.
Answers
B.
Change the AWS Key Management Service (AWS KMS) key that is used to enable Performance Insights.
B.
Change the AWS Key Management Service (AWS KMS) key that is used to enable Performance Insights.
Answers
C.
Set the value for the performance_schema parameter in the parameter group to 1.
C.
Set the value for the performance_schema parameter in the parameter group to 1.
Answers
D.
Disable and reenable Performance Insights to be effective in the next maintenance window.
D.
Disable and reenable Performance Insights to be effective in the next maintenance window.
Answers
Suggested answer: A

Explanation:


https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.AnalyzeDBLoad.AdditionalMetrics.MySQL.html

A bike rental company operates an application to track its bikes. The application receives location and condition data from bike sensors. The application also receives rental transaction data from the associated mobile app. The application uses Amazon DynamoDB as its database layer. The company has configured DynamoDB with provisioned capacity set to 20% above the expected peak load of the application. On an average day, DynamoDB used 22 billion read capacity units (RCUs) and 60 billion write capacity units (WCUs). The application is running well. Usage changes smoothly over the course of the day and is generally shaped like a bell curve. The timing and magnitude of peaks vary based on the weather and season, but the general shape is consistent.

Which solution will provide the MOST cost optimization of the DynamoDB database layer?

A.
Change the DynamoDB tables to use on-demand capacity.
A.
Change the DynamoDB tables to use on-demand capacity.
Answers
B.
Use AWS Auto Scaling and configure time-based scaling.
B.
Use AWS Auto Scaling and configure time-based scaling.
Answers
C.
Enable DynamoDB capacity-based auto scaling.
C.
Enable DynamoDB capacity-based auto scaling.
Answers
D.
Enable DynamoDB Accelerator (DAX).
D.
Enable DynamoDB Accelerator (DAX).
Answers
Suggested answer: C

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html

A company has a quarterly customer survey. The survey uses an Amazon EC2 instance that is hosted in a public subnet to host a customer survey website. The company uses an Amazon RDS DB instance that is hosted in a private subnet in the same VPC to store the survey results.

The company takes a snapshot of the DB instance after a survey is complete, deletes the DB instance, and then restores the DB instance from the snapshot when the survey needs to be conducted again.

A database specialist discovers that the customer survey website times out when it attempts to establish a connection to the restored DB instance.

What is the root cause of this problem?

A.
The VPC peering connection has not been configured properly for the EC2 instance to communicate with the DB instance.
A.
The VPC peering connection has not been configured properly for the EC2 instance to communicate with the DB instance.
Answers
B.
The route table of the private subnet that hosts the DB instance does not have a NAT gateway configured for communication with the EC2 instance.
B.
The route table of the private subnet that hosts the DB instance does not have a NAT gateway configured for communication with the EC2 instance.
Answers
C.
The public subnet that hosts the EC2 instance does not have an internet gateway configured for communication with the DB instance.
C.
The public subnet that hosts the EC2 instance does not have an internet gateway configured for communication with the DB instance.
Answers
D.
The wrong security group was associated with the new DB instance when it was restored from the snapshot.
D.
The wrong security group was associated with the new DB instance when it was restored from the snapshot.
Answers
Suggested answer: D

Explanation:


A company wants to improve its ecommerce website on AWS. A database specialist decides to add Amazon ElastiCache for Redis in the implementation stack to ease the workload off the database and shorten the website response times.

The database specialist must also ensure the ecommerce website is highly available within the company's AWS Region.

How should the database specialist deploy ElastiCache to meet this requirement?

A.
Launch an ElastiCache for Redis cluster using the AWS CLI with the -cluster-enabled switch.
A.
Launch an ElastiCache for Redis cluster using the AWS CLI with the -cluster-enabled switch.
Answers
B.
Launch an ElastiCache for Redis cluster and select read replicas in different Availability Zones.
B.
Launch an ElastiCache for Redis cluster and select read replicas in different Availability Zones.
Answers
C.
Launch two ElastiCache for Redis clusters in two different Availability Zones. Configure Redis streams to replicate the cache from the primary cluster to another.
C.
Launch two ElastiCache for Redis clusters in two different Availability Zones. Configure Redis streams to replicate the cache from the primary cluster to another.
Answers
D.
Launch an ElastiCache cluster in the primary Availability Zone and restore the cluster's snapshot to a different Availability Zone during disaster recovery.
D.
Launch an ElastiCache cluster in the primary Availability Zone and restore the cluster's snapshot to a different Availability Zone during disaster recovery.
Answers
Suggested answer: B

Explanation:


https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html

You can enable Multi-AZ only on Redis (cluster mode disabled) clusters that have at least one available read replica. Clusters without read replicas do not provide high availability or fault tolerance.

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

A.
Use AWS Database Migration Service (AWS DMS) to migrate from the on-premises source database to the RDS for SQL Server target database.
A.
Use AWS Database Migration Service (AWS DMS) to migrate from the on-premises source database to the RDS for SQL Server target database.
Answers
B.
Disable TDE. Create a database backup without encryption. Copy the backup to Amazon S3.
B.
Disable TDE. Create a database backup without encryption. Copy the backup to Amazon S3.
Answers
C.
Restore the backup to the RDS for SQL Server DB instance. Enable TDE for the RDS for SQL Server DB instance.
C.
Restore the backup to the RDS for SQL Server DB instance. Enable TDE for the RDS for SQL Server DB instance.
Answers
D.
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.
D.
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.
Answers
E.
Encrypt the data with client-side encryption before transferring the data to Amazon RDS.
E.
Encrypt the data with client-side encryption before transferring the data to Amazon RDS.
Answers
Suggested answer: B, C

Explanation:


https://aws.amazon.com/blogs/database/migrate-tde-enabled-sql-server-databases-to-amazon-rdsfor-sql-server/

A database specialist wants to ensure that an Amazon Aurora DB cluster is always automatically upgraded to the most recent minor version available. Noticing that there is a new minor version available, the database specialist has issues an AWS CLI command to enable automatic minor version updates. The command runs successfully, but checking the Aurora DB cluster indicates that no update to the Aurora version has been made.

What might account for this? (Choose two.)

A.
The new minor version has not yet been designated as preferred and requires a manual upgrade.
A.
The new minor version has not yet been designated as preferred and requires a manual upgrade.
Answers
B.
Configuring automatic upgrades using the AWS CLI is not supported. This must be enabled expressly using the AWS Management Console.
B.
Configuring automatic upgrades using the AWS CLI is not supported. This must be enabled expressly using the AWS Management Console.
Answers
C.
Applying minor version upgrades requires sufficient free space.
C.
Applying minor version upgrades requires sufficient free space.
Answers
D.
The AWS CLI command did not include an apply-immediately parameter.
D.
The AWS CLI command did not include an apply-immediately parameter.
Answers
E.
Aurora has detected a breaking change in the new minor version and has automatically rejected the upgrade.
E.
Aurora has detected a breaking change in the new minor version and has automatically rejected the upgrade.
Answers
Suggested answer: A, D

Explanation:


"When Amazon RDS designates a minor engine version as the preferred minor engine version, each database that meets both of the following conditions is upgraded to the minor engine version automatically"

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html

Call the modify-db-instance Amazon CLI command. Specify the name of your DB instance for the --db-instance-identifier option and true for the --auto-minor-version-upgrade option. Optionally, specify the --apply-immediately option to immediately enable this setting for your DB instance. Run aseparate modify-db-instance command for each DB instance in the cluster.

https://docs.amazonaws.cn/en_us/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.Patching.html#AuroraMySQL.Updates.AMVU

A security team is conducting an audit for a financial company. The security team discovers that the database credentials of an Amazon RDS for MySQL DB instance are hardcoded in the source code.

The source code is stored in a shared location for automatic deployment and is exposed to all users who can access the location.

A database specialist must use encryption to ensure that the credentials are not visible in the source code.

Which solution will meet these requirements?

A.
Use an AWS Key Management Service (AWS KMS) key to encrypt the most recent database backup. Restore the backup as a new database to activate encryption.
A.
Use an AWS Key Management Service (AWS KMS) key to encrypt the most recent database backup. Restore the backup as a new database to activate encryption.
Answers
B.
Store the source code to access the credentials in an AWS Systems Manager Parameter Store secure string parameter that is encrypted by AWS Key Management Service (AWS KMS). Access the code with calls to Systems Manager.
B.
Store the source code to access the credentials in an AWS Systems Manager Parameter Store secure string parameter that is encrypted by AWS Key Management Service (AWS KMS). Access the code with calls to Systems Manager.
Answers
C.
Store the credentials in an AWS Systems Manager Parameter Store secure string parameter that is encrypted by AWS Key Management Service (AWS KMS). Access the credentials with calls to Systems Manager.
C.
Store the credentials in an AWS Systems Manager Parameter Store secure string parameter that is encrypted by AWS Key Management Service (AWS KMS). Access the credentials with calls to Systems Manager.
Answers
D.
Use an AWS Key Management Service (AWS KMS) key to encrypt the DB instance at rest. Activate RDS encryption in transit by using SSL certificates.
D.
Use an AWS Key Management Service (AWS KMS) key to encrypt the DB instance at rest. Activate RDS encryption in transit by using SSL certificates.
Answers
Suggested answer: C

Explanation:

only creds in system manager secure parameter.

A gaming company is evaluating Amazon ElastiCache as a solution to manage player leaderboards.

Millions of players around the world will complete in annual tournaments. The company wants to implement an architecture that is highly available. The company also wants to ensure that maintenance activities have minimal impact on the availability of the gaming platform.

Which combination of steps should the company take to meet these requirements? (Choose two.)

A.
Deploy an ElastiCache for Redis cluster with read replicas and Multi-AZ enabled.
A.
Deploy an ElastiCache for Redis cluster with read replicas and Multi-AZ enabled.
Answers
B.
Deploy an ElastiCache for Memcached global datastore.
B.
Deploy an ElastiCache for Memcached global datastore.
Answers
C.
Deploy a single-node ElastiCache for Redis cluster with automatic backups enabled. In the event of a failure, create a new cluster and restore data from the most recent backup.
C.
Deploy a single-node ElastiCache for Redis cluster with automatic backups enabled. In the event of a failure, create a new cluster and restore data from the most recent backup.
Answers
D.
Use the default maintenance window to apply any required system changes and mandatory updates as soon as they are available.
D.
Use the default maintenance window to apply any required system changes and mandatory updates as soon as they are available.
Answers
E.
Choose a preferred maintenance window at the time of lowest usage to apply any required changes and mandatory updates.
E.
Choose a preferred maintenance window at the time of lowest usage to apply any required changes and mandatory updates.
Answers
Suggested answer: A, E

Explanation:


https://aws.amazon.com/blogs/database/configuring-amazon-elasticache-for-redis-for-higheravailability/

A company stores session history for its users in an Amazon DynamoDB table. The company has a large user base and generates large amounts of session data.

Teams analyze the session data for 1 week, and then the data is no longer needed. A database specialist needs to design an automated solution to purge session data that is more than 1 week old.

Which strategy meets these requirements with the MOST operational efficiency?

A.
Create an AWS Step Functions state machine with a DynamoDB DeleteItem operation that uses the ConditionExpression parameter to delete items older than a week. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled rule that runs the Step Functions state machine on a weekly basis.
A.
Create an AWS Step Functions state machine with a DynamoDB DeleteItem operation that uses the ConditionExpression parameter to delete items older than a week. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled rule that runs the Step Functions state machine on a weekly basis.
Answers
B.
Create an AWS Lambda function to delete items older than a week from the DynamoDB table. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled rule that triggers the Lambda function on a weekly basis.
B.
Create an AWS Lambda function to delete items older than a week from the DynamoDB table. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled rule that triggers the Lambda function on a weekly basis.
Answers
C.
Enable Amazon DynamoDB Streams on the table. Use a stream to invoke an AWS Lambda function to delete items older than a week from the DynamoDB table
C.
Enable Amazon DynamoDB Streams on the table. Use a stream to invoke an AWS Lambda function to delete items older than a week from the DynamoDB table
Answers
D.
Enable TTL on the DynamoDB table and set a Number data type as the TTL attribute. DynamoDB will automatically delete items that have a TTL that is less than the current time.
D.
Enable TTL on the DynamoDB table and set a Number data type as the TTL attribute. DynamoDB will automatically delete items that have a TTL that is less than the current time.
Answers
Suggested answer: D

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html

Total 321 questions
Go to page: of 33