Amazon Web Services certification · Exam DBS-C01

DBS-C01 Mock Exam Page 2

AWS Certified Database - Specialty

Free DBS-C01 mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free DBS-C01 questions

11–20 of 60 free
Question 11 Choose 1

A large company is using an Amazon RDS for Oracle Multi-AZ DB instance with a Java application. As a part
of its disaster recovery annual testing, the company would like to simulate an Availability Zone failure and
record how the application reacts during the DB instance failover activity. The company does not want to
make any code changes for this activity.
What should the company do to achieve this in the shortest amount of time?

Show answerHide answer

Correct answer: C

Use RDS fault injection queries to simulate the primary node failure

Question 12 Choose 3

A media company is using Amazon RDS for PostgreSQL to store user data. The RDS DB instance currently
has a publicly accessible setting enabled and is hosted in a public subnet. Following a recent AWS Well-
Architected Framework review, a Database Specialist was given new security requirements.
Only certain on-premises corporate network IPs should connect to the DB instance.
Connectivity is allowed from the corporate network only. Which combination of steps does the Database
Specialist need to take to meet these new requirements?
Choose three.)

Show answerHide answer

Correct answer: D, E, F

Enable VPC peering between the application host running on the corporate network and the VPC
associated with the DB instance.

Disable the publicly accessible setting.

Connect to the DB instance using private IPs and a VPN.

Question 13 Choose 1

A Database Specialist is working with a company to launch a new website built on Amazon Aurora with
several Aurora Replicas. This new website will replace an on-premises website connected to a legacy
relational database. Due to stability issues in the legacy database, the company would like to test the resiliency
of Aurora.
Which action can the Database Specialist take to test the resiliency of the Aurora DB cluster?

Show answerHide answer

Correct answer: B

Use Aurora fault injection to crash the master DB instance

Question 14 Choose 1

A large financial services company requires that all data be encrypted in transit. A Developer is attempting to
connect to an Amazon RDS DB instance using the company VPC for the first time with credentials provided
by a Database Specialist. Other members of the Development team can connect, but this user is consistently
receiving an error indicating a communications link failure. The Developer asked the Database Specialist to
reset the password a number of times, but the error persists.
Which step should be taken to troubleshoot this issue?

Show answerHide answer

Correct answer: B

Ensure that the RDS DB instance’s subnet group includes a public subnet to allow the Developer
toconnect

Question 15 Choose 1

A company maintains several databases using Amazon RDS for MySQL and PostgreSQL. Each RDS database
generates log files with retention periods set to their default values. The company has now mandated that
database logs be maintained for up to 90 days in a centralized repository to facilitate real-time and
after-the-fact analyses.
What should a Database Specialist do to meet these requirements with minimal effort?

Show answerHide answer

Correct answer: A

Create an AWS Lambda function to pull logs from the RDS databases and consolidate the log files in an
Amazon S3 bucket. Set a lifecycle policy to expire the objects after 90 days

Question 16 Choose 1

A Database Specialist is performing a proof of concept with Amazon Aurora using a small instance to confirm
a simple database behavior. When loading a large dataset and creating the index, the Database Specialist
encounters the following error message from Aurora:
ERROR: cloud not write block 7507718 of temporary file: No space left on device
What is the cause of this error and what should the Database Specialist do to resolve this issue

Show answerHide answer

Correct answer: C

The local storage used to store temporary tables is full. The Database Specialist needs to scale up
theinstance.

Question 17 Choose 1

A company has deployed an e-commerce web application in a new AWS account. An Amazon RDS for
MySQL Multi-AZ DB instance is part of this deployment with a
database-1.xxxxxxxxxxxx.us-east-1.rds.amazonaws.com endpoint listening on port 3306. The company’s
Database Specialist is able to log in to MySQL and run queries from the bastion host using these details.
When users try to utilize the application hosted in the AWS account, they are presented with a generic error
message. The application servers are logging a “could not connect to server: Connection times out” error
message to Amazon CloudWatch Logs.
What is the cause of this error?

Show answerHide answer

Correct answer: C

The security group assigned to the DB instance does not have the necessary rules to allow inbound
connections from the application servers.

Question 18 Choose 1

A company wants to automate the creation of secure test databases with random credentials to be stored safely
for later use. The credentials should have sufficient information about each test database to initiate a
connection and perform automated credential rotations. The credentials should not be logged or stored
anywhere in an unencrypted form.
Which steps should a Database Specialist take to meet these requirements using an AWS CloudFormation
template?

Show answerHide answer

Correct answer: C

Add a resource of type AWS::SecretsManager::Secret and specify the GenerateSecretString property.
Then, define the database user name in the SecureStringTemplate template. Create a resource for the
database and reference the secret string for the MasterUserName and MasterUserPassword properties.
Then, add a resource of type AWS::SecretsManagerSecretTargetAttachment with the SecretId and
TargetId properties set to the Amazon Resource Names (ARNs) of the secret and the database.

Question 19 Choose 1

A marketing company is using Amazon DocumentDB and requires that database audit logs be enabled. A
Database Specialist needs to configure monitoring so that all data definition language (DDL) statements
performed are visible to the Administrator. The Database Specialist has set the audit_logs parameter to
enabled in the cluster parameter group.
What should the Database Specialist do to automatically collect the database logs for the Administrator?

Show answerHide answer

Correct answer: A

Enable DocumentDB to export the logs to Amazon CloudWatch Logs

Question 20 Choose 1

A Database Specialist has migrated an on-premises Oracle database to Amazon Aurora PostgreSQL. Theschema and the data have been migrated successfully. The on-premises database server was also being used to
run database maintenance cron jobs written in Python to perform tasks including data purging and generating
data exports. The logs for these jobs show that, most of the time, the jobs completed within 5 minutes, but a
few jobs took up to 10 minutes to complete. These maintenance jobs need to be set up for Aurora PostgreSQL.
How can the Database Specialist schedule these jobs so the setup requires minimal maintenance and provides
high availability?

Show answerHide answer

Correct answer: D

Create the maintenance job using the Amazon CloudWatch job scheduling plugin

Full mock exam

Sit the DBS-C01 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real DBS-C01 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full DBS-C01 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 200questions in the bank
  • Newmock on every attempt