Exams > Amazon > AWS Certified Database - Specialty
AWS Certified Database - Specialty
Page 9 out of 27 pages Questions 81-90 out of 262 questions
Question#81

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.
  • B. Modify the stack policy using the aws cloudformation update-stack command and the set-stack-policy command, then make the DB resource protected.
  • C. Create a snapshot of the DB instance. Update the stack. Restore the database to a new instance.
  • 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.
Discover Answer Hide Answer

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

Question#82

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.
  • 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.
  • 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.
  • 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.
Discover Answer Hide Answer

A

Question#83

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.
  • B. Add a route to a NAT gateway in the subnet's route table.
  • C. Assign a new security group to the EC2 instances with an outbound rule to ports 80 and 443.
  • D. Create a VPC endpoint for DynamoDB and add a route to the endpoint in the subnet's route table.
Discover Answer Hide Answer

B

Question#84

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.
  • B. Modify the Aurora DB cluster to enable automatic volume resizing.
  • C. Increase the local storage by upgrading the database engine version.
  • D. Modify the DB instance and configure the required storage volume in the configuration section.
Discover Answer Hide Answer

D

Question#85

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.
  • B. Enable auditing of CONNECT and QUERY_DML events.
  • C. SSH to the DB instance and review the database logs.
  • D. Publish the database logs to Amazon CloudWatch Logs.
  • E. Enable Enhanced Monitoring on the DB instance.
Discover Answer Hide Answer

AD

Question#86

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
  • B. Amazon Aurora global database
  • C. Amazon RDS for Oracle with GoldenGate
  • D. Amazon DynamoDB global tables
Discover Answer Hide Answer

A

Question#87

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
  • B. Amazon Aurora Serverless MySQL cluster
  • C. Amazon Aurora MySQL cluster
  • D. Amazon RDS for MySQL with read replica
Discover Answer Hide Answer

C

Question#88

A company wants to migrate its Microsoft SQL Server Enterprise Edition database instance from on-premises 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.
  • B. Run SQL Server Standard Edition on Amazon RDS.
  • C. Run SQL Server Enterprise Edition on Amazon RDS.
  • D. Run Amazon Aurora MySQL leveraging SQL Server on Linux compatibility libraries.
Discover Answer Hide Answer

D
Reference:
https://docs.aws.amazon.com/SchemaConversionTool/latest/userguide/CHAP_Welcome.html

Question#89

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.
  • B. Add a local secondary index on Invoice ID to the existing table.
  • C. Recreate the table by using the latest snapshot while adding a local secondary index on Invoice ID.
  • D. Use the partition key and a FilterExpression parameter with a filter on Invoice ID for all queries.
Discover Answer Hide Answer

C

Question#90

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.
  • 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.
  • 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.
  • 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.
Discover Answer Hide Answer

A
Reference:
https://docs.aws.amazon.com/kms/latest/developerguide/grants.html

chevron rightPrevious Nextchevron right