Labour Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Google Cloud Certified - Professional Cloud Database Engineer Question and Answers

Google Cloud Certified - Professional Cloud Database Engineer

Last Update Apr 30, 2024
Total Questions : 132

We are offering FREE Professional-Cloud-Database-Engineer Google exam questions. All you do is to just go and sign up. Give your details, prepare Professional-Cloud-Database-Engineer free exam questions and then go for complete pool of Google Cloud Certified - Professional Cloud Database Engineer test questions that will help you more.

Professional-Cloud-Database-Engineer pdf

Professional-Cloud-Database-Engineer PDF

$35  $99.99
Professional-Cloud-Database-Engineer Engine

Professional-Cloud-Database-Engineer Testing Engine

$42  $119.99
Professional-Cloud-Database-Engineer PDF + Engine

Professional-Cloud-Database-Engineer PDF + Testing Engine

$56  $159.99
Questions 1

Your company is shutting down their data center and migrating several MySQL and PostgreSQL databases to Google Cloud. Your database operations team is severely constrained by ongoing production releases and the lack of capacity for additional on-premises backups. You want to ensure that the scheduled migrations happen with minimal downtime and that the Google Cloud databases stay in sync with the on-premises data changes until the applications can cut over.

What should you do? (Choose two.)

Options:

A.  

Use an external read replica to migrate the databases to Cloud SQL.

B.  

Use a read replica to migrate the databases to Cloud SQL.

C.  

Use Database Migration Service to migrate the databases to Cloud SQL.

D.  

Use a cross-region read replica to migrate the databases to Cloud SQL.

E.  

Use replication from an external server to migrate the databases to Cloud SQL.

Discussion 0
Questions 2

Your retail organization is preparing for the holiday season. Use of catalog services is increasing, and your DevOps team is supporting the Cloud SQL databases that power a microservices-based application. The DevOps team has added instrumentation through Sqlcommenter. You need to identify the root cause of why certain microservice calls are failing. What should you do?

Options:

A.  

Watch Query Insights for long running queries.

B.  

Watch the Cloud SQL instance monitor for CPU utilization metrics.

C.  

Watch the Cloud SQL recommenders for overprovisioned instances.

D.  

Watch Cloud Trace for application requests that are failing.

Discussion 0
Questions 3

You are the primary DBA of a Cloud SQL for PostgreSQL database that supports 6 enterprise applications in production. You used Cloud SQL Insights to identify inefficient queries and now need to identify the application that is originating the inefficient queries. You want to follow Google-recommended practices. What should you do?

Options:

A.  

Shut down and restart each application.

B.  

Write a utility to scan database query logs.

C.  

Write a utility to scan application logs.

D.  

Use query tags to add application-centric database monitoring.

Discussion 0
Questions 4

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?

Options:

A.  

Use the default app profile with single-cluster routing.

B.  

Use the default app profile with multi-cluster routing.

C.  

Create a custom app profile with multi-cluster routing.

D.  

Create a custom app profile with single-cluster routing.

Discussion 0
Questions 5

You are migrating an on-premises application to Compute Engine and Cloud SQL. The application VMs will live in their own project, separate from the Cloud SQL instances which have their own project. What should you do to configure the networks?

Options:

A.  

Create a new VPC network in each project, and use VPC Network Peering to connect the two together.

B.  

Create a Shared VPC that both the application VMs and Cloud SQL instances will use.

C.  

Use the default networks, and leverage Cloud VPN to connect the two together.

D.  

Place both the application VMs and the Cloud SQL instances in the default network of each project.

Discussion 0
Questions 6

You are a DBA of Cloud SQL for PostgreSQL. You want the applications to have password-less authentication for read and write access to the database. Which authentication mechanism should you use?

Options:

A.  

Use Identity and Access Management (IAM) authentication.

B.  

Use Managed Active Directory authentication.

C.  

Use Cloud SQL federated queries.

D.  

Use PostgreSQL database's built-in authentication.

Discussion 0
Questions 7

You are the database administrator of a Cloud SQL for PostgreSQL instance that has pgaudit disabled. Users are complaining that their queries are taking longer to execute and performance has degraded over the past few months. You need to collect and analyze query performance data to help identity slow-running queries. What should you do?

Options:

A.  

View Cloud SQL operations to view historical query information.

B.  

White a Logs Explorer query to identify database queries with high execution times.

C.  

Review application logs to identify database calls.

D.  

Use the Query Insights dashboard to identify high execution times.

Discussion 0
Questions 8

Your company wants you to migrate their Oracle, MySQL, Microsoft SQL Server, and PostgreSQL relational databases to Google Cloud. You need a fully managed, flexible database solution when possible. What should you do?

Options:

A.  

Migrate all the databases to Cloud SQL.

B.  

Migrate the Oracle, MySQL, and Microsoft SQL Server databases to Cloud SQL, and migrate the PostgreSQL databases to Compute Engine.

C.  

Migrate the MySQL, Microsoft SQL Server, and PostgreSQL databases to Compute Engine, and migrate the Oracle databases to Bare Metal Solution for Oracle.

D.  

Migrate the MySQL, Microsoft SQL Server, and PostgreSQL databases to Cloud SQL, and migrate the Oracle databases to Bare Metal Solution for Oracle.

Discussion 0
Questions 9

Your company is using Cloud SQL for MySQL with an internal (private) IP address and wants to replicate some tables into BigQuery in near-real time for analytics and machine learning. You need to ensure that replication is fast and reliable and uses Google-managed services. What should you do?

Options:

A.  

Develop a custom data replication service to send data into BigQuery.

B.  

Use Cloud SQL federated queries.

C.  

Use Database Migration Service to replicate tables into BigQuery.

D.  

Use Datastream to capture changes, and use Dataflow to write those changes to BigQuery.

Discussion 0
Questions 10

Your company is evaluating Google Cloud database options for a mission-critical global payments gateway application. The application must be available 24/7 to users worldwide, horizontally scalable, and support open source databases. You need to select an automatically shardable, fully managed database with 99.999% availability and strong transactional consistency. What should you do?

Options:

A.  

Select Bare Metal Solution for Oracle.

B.  

Select Cloud SQL.

C.  

Select Bigtable.

D.  

Select Cloud Spanner.

Discussion 0
Questions 11

Your company uses Cloud Spanner for a mission-critical inventory management system that is globally available. You recently loaded stock keeping unit (SKU) and product catalog data from a company acquisition and observed hot-spots in the Cloud Spanner database. You want to follow Google-recommended schema design practices to avoid performance degradation. What should you do? (Choose two.)

Options:

A.  

Use an auto-incrementing value as the primary key.

B.  

Normalize the data model.

C.  

Promote low-cardinality attributes in multi-attribute primary keys.

D.  

Promote high-cardinality attributes in multi-attribute primary keys.

E.  

Use bit-reverse sequential value as the primary key.

Discussion 0
Questions 12

Your organization has a security policy to ensure that all Cloud SQL for PostgreSQL databases are secure. You want to protect sensitive data by using a key that meets specific locality or residency requirements. Your organization needs to control the key's lifecycle activities. You need to ensure that data is encrypted at rest and in transit. What should you do?

Options:

A.  

Create the database with Google-managed encryption keys.

B.  

Create the database with customer-managed encryption keys.

C.  

Create the database persistent disk with Google-managed encryption keys.

D.  

Create the database persistent disk with customer-managed encryption keys.

Discussion 0
Questions 13

Your hotel booking company is expanding into Country A, where personally identifiable information (PII) must comply with regional data residency requirements and audits. You need to isolate customer data in Country A from the rest of the customer data. You want to design a multi-tenancy strategy to efficiently manage costs and operations. What should you do?

Options:

A.  

Apply a schema data management pattern.

B.  

Apply an instance data management pattern.

C.  

Apply a table data management pattern.

D.  

Apply a database data management pattern.

Discussion 0
Questions 14

You support a consumer inventory application that runs on a multi-region instance of Cloud Spanner. A customer opened a support ticket to complain about slow response times. You notice a Cloud Monitoring alert about high CPU utilization. You want to follow Google-recommended practices to address the CPU performance issue. What should you do first?

Options:

A.  

Increase the number of processing units.

B.  

Modify the database schema, and add additional indexes.

C.  

Shard data required by the application into multiple instances.

D.  

Decrease the number of processing units.

Discussion 0
Questions 15

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?

Options:

A.  

Use Query Insights to identify idle instances.

B.  

Remove inactive user accounts.

C.  

Run the Recommender API to identify overprovisioned instances.

D.  

Build indexes on heavily accessed tables.

Discussion 0
Questions 16

You are building an application that allows users to customize their website and mobile experiences. The application will capture user information and preferences. User profiles have a dynamic schema, and users can add or delete information from their profile. You need to ensure that user changes automatically trigger updates to your downstream BigQuery data warehouse. What should you do?

Options:

A.  

Store your data in Bigtable, and use the user identifier as the key. Use one column family to store user profile data, and use another column family to store user preferences.

B.  

Use Cloud SQL, and create different tables for user profile data and user preferences from your recommendations model. Use SQL to join the user profile data and preferences

C.  

Use Firestore in Native mode, and store user profile data as a document. Update the user profile with preferences specific to that user and use the user identifier to query.

D.  

Use Firestore in Datastore mode, and store user profile data as a document. Update the user profile with preferences specific to that user and use the user identifier to query.

Discussion 0
Questions 17

You are evaluating Cloud SQL for PostgreSQL as a possible destination for your on-premises PostgreSQL instances. Geography is becoming increasingly relevant to customer privacy worldwide. Your solution must support data residency requirements and include a strategy to:

configure where data is stored

control where the encryption keys are stored

govern the access to data

What should you do?

Options:

A.  

Replicate Cloud SQL databases across different zones.

B.  

Create a Cloud SQL for PostgreSQL instance on Google Cloud for the data that does not need to adhere to data residency requirements. Keep the data that must adhere to data residency requirements on-premises. Make application changes to support both databases.

C.  

Allow application access to data only if the users are in the same region as the Google Cloud region for the Cloud SQL for PostgreSQL database.

D.  

Use features like customer-managed encryption keys (CMEK), VPC Service Controls, and Identity and Access Management (IAM) policies.

Discussion 0
Questions 18

You recently launched a new product to the US market. You currently have two Bigtable clusters in one US region to serve all the traffic. Your marketing team is planning an immediate expansion to APAC. You need to roll out the regional expansion while implementing high availability according to Google-recommended practices. What should you do?

Options:

A.  

Maintain a target of 23% CPU utilization by locating:

cluster-a in zone us-central1-a

cluster-b in zone europe-west1-d

cluster-c in zone asia-east1-b

B.  

Maintain a target of 23% CPU utilization by locating:

cluster-a in zone us-central1-a

cluster-b in zone us-central1-b

cluster-c in zone us-east1-a

C.  

Maintain a target of 35% CPU utilization by locating:

cluster-a in zone us-central1-a

cluster-b in zone australia-southeast1-a

cluster-c in zone europe-west1-d

cluster-d in zone asia-east1-b

D.  

Maintain a target of 35% CPU utilization by locating:

cluster-a in zone us-central1-a

cluster-b in zone us-central2-a

cluster-c in zone asia-northeast1-b

cluster-d in zone asia-east1-b

Discussion 0
Questions 19

Your organization is running a low-latency reporting application on Microsoft SQL Server. In addition to the database engine, you are using SQL Server Analysis Services (SSAS), SQL Server Reporting Services (SSRS), and SQL Server Integration Services (SSIS) in your on-premises environment. You want to migrate your Microsoft SQL Server database instances to Google Cloud. You need to ensure minimal disruption to the existing architecture during migration. What should you do?

Options:

A.  

Migrate to Cloud SQL for SQL Server.

B.  

Migrate to Cloud SQL for PostgreSQL.

C.  

Migrate to Compute Engine.

D.  

Migrate to Google Kubernetes Engine (GKE).

Discussion 0
Questions 20

Your customer has a global chat application that uses a multi-regional Cloud Spanner instance. The application has recently experienced degraded performance after a new version of the application was launched. Your customer asked you for assistance. During initial troubleshooting, you observed high read latency. What should you do?

Options:

A.  

Use query parameters to speed up frequently executed queries.

B.  

Change the Cloud Spanner configuration from multi-region to single region.

C.  

Use SQL statements to analyze SPANNER_SYS.READ_STATS* tables.

D.  

Use SQL statements to analyze SPANNER_SYS.QUERY_STATS* tables.

Discussion 0
Questions 21

Your ecommerce website captures user clickstream data to analyze customer traffic patterns in real time and support personalization features on your website. You plan to analyze this data using big data tools. You need a low-latency solution that can store 8 TB of data and can scale to millions of read and write requests per second. What should you do?

Options:

A.  

Write your data into Bigtable and use Dataproc and the Apache Hbase libraries for analysis.

B.  

Deploy a Cloud SQL environment with read replicas for improved performance. Use Datastream to export data to Cloud Storage and analyze with Dataproc and the Cloud Storage connector.

C.  

Use Memorystore to handle your low-latency requirements and for real-time analytics.

D.  

Stream your data into BigQuery and use Dataproc and the BigQuery Storage API to analyze large volumes of data.

Discussion 0
Questions 22

You work for a financial services company that wants to use fully managed database services. Traffic volume for your consumer services products has increased annually at a constant rate with occasional spikes around holidays. You frequently need to upgrade the capacity of your database. You want to use Cloud Spanner and include an automated method to increase your hardware capacity to support a higher level of concurrency. What should you do?

Options:

A.  

Use linear scaling to implement the Autoscaler-based architecture

B.  

Use direct scaling to implement the Autoscaler-based architecture.

C.  

Upgrade the Cloud Spanner instance on a periodic basis during the scheduled maintenance window.

D.  

Set up alerts that are triggered when Cloud Spanner utilization metrics breach the threshold, and then schedule an upgrade during the scheduled maintenance window.

Discussion 0
Questions 23

Your organization has a critical business app that is running with a Cloud SQL for MySQL backend database. Your company wants to build the most fault-tolerant and highly available solution possible. You need to ensure that the application database can survive a zonal and regional failure with a primary region of us-central1 and the backup region of us-east1. What should you do?

Options:

A.  

Provision a Cloud SQL for MySQL instance in us-central1-a.

Create a multiple-zone instance in us-west1-b.

Create a read replica in us-east1-c.

B.  

Provision a Cloud SQL for MySQL instance in us-central1-a.

Create a multiple-zone instance in us-central1-b.

Create a read replica in us-east1-b.

C.  

Provision a Cloud SQL for MySQL instance in us-central1-a.

Create a multiple-zone instance in us-east-b.

Create a read replica in us-east1-c.

D.  

Provision a Cloud SQL for MySQL instance in us-central1-a.

Create a multiple-zone instance in us-east1-b.

Create a read replica in us-central1-b.

Discussion 0
Questions 24

Your company is shutting down their on-premises data center and migrating their Oracle databases using Oracle Real Application Clusters (RAC) to Google Cloud. You want minimal to no changes to the applications during the database migration. What should you do?

Options:

A.  

Migrate the Oracle databases to Cloud Spanner.

B.  

Migrate the Oracle databases to Compute Engine.

C.  

Migrate the Oracle databases to Cloud SQL.

D.  

Migrate the Oracle databases to Bare Metal Solution for Oracle.

Discussion 0
Questions 25

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?

Options:

A.  

Export data periodically to a Cloud Storage bucket protected by Customer-Supplied Encryption Keys.

B.  

Use Cloud SQL Auth proxy.

C.  

Connect to Cloud SQL using a connection that has SSL encryption.

D.  

Use customer-managed encryption keys with Cloud SQL.

Discussion 0
Questions 26

You released a popular mobile game and are using a 50 TB Cloud Spanner instance to store game data in a PITR-enabled production environment. When you analyzed the game statistics, you realized that some players are exploiting a loophole to gather more points to get on the leaderboard. Another DBA accidentally ran an emergency bugfix script that corrupted some of the data in the production environment. You need to determine the extent of the data corruption and restore the production environment. What should you do? (Choose two.)

Options:

A.  

If the corruption is significant, use backup and restore, and specify a recovery timestamp.

B.  

If the corruption is significant, perform a stale read and specify a recovery timestamp. Write the results back.

C.  

If the corruption is significant, use import and export.

D.  

If the corruption is insignificant, use backup and restore, and specify a recovery timestamp.

E.  

If the corruption is insignificant, perform a stale read and specify a recovery timestamp. Write the results back.

Discussion 0
Questions 27

Your organization has strict policies on tracking rollouts to production and periodically shares this information with external auditors to meet compliance requirements. You need to enable auditing on several Cloud Spanner databases. What should you do?

Options:

A.  

Use replication to roll out changes to higher environments.

B.  

Use backup and restore to roll out changes to higher environments.

C.  

Use Liquibase to roll out changes to higher environments.

D.  

Manually capture detailed DBA audit logs when changes are rolled out to higher environments.

Discussion 0
Questions 28

You are managing multiple applications connecting to a database on Cloud SQL for PostgreSQL. You need to be able to monitor database performance to easily identify applications with long-running and resource-intensive queries. What should you do?

Options:

A.  

Use log messages produced by Cloud SQL.

B.  

Use Query Insights for Cloud SQL.

C.  

Use the Cloud Monitoring dashboard with available metrics from Cloud SQL.

D.  

Use Cloud SQL instance monitoring in the Google Cloud Console.

Discussion 0
Questions 29

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

Options:

A.  

Use Cloud SQL with cross-region replicas.

B.  

Use high availability (HA) Cloud SQL with multiple zones.

C.  

Use zonal Cloud SQL without high availability (HA).

D.  

Use Cloud Spanner in a regional configuration.

Discussion 0
Questions 30

Your organization has a ticketing system that needs an online marketing analytics and reporting application. You need to select a relational database that can manage hundreds of terabytes of data to support this new application. Which database should you use?

Options:

A.  

Cloud SQL

B.  

BigQuery

C.  

Cloud Spanner

D.  

Bigtable

Discussion 0
Questions 31

You are building an Android game that needs to store data on a Google Cloud serverless database. The database will log user activity, store user preferences, and receive in-game updates. The target audience resides in developing countries that have intermittent internet connectivity. You need to ensure that the game can synchronize game data to the backend database whenever an internet network is available. What should you do?

Options:

A.  

Use Firestore.

B.  

Use Cloud SQL with an external (public) IP address.

C.  

Use an in-app embedded database.

D.  

Use Cloud Spanner.

Discussion 0
Questions 32

You want to migrate an existing on-premises application to Google Cloud. Your application supports semi-structured data ingested from 100,000 sensors, and each sensor sends 10 readings per second from manufacturing plants. You need to make this data available for real-time monitoring and analysis. What should you do?

Options:

A.  

Deploy the database using Cloud SQL.

B.  

Use BigQuery, and load data in batches.

C.  

Deploy the database using Bigtable.

D.  

Deploy the database using Cloud Spanner.

Discussion 0
Questions 33

Your company wants to migrate an Oracle-based application to Google Cloud. The application team currently uses Oracle Recovery Manager (RMAN) to back up the database to tape for long-term retention (LTR). You need a cost-effective backup and restore solution that meets a 2-hour recovery time objective (RTO) and a 15-minute recovery point objective (RPO). What should you do?

Options:

A.  

Migrate the Oracle databases to Bare Metal Solution for Oracle, and store backups on tapes on-premises.

B.  

Migrate the Oracle databases to Bare Metal Solution for Oracle, and use Actifio to store backup files on Cloud Storage using the Nearline Storage class.

C.  

Migrate the Oracle databases to Bare Metal Solution for Oracle, and back up the Oracle databases to Cloud Storage using the Standard Storage class.

D.  

Migrate the Oracle databases to Compute Engine, and store backups on tapes on-premises.

Discussion 0
Questions 34

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?

Options:

A.  

Use a Cloud Function to pull CPU and memory metrics from your Cloud SQL instance and to call a custom service to send alerts.

B.  

Use Error Reporting to monitor CPU and memory metrics and to configure SMS notification channels.

C.  

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.

D.  

Use Cloud Monitoring to set up an alerting policy for CPU and memory metrics and to configure SMS notification channels.

Discussion 0
Questions 35

You work in the logistics department. Your data analysis team needs daily extracts from Cloud SQL for MySQL to train a machine learning model. The model will be used to optimize next-day routes. You need to export the data in CSV format. You want to follow Google-recommended practices. What should you do?

Options:

A.  

Use Cloud Scheduler to trigger a Cloud Function that will run a select * from table(s) query to call the cloudsql.instances.export API.

B.  

Use Cloud Scheduler to trigger a Cloud Function through Pub/Sub to call the cloudsql.instances.export API.

C.  

Use Cloud Composer to orchestrate an export by calling the cloudsql.instances.export API.

D.  

Use Cloud Composer to execute a select * from table(s) query and export results.

Discussion 0
Questions 36

You are designing a physician portal app in Node.js. This application will be used in hospitals and clinics that might have intermittent internet connectivity. If a connectivity failure occurs, the app should be able to query the cached data. You need to ensure that the application has scalability, strong consistency, and multi-region replication. What should you do?

Options:

A.  

Use Firestore and ensure that the PersistenceEnabled option is set to true.

B.  

Use Memorystore for Memcached.

C.  

Use Pub/Sub to synchronize the changes from the application to Cloud Spanner.

D.  

Use Table.read with the exactStaleness option to perform a read of rows in Cloud Spanner.

Discussion 0
Questions 37

You want to migrate your PostgreSQL database from another cloud provider to Cloud SQL. You plan on using Database Migration Service and need to assess the impact of any known limitations. What should you do? (Choose two.)

Options:

A.  

Identify whether the database has over 512 tables.

B.  

Identify all tables that do not have a primary key.

C.  

Identity all tables that do not have at least one foreign key.

D.  

Identify whether the source database is encrypted using pgcrypto extension.

E.  

Identify whether the source database uses customer-managed encryption keys (CMEK).

Discussion 0
Questions 38

You manage a production MySQL database running on Cloud SQL at a retail company. You perform routine maintenance on Sunday at midnight when traffic is slow, but you want to skip routine maintenance during the year-end holiday shopping season. You need to ensure that your production system is available 24/7 during the holidays. What should you do?

Options:

A.  

Define a maintenance window on Sundays between 12 AM and 1 AM, and deny maintenance periods between November 1 and January 15.

B.  

Define a maintenance window on Sundays between 12 AM and 5 AM, and deny maintenance periods between November 1 and February 15.

C.  

Build a Cloud Composer job to start a maintenance window on Sundays between 12 AM and 1AM, and deny maintenance periods between November 1 and January 15.

D.  

Create a Cloud Scheduler job to start maintenance at 12 AM on Sundays. Pause the Cloud Scheduler job between November 1 and January 15.

Discussion 0