ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 50 - DBS-C01 discussion

Report
Export

A company is planning to close for several days. A Database Specialist needs to stop all applications along with the DB instances to ensure employees do not have access to the systems during this time.

All databases are running on Amazon RDS for MySQL.

The Database Specialist wrote and executed a script to stop all the DB instances. When reviewing the logs, the Database Specialist found that Amazon RDS DB instances with read replicas did not stop.

How should the Database Specialist edit the script to fix this issue?

A.
Stop the source instances before stopping their read replicas
Answers
A.
Stop the source instances before stopping their read replicas
B.
Delete each read replica before stopping its corresponding source instance
Answers
B.
Delete each read replica before stopping its corresponding source instance
C.
Stop the read replicas before stopping their source instances
Answers
C.
Stop the read replicas before stopping their source instances
D.
Use the AWS CLI to stop each read replica and source instance at the same time
Answers
D.
Use the AWS CLI to stop each read replica and source instance at the same time
Suggested answer: B

Explanation:


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

"The following are some limitations to stopping and starting a DB instance: You can't stop a DB instance that has a read replica, or that is a read replica." So if you cant stop a db with a read replica,you have to delete the read replica first to then stop it???

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_MySQL.Replication.ReadReplicas.html#USER_MySQL.Replication.ReadReplicas.StartStop

asked 16/09/2024
gregory koontz
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first