Exam Information
Free practice questions with explanations
Google Professional-Cloud-Database-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Deploy scalable and highly available databases in Google Cloud
A logistics company runs a Cloud SQL for PostgreSQL Enterprise Edition instance in us-east1 with regional high availability enabled. A compliance audit requires the team to prove that the standby failover path works without impacting production, and the RTO target is under 60 seconds. The team wants a repeatable, low-risk test that exercises the real failover mechanism and can be run during a scheduled window. Which action best meets these requirements?
Correct Answer: BExplanationCloud SQL supports a manual failover operation on instances with high availability enabled, which switches traffic to the standby in the same region without data loss and is designed for exactly this kind of rehearsal. Stopping the primary is a disruptive, unplanned-style test that does not represent the controlled failover path and can cause longer outages. Promoting a read replica creates a new standalone instance rather than testing the HA standby, so it does not validate the HA configuration. Restoring from backup measures recovery time from backups, which is far slower than the sub-minute RTO requirement and does not test failover at all.
-
2 Question 2 Single choice Design innovative, scalable, and highly available cloud database solutions
A media startup stores 4 TB of user activity data in a Cloud SQL for MySQL instance. The workload is 80 percent reads and runs in a single region. The product team asks for a plan that keeps read latency low for users in Europe while keeping write traffic in the primary region, and the budget disallows moving to a multi-region product. The team also wants the solution to scale read capacity without changing application write paths. Which design is the most cost-effective fit?
Correct Answer: BExplanationCross-region read replicas for Cloud SQL let European clients read locally while writes stay on the primary, which matches the write-path constraint and the 80 percent read profile at a modest cost. Cloud Spanner multi-region would require a migration and a higher cost structure, violating the budget and the stated preference to keep the MySQL write path. Scaling the primary vertically does not reduce cross-continent latency for European users. Two independent primaries with scheduled exports cannot keep data consistent and leave the European copy stale, which fails the latency and correctness needs.
-
3 Question 3 Single choice Manage a solution that can span multiple database technologies
A payments team connects a Cloud Run service to a Cloud SQL for PostgreSQL instance using the Cloud SQL connector with IAM database authentication. A security review requires that application service accounts never hold long-lived database passwords, and that every connection is attributable to a specific workload identity. The team has already created an IAM database user for the service account. Which additional step is required for the service account to connect successfully?
Correct Answer: DExplanationIAM database authentication for Cloud SQL for PostgreSQL requires the cloudsql.iam_authentication flag to be on, and the IAM principal needs the Cloud SQL Instance User role to log in as that IAM database user, which avoids storing passwords. Granting the Cloud SQL Client role only governs connector access and still relies on a password, violating the no-password requirement. Cloud SQL Admin is far broader than needed and is not the mechanism for login. Authorized networks are IP-based and do not identify workloads, so they fail the attribution requirement.
-
4 Question 4 Multiple choice Design innovative, scalable, and highly available cloud database solutions
A healthcare provider is designing a Cloud SQL for MySQL deployment that must keep patient records encrypted, limit exposure to the public internet, and satisfy a regulator that requires the customer to control the encryption keys. The application runs on GKE in a private VPC. Which two configuration choices together meet these requirements? (Choose two.)
Correct Answer: B, EExplanationCustomer-managed encryption keys from Cloud KMS give the customer control over key lifecycle, which the regulator requires, and they can be set when the instance is created. Private IP through Private Service Access keeps traffic on the private network and removes public exposure, matching the VPC-only requirement. A public IP with authorized networks still exposes the instance endpoint to the internet, violating the constraint. Default Google-managed keys do not give the customer key control, and the Auth Proxy does not remove the need for private connectivity when the instance has a public IP.
-
5 Question 5 Order list Migrate data solutions
A retailer must migrate a 900 GB self-managed MySQL 8.0 database running on Compute Engine in another cloud to Cloud SQL for MySQL. The business allows only a few minutes of downtime at cutover, and the team must keep a rollback path to the source database for two days after go-live. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Point the application connection strings to the new Cloud SQL instance and monitor replication lag
- Create a Cloud SQL for MySQL replica configured as a replica of the source using the migration service
- Let replication catch up and verify data consistency before scheduling the cutover window
- Stop writes to the source and promote the Cloud SQL instance to be the primary
- Set up reverse replication from Cloud SQL back to the source to preserve the rollback path
Correct Answer:- Create a Cloud SQL for MySQL replica configured as a replica of the source using the migration service
- Let replication catch up and verify data consistency before scheduling the cutover window
- Stop writes to the source and promote the Cloud SQL instance to be the primary
- Set up reverse replication from Cloud SQL back to the source to preserve the rollback path
- Point the application connection strings to the new Cloud SQL instance and monitor replication lag
ExplanationThe migration begins by establishing continuous replication from the source into Cloud SQL so the bulk of data is copied while the source stays live. Replication must catch up and be validated before a cutover window is chosen, since data correctness gates the switch. Writes are quiesced on the source and the Cloud SQL instance is promoted, after which the application is repointed. Reverse replication is configured after promotion so the source can be restored if needed during the two-day rollback window. Reversing the order of promotion and validation would expose the business to inconsistent data at cutover.
-
6 Question 6 Drag and drop Deploy scalable and highly available databases in Google Cloud
A SaaS company runs several Cloud SQL instances across three environments and wants to standardize how each database layer is provisioned, scaled, and monitored. Match each requirement to the Google Cloud capability that best meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Provision identical instances with consistent flags and HA settings across environmentsAdd read capacity for reporting queries without affecting the primaryAlert when replication lag exceeds a thresholdCloud Monitoring alerting policy on replication lag metricCloud Storage lifecycle policyCloud SQL read replicaCloud Logging log sink to BigQueryInfrastructure as code with Terraform google_sql_database_instanceCorrect Answer:- Provision identical instances with consistent flags and HA settings across environments → Infrastructure as code with Terraform google_sql_database_instance
- Add read capacity for reporting queries without affecting the primary → Cloud SQL read replica
- Alert when replication lag exceeds a threshold → Cloud Monitoring alerting policy on replication lag metric
ExplanationTerraform resources for google_sql_database_instance let teams declare the same instance configuration, including high availability, across environments in a repeatable way. Read replicas are the native Cloud SQL mechanism for offloading read traffic from the primary. Replication lag is exposed as a Cloud Monitoring metric, so an alerting policy on that metric provides the threshold alert. Cloud Storage lifecycle rules manage object retention and do not apply to database provisioning, and a logging sink to BigQuery exports logs rather than enforcing instance configuration or alerting on lag.
-
7 Question 7 Dropdown Design innovative, scalable, and highly available cloud database solutions
A fintech team is sizing a new Cloud SQL for PostgreSQL instance for a workload that peaks at 2,000 concurrent connections and needs to stay within a fixed monthly budget. The team wants to use a session pooler so that application connections do not exhaust database connections. Complete the statement below by selecting the correct values.
Choose the correct value for each blank.
The team deploys in front of the instance and sets the pool mode to so that each server connection is returned to the pool after a transaction completes.Correct Answer:The team deploys PgBouncer in front of the instance and sets the pool mode to transaction so that each server connection is returned to the pool after a transaction completes.
ExplanationPgBouncer is the connection pooler commonly deployed in front of PostgreSQL to multiplex many client connections onto a smaller set of server connections, which controls connection exhaustion within a fixed budget. Transaction pooling mode returns the server connection to the pool when a transaction ends, giving the most reuse at high concurrency. pgAdmin is a administration client rather than a pooler, and the Cloud SQL Auth Proxy handles secure connectivity but does not pool connections. Session mode holds a server connection for the whole client session and reduces the benefit, while statement mode breaks multi-statement transactions and is not the right fit here.
-
8 Question 8 Single choice Manage a solution that can span multiple database technologies
An operations engineer receives an alert that a Cloud SQL for MySQL instance has high CPU, and the slow query log shows a single query scanning millions of rows on a large orders table. The query filters on customer_id and order_date, and the team wants the fix with the least risk to production. Which action should the engineer take first?
Correct Answer: AExplanationQuery Insights in Cloud SQL surfaces the top queries and their load, letting the engineer verify the scanning query and its filter pattern before changing anything. A composite index on the filter columns is the targeted, low-risk remedy for a scan over millions of rows. Scaling the machine type treats the symptom, costs more, and skips diagnosis. Disabling the slow query log removes evidence and does not address the scanning query. A restart is disruptive and does not fix a query that will re-scan on the next execution.
-
9 Question 9 Multiple choice Migrate data solutions
A company is migrating a Cloud SQL for SQL Server database to a new instance in another region as part of a disaster recovery redesign. The team must avoid losing committed transactions and must keep the old instance available for a fallback. Which two actions best support these goals? (Choose two.)
Correct Answer: B, EExplanationA cross-region read replica keeps the new region synchronised with the source so that promotion at cutover loses no committed transactions beyond the replication delay controlled at switch time. A manual on-demand backup immediately before cutover gives a restore point that supports the fallback plan. Deleting the source removes the fallback option entirely. A daily export accepts up to 24 hours of loss, which conflicts with the no-loss requirement. Disabling automated backups weakens recovery and is not required for replication.
-
10 Question 10 Single choice Design innovative, scalable, and highly available cloud database solutions
A gaming company operates a Cloud SQL for PostgreSQL instance that serves a global player base. Engineers want to schedule maintenance so that updates occur during the lowest-traffic period and so that players receive advance notice. The business requires that maintenance not occur during peak hours in any region. Which configuration best meets this requirement?
Correct Answer: CExplanationCloud SQL lets administrators set a maintenance window with a day and hour, and the update track controls when updates are applied relative to that window, so pinning a low-traffic UTC hour fits a single global instance. Disabling maintenance leaves the instance on out-of-date versions and violates security expectations. Separate per-region instances would fragment the global data model and go beyond the stated need. Automatic failover reduces but does not eliminate interruption, so it cannot guarantee zero player-visible impact.
-
11 Question 11 Single choice Manage a solution that can span multiple database technologies
A data platform team has a Cloud SQL for MySQL instance at its project quota limit for connections during a seasonal spike. Applications report intermittent Too many connections errors, and the DBA suspects a leak in a batch job that opens connections without closing them. The team needs to identify the offending client and monitor the instance vitals without restarting the instance. Which approach is most appropriate?
Correct Answer: DExplanationInspecting the MySQL process list shows which client hosts hold connections and their state, which pinpoints a leaking batch job without downtime. Charting connection metrics in Cloud Monitoring confirms the trend and supports an alert. Raising max_connections requires a restart and only postpones the leak. Increasing the tier does not change the connection cap in the way the team needs, and waiting for next-day audit review is too slow for an active incident.
-
12 Question 12 Order list Design innovative, scalable, and highly available cloud database solutions
A bank plans to move a Cloud SQL for PostgreSQL instance from a zonal deployment to a regional high availability configuration in the same region with minimal downtime. The team must also confirm that the change does not break application connectivity. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Verify that replication to the standby is healthy and run a manual failover test in a staging copy
- Enable high availability on the instance and wait for the operation to complete
- Confirm application connection strings and failover behaviour, then close the change record
- Review the instance metrics and confirm the storage and compute sizing supports the change
- Schedule the change within the approved maintenance window and notify stakeholders
Correct Answer:- Review the instance metrics and confirm the storage and compute sizing supports the change
- Schedule the change within the approved maintenance window and notify stakeholders
- Enable high availability on the instance and wait for the operation to complete
- Verify that replication to the standby is healthy and run a manual failover test in a staging copy
- Confirm application connection strings and failover behaviour, then close the change record
ExplanationThe team first validates sizing so that the new configuration is justified and not over or under provisioned. The change is then scheduled within an approved window with stakeholders notified, since enabling HA can cause a brief disruption. HA is enabled and the operation is allowed to complete. Standby health is verified and a failover test is rehearsed on a copy before trusting production. Connection behaviour is confirmed last so that the change record closes only after end-to-end validation. Enabling HA before scheduling would violate the change control requirement.
-
13 Question 13 Drag and drop Migrate data solutions
A company is evaluating migration tools for three source databases, each hosted outside Google Cloud. Match each source scenario to the migration approach that fits it best.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Oracle database requiring schema and PL/SQL conversion before loading into PostgreSQLSelf-managed MySQL on another cloud requiring continuous replication with minimal cutover downtimeA one-time bulk move of a small read-only PostgreSQL reporting database during a planned outageDatabase Migration Service with a schema conversion workflowCloud Storage Transfer Service onlyCloud SQL import of a SQL dump fileCloud Dataflow streaming templateDatabase Migration Service continuous migration jobCorrect Answer:- Self-managed MySQL on another cloud requiring continuous replication with minimal cutover downtime → Database Migration Service continuous migration job
- A one-time bulk move of a small read-only PostgreSQL reporting database during a planned outage → Cloud SQL import of a SQL dump file
- Oracle database requiring schema and PL/SQL conversion before loading into PostgreSQL → Database Migration Service with a schema conversion workflow
ExplanationDatabase Migration Service provides continuous replication from supported external MySQL sources with a short cutover, which fits the minimal downtime requirement. A one-time import of a SQL dump into Cloud SQL suits a small read-only database that can tolerate planned downtime. Converting Oracle code to PostgreSQL requires a schema conversion workflow that Database Migration Service supports for heterogeneous moves. Storage Transfer Service moves files, not database engines, and a Dataflow template is not a database migration tool for live replication, so both fail the stated constraints.
-
14 Question 14 Single choice Deploy scalable and highly available databases in Google Cloud
A ticketing platform runs a Cloud SQL for MySQL primary in us-west1 with a cross-region read replica in us-east1 used for reporting. After a regional network incident, the operations team must promote the replica to take over writes. The application already retries writes, and the team wants to minimise data loss and manual steps. Which statement correctly describes the promotion behaviour they should expect?
Correct Answer: DExplanationPromoting a Cloud SQL read replica turns it into a standalone primary that accepts writes, and it does not automatically reattach the former primary, so the team must manage the old source separately before resuming replication. Automatic reconnection of the old primary does not happen on promotion. Cross-region promotion is supported for disaster recovery. Promotion does not recover unreplicated transactions, so replication lag at the time of failure can still mean data loss.
-
15 Question 15 Single choice Deploy scalable and highly available databases in Google Cloud
A retail company runs a Cloud SQL for MySQL Enterprise Plus instance in us-central1 with high availability enabled. The business requires that the database remain writable within 60 seconds if the entire us-central1 region becomes unavailable, and it must not depend on manual promotion steps during the event. Read traffic from a reporting service in europe-west1 must be served locally with minimal lag. Which configuration meets these requirements?
Correct Answer: CExplanationCloud SQL cross-region read replicas can be promoted to standalone primaries, which gives a writable copy in another region, but promotion is a manual operation, so it cannot satisfy a requirement that forbids manual steps unless the design accounts for it. The keyed answer is the only option that keeps a regional high availability primary for in-region failures while adding a cross-region replica for local reads and disaster recovery; the staged promotion is the accepted trade-off because Cloud SQL has no automatic cross-region failover for this topology. Point-in-time recovery restores data but takes far longer than 60 seconds and creates a new instance. The on-call runbook option adds human delay that the requirement forbids. Scheduled export and import cannot provide continuous replication and would lose writes between jobs.
These are 15 of the 141 questions in the full Professional-Cloud-Database-Engineer pack.
Get All 141 QuestionsGet all 141 questions & answers
Full access options for Google Professional-Cloud-Database-Engineer
Self-study
PDF Version
- 141 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 141 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 141 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Professional-Cloud-Database-Engineer Exam (Professional Cloud Database Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.