Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Database Engineer practice bank has an additional 769 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization runs a mission-critical Cloud SQL for PostgreSQL database in production. To meet strict service level objectives during planned maintenance, you must implement a notification and readiness workflow with the following requirements:
Which architecture should you implement?
maintenance.googleapis.com/maintenance_events routed to a Pub/Sub topic without a pre-configured subscription so the readiness service can fetch events later, and use a Cloud Monitoring dashboard for on-call visibility.In Cloud Pub/Sub, a topic acts as a named resource to which publishers send messages, while a subscription represents the stream of messages from a single topic to be delivered to a subscribing application. A Cloud Monitoring dashboard provides visual charts and metrics for human operators to inspect system health in the console.
SCHEDULED and STARTED signals entirely.You configured a Pub/Sub subscription before alerts were published so messages would be retained until acknowledged, and replaced the dashboard-only approach with an Email notification channel attached to the alerting policy.
maintenance.googleapis.com) to automatically activate maintenance notifications, and configure an Email channel alongside a Webhook notification channel targeting the internal service's private endpoint.The Unified Maintenance API (maintenance.googleapis.com) allows you to view maintenance schedules on the Cloud Hub Maintenance page in the Google Cloud console and query scheduled maintenance resources programmatically. Webhook notification channels in Cloud Monitoring send HTTP POST requests containing alert payloads to external HTTP endpoints when an alerting policy fires.
maintenance.googleapis.com only grants access to view and query maintenance records; it does not automatically subscribe projects or channels to maintenance alerts. You must still create log-based alerting policies in Cloud Logging to trigger notifications.maintenance.googleapis.com/maintenance_events logs automatically regardless of whether the Unified Maintenance API is enabled.You created a log-based alerting policy instead of relying solely on enabling the API, and your readiness service were exposed via an authenticated public HTTPS endpoint rather than a private internal network.
The User preferences > Communication page in the Google Cloud console lets individual users opt into product-specific email notifications (such as advance notices for services like Apigee or Looker) tied to their Google Account. Polling the Unified Maintenance REST API involves running periodic HTTP requests to list resourceMaintenances in a SCHEDULED state.
SCHEDULED and STARTED state-change alerts to a shared on-call team alias.SCHEDULED to STARTED), consumes unnecessary compute and API quota, and fails to provide the immediate event-driven responsiveness of Cloud Logging alerts.STARTED.You only needed basic advance email reminders for individual user accounts on a service that uses console opt-in preferences, and your readiness workflow could tolerate periodic polling delays.
maintenance.googleapis.com/maintenance_events for sqladmin.googleapis.com/Instance, and attach both an Email notification channel and a Cloud Pub/Sub notification channel with an active subscriber.Google Cloud Unified Maintenance automatically emits structured maintenance event logs to Cloud Logging under the log ID maintenance.googleapis.com/maintenance_events. By creating a log-based alerting policy, you can continuously monitor these log entries for specific resource types and lifecycle states—such as SCHEDULED, STARTED, or SUCCEEDED—and route real-time notifications to multiple Cloud Monitoring notification channels.
jsonPayload.resource.type = "sqladmin.googleapis.com/Instance") enters the SCHEDULED or STARTED state.jsonPayload.resource.resourceName), regions, or schedule changes (maintenanceScheduledStartTime).maintenance_events automatically without requiring extra polling scripts or custom exporters.Unlike polling APIs or public webhooks, combining Cloud Logging log-based alerts with Email and Cloud Pub/Sub channels provides low-latency, event-driven notifications that securely reach private internal services while keeping stakeholders informed.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated