ExamGecko
Home Home / Amazon / DBS-C01

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

Question list
Search
Search

List of questions

Search

Related questions











Recently, an ecommerce business transferred one of its SQL Server databases to an Amazon RDS for SQL Server Enterprise Edition database instance. The corporation anticipates an increase in read traffic as a result of an approaching sale. To accommodate the projected read load, a database professional must establish a read replica of the database instance.

Which procedures should the database professional do prior to establishing the read replica? (Select two.)

A.
Identify a potential downtime window and stop the application calls to the source DB instance.
A.
Identify a potential downtime window and stop the application calls to the source DB instance.
Answers
B.
Ensure that automatic backups are enabled for the source DB instance.
B.
Ensure that automatic backups are enabled for the source DB instance.
Answers
C.
Ensure that the source DB instance is a Multi-AZ deployment with Always ON Availability Groups.
C.
Ensure that the source DB instance is a Multi-AZ deployment with Always ON Availability Groups.
Answers
D.
Ensure that the source DB instance is a Multi-AZ deployment with SQL Server Database Mirroring (DBM).
D.
Ensure that the source DB instance is a Multi-AZ deployment with SQL Server Database Mirroring (DBM).
Answers
E.
Modify the read replica parameter group setting and set the value to 1.
E.
Modify the read replica parameter group setting and set the value to 1.
Answers
Suggested answer: B, C

Explanation:


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

AWS CloudFormation stack including an Amazon RDS database instance was mistakenly removed, resulting in the loss of recent dat a. A Database Specialist must apply RDS parameters to the CloudFormation template in order to minimize the possibility of future inadvertent instance data loss.

Which settings will satisfy this criterion? (Select three.)

A.
Set DeletionProtection to True
A.
Set DeletionProtection to True
Answers
B.
Set MultiAZ to True
B.
Set MultiAZ to True
Answers
C.
Set TerminationProtection to True
C.
Set TerminationProtection to True
Answers
D.
Set DeleteAutomatedBackups to False
D.
Set DeleteAutomatedBackups to False
Answers
E.
Set DeletionPolicy to Delete
E.
Set DeletionPolicy to Delete
Answers
F.
Set DeletionPolicy to Retain
F.
Set DeletionPolicy to Retain
Answers
Suggested answer: A, D, F

Explanation:


A - https://aws.amazon.com/about-aws/whats-new/2018/09/amazon-rds-now-provides-database-deletion-protection/

D-https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html

F - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

On AWS, a business is developing a web application. The application needs that the database supports concurrent read and write activities in several AWS Regions. Additionally, the database must communicate data changes across Regions as they occur. The application must be highly available and have a latency of less than a few hundred milliseconds.

Which solution satisfies these criteria?

A.
Amazon DynamoDB global tables
A.
Amazon DynamoDB global tables
Answers
B.
Amazon DynamoDB streams with AWS Lambda to replicate the data
B.
Amazon DynamoDB streams with AWS Lambda to replicate the data
Answers
C.
An Amazon ElastiCache for Redis cluster with cluster mode enabled and multiple shards
C.
An Amazon ElastiCache for Redis cluster with cluster mode enabled and multiple shards
Answers
D.
An Amazon Aurora global database
D.
An Amazon Aurora global database
Answers
Suggested answer: A

Explanation:


Aurora Global Databases provides a writer and a reader endpoints in the primary region but only a reader endpoints in other region. Although strongly consistent, it does not fulfill the requirements that "there are plenty of read / write activities" in all regions.

A business uses Amazon EC2 instances in VPC A to serve an internal file-sharing application. This application is supported by an Amazon ElastiCache cluster in VPC B that is peering with VPC

A.
The corporation migrates the instances of its applications from VPC A to VPC B. The file-sharing application is no longer able to connect to the ElastiCache cluster, as shown by the logs. What is the best course of action for a database professional to take in order to remedy this issue?
A.
The corporation migrates the instances of its applications from VPC A to VPC B. The file-sharing application is no longer able to connect to the ElastiCache cluster, as shown by the logs. What is the best course of action for a database professional to take in order to remedy this issue?
Answers
B.
Create a second security group on the EC2 instances. Add an outbound rule to allow traffic from the ElastiCache cluster security group.
B.
Create a second security group on the EC2 instances. Add an outbound rule to allow traffic from the ElastiCache cluster security group.
Answers
C.
Delete the ElastiCache security group. Add an interface VPC endpoint to enable the EC2 instances to connect to the ElastiCache cluster.
C.
Delete the ElastiCache security group. Add an interface VPC endpoint to enable the EC2 instances to connect to the ElastiCache cluster.
Answers
D.
Modify the ElastiCache security group by adding outbound rules that allow traffic to VPC CIDR blocks from the ElastiCache cluster.
D.
Modify the ElastiCache security group by adding outbound rules that allow traffic to VPC CIDR blocks from the ElastiCache cluster.
Answers
E.
Modify the ElastiCache security group by adding an inbound rule that allows traffic from the EC2 instances security group to the ElastiCache cluster.
E.
Modify the ElastiCache security group by adding an inbound rule that allows traffic from the EC2 instances security group to the ElastiCache cluster.
Answers
Suggested answer: D

Explanation:


https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html

A ride-hailing application stores bookings in a persistent Amazon RDS for MySQL DB instance. This program is very popular, and the corporation anticipates a tenfold rise in the application's user base over the next several months. The application receives a higher volume of traffic in the morning and evening.

This application is divided into two sections:

An internal booking component that takes online reservations in response to concurrent user queries.

A component of a third-party customer relationship management (CRM) system that customer service professionals utilize. Booking data is accessed using queries in the CRM.

To manage this workload effectively, a database professional must create a cost-effective database system.

Which solution satisfies these criteria?

A.
Use Amazon ElastiCache for Redis to accept the bookings. Associate an AWS Lambda function to capture changes and push the booking data to the RDS for MySQL DB instance used by the CRM.
A.
Use Amazon ElastiCache for Redis to accept the bookings. Associate an AWS Lambda function to capture changes and push the booking data to the RDS for MySQL DB instance used by the CRM.
Answers
B.
Use Amazon DynamoDB to accept the bookings. Enable DynamoDB Streams and associate an AWS Lambda function to capture changes and push the booking data to an Amazon SQS queue. This triggers another Lambda function that pulls data from Amazon SQS and writes it to the RDS for MySQL DB instance used by the CRM.
B.
Use Amazon DynamoDB to accept the bookings. Enable DynamoDB Streams and associate an AWS Lambda function to capture changes and push the booking data to an Amazon SQS queue. This triggers another Lambda function that pulls data from Amazon SQS and writes it to the RDS for MySQL DB instance used by the CRM.
Answers
C.
Use Amazon ElastiCache for Redis to accept the bookings. Associate an AWS Lambda function to capture changes and push the booking data to an Amazon Redshift database used by the CRM.
C.
Use Amazon ElastiCache for Redis to accept the bookings. Associate an AWS Lambda function to capture changes and push the booking data to an Amazon Redshift database used by the CRM.
Answers
D.
Use Amazon DynamoDB to accept the bookings. Enable DynamoDB Streams and associate an AWS Lambda function to capture changes and push the booking data to Amazon Athena, which is used by the CRM.
D.
Use Amazon DynamoDB to accept the bookings. Enable DynamoDB Streams and associate an AWS Lambda function to capture changes and push the booking data to Amazon Athena, which is used by the CRM.
Answers
Suggested answer: B

Explanation:


"AWS Lambda function to capture changes" capture changes to what? ElastiCache? The main use of ElastiCache is to cache frequently read data. Also "the company expects a tenfold increase in the user base" and "correspond to simultaneous requests from users"

Amazon Neptune is being used by a corporation as the graph database for one of its products. During an ETL procedure, the company's data science team produced enormous volumes of temporary data by unintentionally. The Neptune DB cluster extended its storage capacity automatically to handle the added data, but the data science team erased the superfluous data.

What should a database professional do to prevent incurring extra expenditures for cluster volume space that is not being used?

A.
Take a snapshot of the cluster volume. Restore the snapshot in another cluster with a smaller volume size.
A.
Take a snapshot of the cluster volume. Restore the snapshot in another cluster with a smaller volume size.
Answers
B.
Use the AWS CLI to turn on automatic resizing of the cluster volume.
B.
Use the AWS CLI to turn on automatic resizing of the cluster volume.
Answers
C.
Export the cluster data into a new Neptune DB cluster.
C.
Export the cluster data into a new Neptune DB cluster.
Answers
D.
Add a Neptune read replica to the cluster. Promote this replica as a new primary DB instance. Reset the storage space of the cluster.
D.
Add a Neptune read replica to the cluster. Promote this replica as a new primary DB instance. Reset the storage space of the cluster.
Answers
Suggested answer: C

Explanation:


The only way to shrink the storage space used by your DB cluster when you have a large amount of unused allocated space is to export all the data in your graph and then reload it into a new DB cluster.

Creating and restoring a snapshot does not reduce the amount of storage allocated for your DB cluster, because a snapshot retains the original image of the cluster's underlying storage.

A bank intends to utilize Amazon RDS to host a MySQL database instance. The database should be able to handle high-volume read requests with extremely few repeated queries.

Which solution satisfies these criteria?

A.
Create an Amazon ElastiCache cluster. Use a write-through strategy to populate the cache.
A.
Create an Amazon ElastiCache cluster. Use a write-through strategy to populate the cache.
Answers
B.
Create an Amazon ElastiCache cluster. Use a lazy loading strategy to populate the cache.
B.
Create an Amazon ElastiCache cluster. Use a lazy loading strategy to populate the cache.
Answers
C.
Change the DB instance to Multi-AZ with a standby instance in another AWS Region.
C.
Change the DB instance to Multi-AZ with a standby instance in another AWS Region.
Answers
D.
Create a read replica of the DB instance. Use the read replica to distribute the read traffic.
D.
Create a read replica of the DB instance. Use the read replica to distribute the read traffic.
Answers
Suggested answer: D

Explanation:


A database specialist is constructing an AWS CloudFormation stack using AWS CloudFormation. The database expert wishes to avoid the stack's Amazon RDS ProductionDatabase resource being accidentally deleted.

Which solution will satisfy this criterion?

A.
Create a stack policy to prevent updates. Include “Effect” : “ProductionDatabase” and “Resource” : “Deny” in the policy.
A.
Create a stack policy to prevent updates. Include “Effect” : “ProductionDatabase” and “Resource” : “Deny” in the policy.
Answers
B.
Create an AWS CloudFormation stack in XML format. Set xAttribute as false.
B.
Create an AWS CloudFormation stack in XML format. Set xAttribute as false.
Answers
C.
Create an RDS DB instance without the DeletionPolicy attribute. Disable termination protection.
C.
Create an RDS DB instance without the DeletionPolicy attribute. Disable termination protection.
Answers
D.
Create a stack policy to prevent updates. Include Effect, Deny, and Resource :ProductionDatabase in the policy.
D.
Create a stack policy to prevent updates. Include Effect, Deny, and Resource :ProductionDatabase in the policy.
Answers
Suggested answer: D

Explanation:


https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html

"When you set a stack policy, all resources are protected by default. To allow updates on all resources, we add an Allow statement that allows all actions on all resources. Although the Allow statement specifies all resources, the explicit Deny statement overrides it for the resource with the ProductionDatabase logical ID. This Deny statement prevents all update actions, such as replacement or deletion, on the ProductionDatabase resource."

Amazon DynamoDB global tables are being used by a business to power an online gaming game. The game is played by gamers from all around the globe. As the game became popularity, the amount of queries to DynamoDB substantially rose. Recently, gamers have complained about the game's condition being inconsistent between nations. A database professional notices that the ReplicationLatency metric for many replica tables is set to an abnormally high value.

Which strategy will resolve the issue?

A.
Configure all replica tables to use DynamoDB auto scaling.
A.
Configure all replica tables to use DynamoDB auto scaling.
Answers
B.
Configure a DynamoDB Accelerator (DAX) cluster on each of the replicas.
B.
Configure a DynamoDB Accelerator (DAX) cluster on each of the replicas.
Answers
C.
Configure the primary table to use DynamoDB auto scaling and the replica tables to use manually provisioned capacity.
C.
Configure the primary table to use DynamoDB auto scaling and the replica tables to use manually provisioned capacity.
Answers
D.
Configure the table-level write throughput limit service quota to a higher value.
D.
Configure the table-level write throughput limit service quota to a higher value.
Answers
Suggested answer: A

Explanation:


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

Recently, a gaming firm purchased a popular iOS game that is especially popular during the Christmas season. The business has opted to include a leaderboard into the game, which will be powered by Amazon DynamoDB. The application's load is likely to increase significantly throughout the Christmas season.

Which solution satisfies these criteria at the lowest possible cost?

A.
DynamoDB Streams
A.
DynamoDB Streams
Answers
B.
DynamoDB with DynamoDB Accelerator
B.
DynamoDB with DynamoDB Accelerator
Answers
C.
DynamoDB with on-demand capacity mode
C.
DynamoDB with on-demand capacity mode
Answers
D.
DynamoDB with provisioned capacity mode with Auto Scaling
D.
DynamoDB with provisioned capacity mode with Auto Scaling
Answers
Suggested answer: D

Explanation:


"On-demand is ideal for bursty, new, or unpredictable workloads whose traffic can spike in seconds or minutes" vs. 'DynamoDB released auto scaling to make it easier for you to manage capacity efficiently, and auto scaling continues to help DynamoDB users lower the cost of workloads that have a predictable traffic pattern."

https://aws.amazon.com/blogs/database/amazon-dynamodb-auto-scaling-performance-and-costoptimization-at-any-scale/

Total 321 questions
Go to page: of 33