PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #58
You manage a production MySQL database running on Cloud SQL at a retail company. You perform routine maintenance on Sunday at midnight when traffic is slow, but you want to skip routine maintenance du
The correct answer is A. Define a maintenance window on Sundays between 12 AM and 1 AM, and deny maintenance. Cloud SQL allows you to define a preferred maintenance window (e.g., Sundays 12 AM–1 AM) AND separately allows you to deny or defer upcoming maintenance events. By defining the maintenance window AND using the 'deny maintenance' feature during the holiday period, you ensure that
Question
You manage a production MySQL database running on Cloud SQL at a retail company. You perform routine maintenance on Sunday at midnight when traffic is slow, but you want to skip routine maintenance during the year-end holiday shopping season. You need to ensure that your production system is available 24/7 during the holidays. What should you do?
Options
- ADefine a maintenance window on Sundays between 12 AM and 1 AM, and deny maintenance
- BDefine a maintenance window on Sundays between 12 AM and 5 AM, and deny maintenance
- CBuild a Cloud Composer job to start a maintenance window on Sundays between 12 AM and
- DCreate a Cloud Scheduler job to start maintenance at 12 AM on Sundays. Pause the Cloud
How the community answered
(41 responses)- A71% (29)
- B7% (3)
- C17% (7)
- D5% (2)
Explanation
Cloud SQL allows you to define a preferred maintenance window (e.g., Sundays 12 AM–1 AM) AND separately allows you to deny or defer upcoming maintenance events. By defining the maintenance window AND using the 'deny maintenance' feature during the holiday period, you ensure that Google will not apply updates to your instance during that sensitive time. Option B uses a wider 5-hour window which is unnecessarily broad. Cloud Composer (C) cannot control Cloud SQL maintenance scheduling. Cloud Scheduler (D) cannot start or pause Google-managed Cloud SQL maintenance windows - maintenance is controlled through the Cloud SQL API/console deny-maintenance mechanism, not a user-triggered scheduler job.
Topics
Community Discussion
No community discussion yet for this question.