Google

Professional Cloud Database Engineer practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 130-question bank.

Provider
Google
Question bank
130
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for Professional Cloud Database Engineer, a certification listed under Google. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Google. The certification credential is issued by Google, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    You are developing a new application on a VM that is on your corporate network. The application will use Java Database Connectivity (JDBC) to connect to Cloud SQL for PostgreSQL. Your Cloud SQL instance is configured with IP address 192.168.3.48, and SSL is disabled. You want to ensure that your application can access your database instance without requiring configuration changes to your database. What should you do?

    Choose one answer.

    • Define a connection string using your Google username and password to point to the external (public) IP address of your Cloud SQL instance.
    • Define a connection string using a database username and password to point to the internal (private) IP address of your Cloud SQL instance.
    • Define a connection string using Cloud SQL Auth proxy configured with a service account to point to the internal (private) IP address of your Cloud SQL instance.
    • Define a connection string using Cloud SQL Auth proxy configured with a service account to point to the external (public) IP address of your Cloud SQL instance.
  2. Question 2 · 1

    Your team recently released a new version of a highly consumed application to accommodate additional user traffic. Shortly after the release, you received an alert from your production monitoring team that there is consistently high replication lag between your primary instance and the read replicas of your Cloud SQL for MySQL instances. You need to resolve the replication lag. What should you do?

    Choose one answer.

    • Identify and optimize slow running queries, or set parallel replication flags.
    • Stop all running queries, and re-create the replicas.
    • Edit the primary instance to upgrade to a larger disk, and increase vCPU count.
    • Edit the primary instance to add additional memory.
  3. Question 3 · 1

    During an internal audit, you realized that one of your Cloud SQL for MySQL instances does not have high availability (HA) enabled. You want to follow Google-recommended practices to enable HA on your existing instance. What should you do?

    Choose one answer.

    • Create a new Cloud SQL for MySQL instance, enable HA, and use the export and import option to migrate your data.
    • Create a new Cloud SQL for MySQL instance, enable HA, and use Cloud Data Fusion to migrate your data.
    • Use the gcloud instances patch command to update your existing Cloud SQL for MySQL instance.
    • Shut down your existing Cloud SQL for MySQL instance, and enable HA.
  4. Question 4 · 1

    You are managing a set of Cloud SQL databases in Google Cloud. Regulations require that database backups reside in the region where the database is created. You want to minimize operational costs and administrative effort. What should you do?

    Choose one answer.

    • Configure the automated backups to use a regional Cloud Storage bucket as a custom location.
    • Use the default configuration for the automated backups location.
    • Disable automated backups, and create an on-demand backup routine to a regional Cloud Storage bucket.
    • Disable automated backups, and configure serverless exports to a regional Cloud Storage bucket.
  5. Question 5 · 1

    Your ecommerce application connecting to your Cloud SQL for SQL Server is expected to have additional traffic due to the holiday weekend. You want to follow Google-recommended practices to set up alerts for CPU and memory metrics so you can be notified by text message at the first sign of potential issues. What should you do?

    Choose one answer.

    • Use a Cloud Function to pull CPU and memory metrics from your Cloud SQL instance and to call a custom service to send alerts.
    • Use Error Reporting to monitor CPU and memory metrics and to configure SMS notification channels.
    • Use Cloud Logging to set up a log sink for CPU and memory metrics and to configure a sink destination to send a message to Pub/Sub.
    • Use Cloud Monitoring to set up an alerting policy for CPU and memory metrics and to configure SMS notification channels.
  6. Question 6 · 1

    You finished migrating an on-premises MySQL database to Cloud SQL. You want to ensure that the daily export of a table, which was previously a cron job running on the database server, continues. You want the solution to minimize cost and operations overhead. What should you do?

    Choose one answer.

    • Use Cloud Scheduler and Cloud Functions to run the daily export.
    • Create a streaming Datatlow job to export the table.
    • Set up Cloud Composer, and create a task to export the table daily.
    • Run the cron job on a Compute Engine instance to continue the export.
  7. Question 7 · 1

    Your company is developing a global ecommerce website on Google Cloud. Your development team is working on a shopping cart service that is durable and elastically scalable with live traffic. Business disruptions from unplanned downtime are expected to be less than 5 minutes per month. In addition, the application needs to have very low latency writes. You need a data storage solution that has high write throughput and provides 99.99% uptime. What should you do?

    Choose one answer.

    • Use Cloud SQL for data storage.
    • Use Cloud Spanner for data storage.
    • Use Memorystore for data storage.
    • Use Bigtable for data storage.
  8. Question 8 · 1

    Your organization has hundreds of Cloud SQL for MySQL instances. You want to follow Google-recommended practices to optimize platform costs. What should you do?

    Choose one answer.

    • Use Query Insights to identify idle instances.
    • Remove inactive user accounts.
    • Run the Recommender API to identify overprovisioned instances.
    • Build indexes on heavily accessed tables.
  9. Question 9 · 1

    Your organization is running a critical production database on a virtual machine (VM) on Compute Engine. The VM has an ext4-formatted persistent disk for data files. The database will soon run out of storage space. You need to implement a solution that avoids downtime. What should you do?

    Choose one answer.

    • In the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs command to extend the disk.
    • In the Google Cloud Console, increase the size of the persistent disk, and use the fdisk command to verify that the new space is ready to use
    • In the Google Cloud Console, create a snapshot of the persistent disk, restore the snapshot to a new larger disk, unmount the old disk, mount the new disk, and restart the database service.
    • In the Google Cloud Console, create a new persistent disk attached to the VM, and configure the database service to move the files to the new disk.
  10. Question 10 · 1

    You want to migrate your on-premises PostgreSQL database to Compute Engine. You need to migrate this database with the minimum downtime possible. What should you do?

    Choose one answer.

    • Perform a full backup of your on-premises PostgreSQL, and then, in the migration window, perform an incremental backup.
    • Create a read replica on Cloud SQL, and then promote it to a read/write standalone instance.
    • Use Database Migration Service to migrate your database.
    • Create a hot standby on Compute Engine, and use PgBouncer to switch over the connections.
  11. Question 11 · 1

    You have an application that sends banking events to Bigtable cluster-a in us-east. You decide to add cluster-b in us-central1. Cluster-a replicates data to cluster-b. You need to ensure that Bigtable continues to accept read and write requests if one of the clusters becomes unavailable and that requests are routed automatically to the other cluster. What deployment strategy should you use?

    Choose one answer.

    • Use the default app profile with single-cluster routing.
    • Use the default app profile with multi-cluster routing.
    • Create a custom app profile with multi-cluster routing.
    • Create a custom app profile with single-cluster routing.
  12. Question 12 · 1

    Your organization works with sensitive data that requires you to manage your own encryption keys. You are working on a project that stores that data in a Cloud SQL database. You need to ensure that stored data is encrypted with your keys. What should you do?

    Choose one answer.

    • Export data periodically to a Cloud Storage bucket protected by Customer-Supplied Encryption Keys.
    • Use Cloud SQL Auth proxy.
    • Connect to Cloud SQL using a connection that has SSL encryption.
    • Use customer-managed encryption keys with Cloud SQL.
  13. Question 13 · 1

    Your team is building an application that stores and analyzes streaming time series financial data. You need a database solution that can perform time series-based scans with sub-second latency. The solution must scale into the hundreds of terabytes and be able to write up to 10k records per second and read up to 200 MB per second. What should you do?

    Choose one answer.

    • Use Firestore.
    • Use Bigtable
    • Use BigQuery.
    • Use Cloud Spanner.
  14. Question 14 · 1

    You are designing a new gaming application that uses a highly transactional relational database to store player authentication and inventory data in Google Cloud. You want to launch the game in multiple regions. What should you do?

    Choose one answer.

    • Use Cloud Spanner to deploy the database.
    • Use Bigtable with clusters in multiple regions to deploy the database
    • Use BigQuery to deploy the database
    • Use Cloud SQL with a regional read replica to deploy the database.
  15. Question 15 · 1

    You are designing a database strategy for a new web application in one region. You need to minimize write latency. What should you do?

    Choose one answer.

    • Use Cloud SQL with cross-region replicas.
    • Use high availability (HA) Cloud SQL with multiple zones.
    • Use zonal Cloud SQL without high availability (HA).
    • Use Cloud Spanner in a regional configuration.

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free