Sample questions
Google Professional Cloud Database Engineer practice questions
A company is designing a database solution for a global social media application that requires strong consistency, high write throughput, and complex relational queries. Which TWO…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →A company is migrating an on-premises Oracle database to Cloud SQL for PostgreSQL. The database is 2 TB in size and the network bandwidth to Google Cloud is limited to 500 Mbps. Th…
A company needs to migrate its on-premises Oracle database to a fully managed relational database on Google Cloud. The application uses stored procedures and requires high availabi…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →An engineer is designing a Cloud Spanner table for a global user activity tracking system with high write throughput. Which primary key design is BEST to avoid hotspots?
Design innovative, scalable, and highly available cloud database solutionshardSee the answer and why each option is right or wrong →Which database service should you use if your workload requires complex JOINs, ACID transactions, and you want to avoid operational overhead of managing patching and backups?
Design innovative, scalable, and highly available cloud database solutionseasySee the answer and why each option is right or wrong →An organization uses Cloud Spanner and needs to add a new column to an existing table without downtime. The table has billions of rows and is heavily used. What is the recommended…
Design innovative, scalable, and highly available cloud database solutionshardSee the answer and why each option is right or wrong →A team is migrating a MongoDB application to Firestore. The data model includes embedded documents and references between collections. Which approach should they follow to maintain…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →A company uses Cloud SQL for MySQL and wants to run complex analytical queries on the same data without affecting OLTP performance. They need a solution with minimal data movement…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →An organization needs a fully managed, globally distributed relational database with strong consistency and horizontal scaling for a multi-region application. Which service meets t…
Design innovative, scalable, and highly available cloud database solutionseasySee the answer and why each option is right or wrong →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 →A financial services company is migrating a legacy on-premises OLTP application to Google Cloud. The application requires high transaction rates (thousands per second), strict ACID…
Design innovative, scalable, and highly available cloud database solutionseasySee the answer and why each option is right or wrong →A data analyst needs to run a one-time SQL query on a dataset stored in CSV files in Cloud Storage. The query will scan the entire dataset, and the analyst wants to minimize cost.…
Design innovative, scalable, and highly available cloud database solutionseasySee the answer and why each option is right or wrong →A company runs a MySQL database on-premises and wants to migrate to Cloud SQL with minimal downtime. They have a multi-terabyte database. Which migration method is most appropriate…
Design innovative, scalable, and highly available cloud database solutionsmediumSee the answer and why each option is right or wrong →An e-commerce platform uses Cloud Spanner as its database. The orders table has a monotonically increasing order_id as the primary key, and the team observes high write latency dur…
Design innovative, scalable, and highly available cloud database solutionshardSee the answer and why each option is right or wrong →Refer to the exhibit. This DDL is used to create a table in Cloud Spanner. The table will be used for storing user data with high write throughput. What is one performance issue wi…
A database administrator needs to restore a Cloud SQL for PostgreSQL instance to a specific point in time within the last 3 hours. Which configurations must be enabled to perform a…
Manage a solution that can span multiple database technologieseasySee the answer and why each option is right or wrong →A team wants to create a Cloud Spanner database backup and store it in a Cloud Storage bucket for long-term archival. Which method should they use?
Manage a solution that can span multiple database technologieseasySee the answer and why each option is right or wrong →A Cloud Spanner database is experiencing increased read traffic. You need to add an index to improve query performance without downtime. What is the correct approach?
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →A Memorystore for Redis instance is running out of memory. The application uses Redis as a cache with key expiration. You want to prevent data loss for keys that have not reached t…
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →Which TWO statements about Cloud Spanner schema changes are correct? (Choose 2)
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →A company is designing a mobile application backend that requires real-time synchronization across users and offline support. Which Google Cloud database service is most suitable?
Manage a solution that can span multiple database technologieseasySee the answer and why each option is right or wrong →A company has a Cloud SQL for PostgreSQL instance with a read replica in another region. They want to perform disaster recovery testing without affecting the primary. What should t…
Manage a solution that can span multiple database technologiesmediumSee the answer and why each option is right or wrong →A company wants to store and analyze data with BigQuery. They have customers in Europe and need to comply with GDPR data residency requirements. What should they do to ensure data…
A team is migrating an on-premises PostgreSQL database to Cloud SQL using DMS. They want the migration job to continuously replicate changes after the initial dump. Which type of m…