Courseiva
Management and OperationsmediumMultiple ChoiceObjective-mapped

DBS-C01 Management and Operations Practice Question

A company is running an Amazon RDS for MySQL DB instance with Multi-AZ deployment. The database experiences a failover due to a hardware failure. After the failover, the application team reports that a critical stored procedure is missing. What should the database administrator do to prevent this issue in the future?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Modify the DB parameter group to enable binary logging.

In Amazon RDS MySQL Multi-AZ deployments, all database objects including stored procedures are replicated via synchronous storage-level replication. Therefore, a missing stored procedure after a failover is unlikely and indicates a potential replication issue. To prevent this, enabling binary logging ensures that DDL statements (such as CREATE PROCEDURE) are captured in binary logs. This allows binary log replication to maintain consistency, reduces the risk of orphaned objects, and provides the ability to recover using point-in-time restore if needed. Thus, modifying the DB parameter group to enable binary logging is the best preventive measure.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create the stored procedure as a function instead.

    Why it's wrong here

    Converting a stored procedure to a function does not change its replication behavior; both are replicated identically.

  • Modify the DB parameter group to enable binary logging.

    Why this is correct

    Correct. Enabling binary logging ensures all DDL changes are logged, which helps in replication consistency and provides the ability to recover from replication issues that might cause a stored procedure to be missing after failover.

  • Ensure that the stored procedure is created on both the primary and standby instances by using a script or manually recreating it after failover.

    Why it's wrong here

    Incorrect. Stored procedures are automatically replicated in Multi-AZ deployments via storage-level replication, so manually creating them again is unnecessary and not a proper preventive action.

  • Increase the binlog retention period to ensure the stored procedure is captured.

    Why it's wrong here

    Increasing the binlog retention period affects how long binary log files are kept, but does not directly prevent missing stored procedures after failover. It might help with recovery, but enabling binary logging is the more fundamental preventive step.

About these practice questions

Courseiva writes every DBS-C01 question from scratch — 1,663 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.