Sample questions
Google Professional Cloud Database Engineer practice questions
A company is planning to use Cloud Spanner for a new global application. They estimate a peak write throughput of 10,000 mutations per second. What is the minimum number of process…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →Refer to the exhibit. A BI query is performing slowly. The query plan shows a large shuffle in the aggregate stage. The table is not partitioned or clustered. Which optimization wo…
An engineer needs to restore a Cloud Spanner database from a backup that was taken 2 hours ago. The backup is stored in Cloud Storage. What steps are required?
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →Your team needs to add a new non-nullable column with a default value to a large Cloud Spanner table. The table has thousands of simultaneous writes per second. Which approach mini…
A BI team uses BigQuery to report on customer orders. The 'customers' dimension table is updated nightly with Type 2 Slowly Changing Dimensions (SCD). However, some reports show in…
A company wants to implement least-privilege access for service accounts. Which THREE practices should they follow? (Choose 3)
A retail company is deploying a new Cloud SQL for MySQL instance for an order management system. The database must survive a zonal failure with minimal downtime and no data loss fo…
Deploy scalable and highly available databases in Google CloudeasySee the answer and why each option is right or wrong →A company is setting up access control for a BigQuery dataset using the above IAM policy. An analyst who is a member of the group 'analysts@example.com' also has the user account '…
A company wants to reduce BigQuery query costs for their BI workloads. Which THREE actions effectively lower the amount of data processed per query? (Choose THREE.)
A company runs a microservices application on GKE. They want to automatically adjust both the number of pods (for varying load) and the resource limits of individual pods (to avoid…
A team is adopting GitOps for infrastructure. They want to ensure that all Terraform configuration changes are automatically applied after merging to the main branch. Which CI/CD a…
A team uses Helm charts to deploy applications to GKE. They need to manage environment-specific configurations (e.g., dev, staging, prod) using a single chart. Which tool should th…
Which THREE components are required to compute a 7-day moving average of daily sales using a window function? (Choose three.)
Your company runs a critical application on Google Kubernetes Engine (GKE) with a StatefulSet using persistent volumes backed by Compute Engine persistent disks. The application pe…
An engineer is migrating a workload from a relational database to Bigtable. The current schema has a Customers table (1M rows) and an Orders table (100M rows) with a foreign key. Q…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →An organization is migrating an Oracle database to Cloud SQL for PostgreSQL. They have numerous stored procedures written in PL/SQL. Which tool should they use to automatically con…
A financial application requires zero data loss (RPO=0) and automatic failover within 60 seconds in the event of a zone failure. The database must support ACID transactions. Which…
Deploy scalable and highly available databases in Google CloudeasySee the answer and why each option is right or wrong →A financial services company uses Cloud Spanner for a global ledger application. The 'Transactions' table has a primary key of 'TransactionId' (a UUID string) and includes columns…
A company is designing a database schema for a global e-commerce platform. Orders are created with high frequency, and order status updates occur frequently. The team needs to choo…
A BI dashboard query is slow and high cost. The query does multiple joins on large tables and uses window functions. The data engineer suggests using materialized views. However, t…
A BI query uses COUNT(column) to count non-null values and COUNT(*) to count all rows. The analyst expects both counts to be equal, but COUNT(column) returns fewer rows. What is th…
A company is migrating a large on-premise Hadoop workload to Google Cloud. The data is stored in HBase and consists of time-series logs with 10 PB of data. They need a fully manage…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →A company uses BigQuery BI Engine for sub-second query performance. However, some queries are hitting the BI Engine memory limit. Which action should be taken?
A company is using Cloud SQL for PostgreSQL and needs to perform point-in-time recovery (PITR) to recover from a logical error that occurred 30 minutes ago. They have already confi…
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →