
Try Professional-Cloud-Database-Engineer Free Now! Real Exam Question Answers Updated [Jan 08, 2025]
Get Ready to Pass the Professional-Cloud-Database-Engineer exam with Google Latest Practice Exam
NEW QUESTION # 47
Your customer is running a MySQL database on-premises with read replicas. The nightly incremental backups are expensive and add maintenance overhead. You want to follow Google-recommended practices to migrate the database to Google Cloud, and you need to ensure minimal downtime. What should you do?
- A. Create a Google Kubernetes Engine (GKE) cluster, install MySQL on the cluster, and then import the dump file.
- B. Use the mysqldump utility to take a backup of the existing on-premises database, and then import it into Cloud SQL.
- C. Create an external replica, and use Cloud SQL to synchronize the data to the replica.
- D. Create a Compute Engine VM, install MySQL on the VM, and then import the dump file.
Answer: B
NEW QUESTION # 48
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?
- A. Use Bigtable with clusters in multiple regions to deploy the database
- B. Use Cloud SQL with a regional read replica to deploy the database.
- C. Use Cloud Spanner to deploy the database.
- D. Use BigQuery to deploy the database
Answer: D
NEW QUESTION # 49
You are configuring a new application that has access to an existing Cloud Spanner database. The new application reads from this database to gather statistics for a dashboard. You want to follow Google-recommended practices when granting Identity and Access Management (IAM) permissions. What should you do?
- A. Create a new service account, and grant it the Cloud Spanner Database Admin role.
- B. Reuse the existing service account that populates this database.
- C. Create a new service account, and grant it the spanner.databases.select permission.
- D. Create a new service account, and grant it the Cloud Spanner Database Reader role.
Answer: A
NEW QUESTION # 50
You are configuring a new application that has access to an existing Cloud Spanner database. The new application reads from this database to gather statistics for a dashboard. You want to follow Google-recommended practices when granting Identity and Access Management (IAM) permissions. What should you do?
- A. Create a new service account, and grant it the Cloud Spanner Database Admin role.
- B. Reuse the existing service account that populates this database.
- C. Create a new service account, and grant it the Cloud Spanner Database Reader role.
- D. Create a new service account, and grant it the spanner.databases.select permission.
Answer: C
Explanation:
https://cloud.google.com/iam/docs/overview
NEW QUESTION # 51
You are running a large, highly transactional application on Oracle Real Application Cluster (RAC) that is multi-tenant and uses shared storage. You need a solution that ensures high-performance throughput and a low-latency connection between applications and databases. The solution must also support existing Oracle features and provide ease of migration to Google Cloud. What should you do?
- A. Migrate to Compute Engine.
- B. Migrate to Google Kubernetes Engine (GKE)
- C. Migrate to Google Cloud VMware Engine
- D. Migrate to Bare Metal Solution for Oracle.
Answer: D
Explanation:
Oracle is neither licensed nor supported in GCE. The only platform which supports RAC and all existing Oracle features is BMS.
NEW QUESTION # 52
Your organization deployed a new version of a critical application that uses Cloud SQL for MySQL with high availability (HA) and binary logging enabled to store transactional information. The latest release of the application had an error that caused massive data corruption in your Cloud SQL for MySQL database. You need to minimize data loss. What should you do?
- A. Reload the Cloud SQL for MySQL database using the LOAD DATA command to load data from CSV files that were used to initialize the instance.
- B. Fail over to the Cloud SQL for MySQL HA instance. Use that instance to recover the transactions that occurred before the corruption.
- C. Perform a point-in-time recovery of your Cloud SQL for MySQL database, selecting a date and time before the data was corrupted.
- D. Open the Google Cloud Console, navigate to SQL > Backups, and select the last version of the automated backup before the corruption.
Answer: A
NEW QUESTION # 53
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.)
- A. Identify whether the source database is encrypted using pgcrypto extension.
- B. Identify all tables that do not have a primary key.
- C. Identify whether the source database uses customer-managed encryption keys (CMEK).
- D. Identify whether the database has over 512 tables.
- E. Identity all tables that do not have at least one foreign key.
Answer: C,E
NEW QUESTION # 54
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?
- A. Replicate Cloud SQL databases across different zones.
- B. Use features like customer-managed encryption keys (CMEK), VPC Service Controls, and Identity and Access Management (IAM) policies.
- 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. 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.
Answer: C
NEW QUESTION # 55
You are running a mission-critical application on a Cloud SQL for PostgreSQL database with a multi-zonal setup. The primary and read replica instances are in the same region but in different zones. You need to ensure that you split the application load between both instances. What should you do?
- A. Use PgBouncer to set up database connection pooling between the Cloud SQL primary and read replica instances.
- B. Use the Cloud SQL Auth proxy for database connection pooling between the Cloud SQL primary and read replica instances.
- C. Use HTTP(S) Load Balancing for database connection pooling between the Cloud SQL primary and read replica instances.
- D. Use Cloud Load Balancing for load balancing between the Cloud SQL primary and read replica instances.
Answer: A
Explanation:
https://severalnines.com/blog/how-achieve-postgresql-high-availability-pgbouncer/
https://cloud.google.com/blog/products/databases/using-haproxy-to-scale-read-only-workloads-on-cloud-sql-for-postgresql This answer is correct because PgBouncer is a lightweight connection pooler for PostgreSQL that can help you distribute read requests between the Cloud SQL primary and read replica instances1. PgBouncer can also improve performance and scalability by reducing the overhead of creating new connections and reusing existing ones1. You can install PgBouncer on a Compute Engine instance and configure it to connect to the Cloud SQL instances using private IP addresses or the Cloud SQL Auth proxy2.
NEW QUESTION # 56
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 dat a. You want to design a multi-tenancy strategy to efficiently manage costs and operations. What should you do?
- A. Apply an instance data management pattern.
- B. Apply a database data management pattern.
- C. Apply a table data management pattern.
- D. Apply a schema data management pattern.
Answer: A
NEW QUESTION # 57
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?
- A. 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.
- B. 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.
- C. Define a connection string using your Google username and password to point to the external (public) IP address of your Cloud SQL instance.
- D. Define a connection string using a database username and password to point to the internal (private) IP address of your Cloud SQL instance.
Answer: B
Explanation:
The Cloud SQL connectors are libraries that provide encryption and IAM-based authorization when connecting to a Cloud SQL instance. They can't provide a network path to a Cloud SQL instance if one is not already present. Other ways to connect to a Cloud SQL instance include using a database client or the Cloud SQL Auth proxy. https://cloud.google.com/sql/docs/postgres/connect-connectors https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/main/docs/jdbc-postgres.md
NEW QUESTION # 58
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?
- A. 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.
- B. 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.
- C. Define a connection string using your Google username and password to point to the external (public) IP address of your Cloud SQL instance.
- D. Define a connection string using a database username and password to point to the internal (private) IP address of your Cloud SQL instance.
Answer: B
NEW QUESTION # 59
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?
- A. Place both the application VMs and the Cloud SQL instances in the default network of each project.
- B. Create a Shared VPC that both the application VMs and Cloud SQL instances will use.
- C. Create a new VPC network in each project, and use VPC Network Peering to connect the two together.
- D. Use the default networks, and leverage Cloud VPN to connect the two together.
Answer: B
Explanation:
https://groups.google.com/g/google-cloud-sql-discuss/c/M5G5_HPXytY?pli=1
NEW QUESTION # 60
Your organization is running a Firestore-backed Firebase app that serves the same top ten news stories on a daily basis to a large global audience. You want to optimize content delivery while decreasing cost and latency. What should you do?
- A. Enable serializable isolation in the Firebase app.
- B. Build a Firestore bundle, and deploy bundles to Cloud CDN.
- C. Create a Firestore index on the news story date.
- D. Deploy a US multi-region Firestore location.
Answer: B
Explanation:
A global audience strongly suggests serving content via Google's Content Delivery Network. Changing the isolation level won't decrease cost or latency
NEW QUESTION # 61
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?
- A. 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
- B. 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.
- C. In the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs command to extend the disk.
- D. 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.
Answer: C
Explanation:
https://cloud.google.com/compute/docs/disks/resize-persistent-disk#resize_partitions
NEW QUESTION # 62
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?
- A. Watch Cloud Trace for application requests that are failing.
- B. Watch the Cloud SQL instance monitor for CPU utilization metrics.
- C. Watch the Cloud SQL recommenders for overprovisioned instances.
- D. Watch Query Insights for long running queries.
Answer: D
Explanation:
Cloud Trace doesn't support Cloud SQL. Eliminate D. Cloud SQL recommenders for overprovisioned instances would tell you about Cloud SQL instances which are too large for their workload. Eliminate C. Monitoring CPU utilization wouldn't tell you why microservice calls are failing. Eliminate B. SQLcommenter integrates with Query Insights. So A is the best answer. https://cloud.google.com/blog/topics/developers-practitioners/introducing-sqlcommenter-open-source-orm-auto-instrumentation-library
NEW QUESTION # 63
......
Google Professional-Cloud-Database-Engineer certification exam is a valuable certification that demonstrates the candidate's ability to design, develop, and manage databases on Google Cloud Platform. It is a challenging exam that requires candidates to have hands-on experience and a deep understanding of database concepts. Candidates who pass the exam will be recognized as experts in Google Cloud databases and will gain a competitive edge in the job market.
Pass Your Next Professional-Cloud-Database-Engineer Certification Exam Easily & Hassle Free: https://testinsides.vcedumps.com/Professional-Cloud-Database-Engineer-examcollection.html
