ExamGecko
Home Home / Amazon / DBS-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A company is developing a new web application. An AWS CloudFormation template was created as a part of the build process.

Recently, a change was made to an AWS::RDS::DBInstance resource in the template. The CharacterSetName property was changed to allow the application to process international text. A change set was generated using the new template, which indicated that the existing DB instance should be replaced during an upgrade.

What should a database specialist do to prevent data loss during the stack upgrade?

A.
Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack.
A.
Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack.
Answers
B.
Modify the stack policy using the aws cloudformation update-stack command and the set-stackpolicy command, then make the DB resource protected.
B.
Modify the stack policy using the aws cloudformation update-stack command and the set-stackpolicy command, then make the DB resource protected.
Answers
C.
Create a snapshot of the DB instance. Update the stack. Restore the database to a new instance.
C.
Create a snapshot of the DB instance. Update the stack. Restore the database to a new instance.
Answers
D.
Deactivate any applications that are using the DB instance. Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack and reactivate the applications.
D.
Deactivate any applications that are using the DB instance. Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack and reactivate the applications.
Answers
Suggested answer: D

Explanation:


To preserve your data, perform the following procedure:

1.Deactivate any applications that are using the DB instance so that there's no activity on the DB instance.

2.Create a snapshot of the DB instance. For more information about creating DB snapshots

3.If you want to restore your instance using a DB snapshot, modify the updated template with your DB instance changes and add the DBSnapshotIdentifier property with the ID of the DB snapshot that you want to use

4.Update the stack.

Reference: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-propertiesrds-database-instance.html

A company recently acquired a new business. A database specialist must migrate an unencrypted 12 TB Amazon RDS for MySQL DB instance to a new AWS account. The database specialist needs to minimize the amount of time required to migrate the database.

Which solution meets these requirements?

A.
Create a snapshot of the source DB instance in the source account. Share the snapshot with the destination account. In the target account, create a DB instance from the snapshot.
A.
Create a snapshot of the source DB instance in the source account. Share the snapshot with the destination account. In the target account, create a DB instance from the snapshot.
Answers
B.
Use AWS Resource Access Manager to share the source DB instance with the destination account. Create a DB instance in the destination account using the shared resource.
B.
Use AWS Resource Access Manager to share the source DB instance with the destination account. Create a DB instance in the destination account using the shared resource.
Answers
C.
Create a read replica of the DB instance. Give the destination account access to the read replica. In the destination account, create a snapshot of the shared read replica and provision a new RDS for MySQL DB instance.
C.
Create a read replica of the DB instance. Give the destination account access to the read replica. In the destination account, create a snapshot of the shared read replica and provision a new RDS for MySQL DB instance.
Answers
D.
Use mysqldump to back up the source database. Create an RDS for MySQL DB instance in the destination account. Use the mysql command to restore the backup in the destination database.
D.
Use mysqldump to back up the source database. Create an RDS for MySQL DB instance in the destination account. Use the mysql command to restore the backup in the destination database.
Answers
Suggested answer: A

Explanation:


Sharing an unencrypted manual DB snapshot enables authorized AWS accounts to directly restore a DB instance from the snapshot instead of taking a copy of it and restoring from that.

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ShareSnapshot.html HoweverResource Access Manager could not share non-Aurora cluster.

https://docs.aws.amazon.com/ram/latest/userguide/shareable.html

A company has applications running on Amazon EC2 instances in a private subnet with no internet connectivity. The company deployed a new application that uses Amazon DynamoDB, but the application cannot connect to the DynamoDB tables. A developer already checked that all permissions are set correctly.

What should a database specialist do to resolve this issue while minimizing access to external resources?

A.
Add a route to an internet gateway in the subnet’s route table.
A.
Add a route to an internet gateway in the subnet’s route table.
Answers
B.
Add a route to a NAT gateway in the subnet’s route table.
B.
Add a route to a NAT gateway in the subnet’s route table.
Answers
C.
Assign a new security group to the EC2 instances with an outbound rule to ports 80 and 443.
C.
Assign a new security group to the EC2 instances with an outbound rule to ports 80 and 443.
Answers
D.
Create a VPC endpoint for DynamoDB and add a route to the endpoint in the subnet’s route table.
D.
Create a VPC endpoint for DynamoDB and add a route to the endpoint in the subnet’s route table.
Answers
Suggested answer: D

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/vpc-endpointsdynamodb.html

The Amazon CloudWatch metric for FreeLocalStorage on an Amazon Aurora MySQL DB instance shows that the amount of local storage is below 10 MB. A database engineer must increase the local storage available in the Aurora DB instance.

How should the database engineer meet this requirement?

A.
Modify the DB instance to use an instance class that provides more local SSD storage.
A.
Modify the DB instance to use an instance class that provides more local SSD storage.
Answers
B.
Modify the Aurora DB cluster to enable automatic volume resizing.
B.
Modify the Aurora DB cluster to enable automatic volume resizing.
Answers
C.
Increase the local storage by upgrading the database engine version.
C.
Increase the local storage by upgrading the database engine version.
Answers
D.
Modify the DB instance and configure the required storage volume in the configuration section.
D.
Modify the DB instance and configure the required storage volume in the configuration section.
Answers
Suggested answer: A

Explanation:


https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.AuroraMySQL.Monitoring.Metrics.html

Unlike for other DB engines, for Aurora DB instances this metric reports the amount of storage available to each DB instance. This value depends on the DB instance class (for pricing information, see the Amazon RDS product page). You can increase the amount of free storage space for an instance by choosing a larger DB instance class for your instance."

A company has an ecommerce web application with an Amazon RDS for MySQL DB instance. The marketing team has noticed some unexpected updates to the product and pricing information on the website, which is impacting sales targets. The marketing team wants a database specialist to audit future database activity to help identify how and when the changes are being made.

What should the database specialist do to meet these requirements? (Choose two.)

A.
Create an RDS event subscription to the audit event type.
A.
Create an RDS event subscription to the audit event type.
Answers
B.
Enable auditing of CONNECT and QUERY_DML events.
B.
Enable auditing of CONNECT and QUERY_DML events.
Answers
C.
SSH to the DB instance and review the database logs.
C.
SSH to the DB instance and review the database logs.
Answers
D.
Publish the database logs to Amazon CloudWatch Logs.
D.
Publish the database logs to Amazon CloudWatch Logs.
Answers
E.
Enable Enhanced Monitoring on the DB instance.
E.
Enable Enhanced Monitoring on the DB instance.
Answers
Suggested answer: B, D

Explanation:


https://aws.amazon.com/blogs/database/configuring-an-audit-log-to-capture-database-activitiesfor-amazon-rds-for-mysql-and-amazon-aurora-with-mysql-compatibility/

A large gaming company is creating a centralized solution to store player session state for multiple online games. The workload required key-value storage with low latency and will be an equal mix of reads and writes. Data should be written into the AWS Region closest to the user across the games’ geographically distributed user base. The architecture should minimize the amount of overhead required to manage the replication of data between Regions.

Which solution meets these requirements?

A.
Amazon RDS for MySQL with multi-Region read replicas
A.
Amazon RDS for MySQL with multi-Region read replicas
Answers
B.
Amazon Aurora global database
B.
Amazon Aurora global database
Answers
C.
Amazon RDS for Oracle with GoldenGate
C.
Amazon RDS for Oracle with GoldenGate
Answers
D.
Amazon DynamoDB global tables
D.
Amazon DynamoDB global tables
Answers
Suggested answer: A

Explanation:


A company is running an on-premises application comprised of a web tier, an application tier, and a MySQL database tier. The database is used primarily during business hours with random activity peaks throughout the day. A database specialist needs to improve the availability and reduce the cost of the MySQL database tier as part of the company’s migration to AWS. Which MySQL database option would meet these requirements?

A.
Amazon RDS for MySQL with Multi-AZ
A.
Amazon RDS for MySQL with Multi-AZ
Answers
B.
Amazon Aurora Serverless MySQL cluster
B.
Amazon Aurora Serverless MySQL cluster
Answers
C.
Amazon Aurora MySQL cluster
C.
Amazon Aurora MySQL cluster
Answers
D.
Amazon RDS for MySQL with read replica
D.
Amazon RDS for MySQL with read replica
Answers
Suggested answer: C

Explanation:


A company wants to migrate its Microsoft SQL Server Enterprise Edition database instance from onpremises to AWS. A deep review is performed and the AWS Schema Conversion Tool (AWS SCT) provides options for running this workload on Amazon RDS for SQL Server Enterprise Edition, Amazon RDS for SQL Server Standard Edition, Amazon Aurora MySQL, and Amazon Aurora PostgreSQL. The company does not want to use its own SQL server license and does not want to change from Microsoft SQL Server.

What is the MOST cost-effective and operationally efficient solution?

A.
Run SQL Server Enterprise Edition on Amazon EC2.
A.
Run SQL Server Enterprise Edition on Amazon EC2.
Answers
B.
Run SQL Server Standard Edition on Amazon RDS.
B.
Run SQL Server Standard Edition on Amazon RDS.
Answers
C.
Run SQL Server Enterprise Edition on Amazon RDS.
C.
Run SQL Server Enterprise Edition on Amazon RDS.
Answers
D.
Run Amazon Aurora MySQL leveraging SQL Server on Linux compatibility libraries.
D.
Run Amazon Aurora MySQL leveraging SQL Server on Linux compatibility libraries.
Answers
Suggested answer: B

Explanation:


This link seems to indicate that more information is required to determine if the Enterprise instance is a candidate for downgrading to Standard. https://docs.aws.amazon.com/prescriptiveguidance/ latest/patterns/determine-whether-your- microsoft-sql-server-database-can-bedowngraded- from-enterprise-to-standard-edition.html

https://calculator.aws/#/createCalculator/RDSSQLServer

A company’s ecommerce website uses Amazon DynamoDB for purchase orders. Each order is made up of a Customer ID and an Order ID. The DynamoDB table uses the Customer ID as the partition key and the Order ID as the sort key.

To meet a new requirement, the company also wants the ability to query the table by using a third attribute named Invoice ID. Queries using the Invoice ID must be strongly consistent. A database specialist must provide this capability with optimal performance and minimal overhead.

What should the database administrator do to meet these requirements?

A.
Add a global secondary index on Invoice ID to the existing table.
A.
Add a global secondary index on Invoice ID to the existing table.
Answers
B.
Add a local secondary index on Invoice ID to the existing table.
B.
Add a local secondary index on Invoice ID to the existing table.
Answers
C.
Recreate the table by using the latest snapshot while adding a local secondary index on Invoice ID.
C.
Recreate the table by using the latest snapshot while adding a local secondary index on Invoice ID.
Answers
D.
Use the partition key and a FilterExpression parameter with a filter on Invoice ID for all queries.
D.
Use the partition key and a FilterExpression parameter with a filter on Invoice ID for all queries.
Answers
Suggested answer: C

Explanation:

as Local secondary index can only be created while creating the Dynamodb table. and query needs to use third attribute on top of primary and sort key, so Local Secondary index has primary and sort key as well as the third attribute. Global secondary index can be created without primary and sort key

A company wants to migrate its on-premises MySQL databases to Amazon RDS for MySQL. To comply with the company’s security policy, all databases must be encrypted at rest. RDS DB instance snapshots must also be shared across various accounts to provision testing and staging environments.

Which solution meets these requirements?

A.
Create an RDS for MySQL DB instance with an AWS Key Management Service (AWS KMS) customer managed CMK. Update the key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
A.
Create an RDS for MySQL DB instance with an AWS Key Management Service (AWS KMS) customer managed CMK. Update the key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
Answers
B.
Create an RDS for MySQL DB instance with an AWS managed CMK. Create a new key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
B.
Create an RDS for MySQL DB instance with an AWS managed CMK. Create a new key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
Answers
C.
Create an RDS for MySQL DB instance with an AWS owned CMK. Create a new key policy to include the administrator user name of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
C.
Create an RDS for MySQL DB instance with an AWS owned CMK. Create a new key policy to include the administrator user name of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
Answers
D.
Create an RDS for MySQL DB instance with an AWS CloudHSM key. Update the key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
D.
Create an RDS for MySQL DB instance with an AWS CloudHSM key. Update the key policy to include the Amazon Resource Name (ARN) of the other AWS accounts as a principal, and then allow the kms:CreateGrant action.
Answers
Suggested answer: A

Explanation:


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

Total 321 questions
Go to page: of 33