Free Google Professional Cloud Database Engineer Actual Exam Questions
Dumps Box (DumpsBox) offers up-to-date practice exam questions for Professional Cloud Database Engineer certification exam which are developed and validated by Google subject domain experts certified in Google Professional Cloud Database Engineer . These practice questions are update regularly as we keep an eye on any recent changes in Professional Cloud Database Engineer syllabus, and when there is update our team quickly adjusts the questions. This commitment to providing the best quality exam prep material to certification aspirants is what makes DumpsBox.com the best certification exam prep website. On top of that, our strong, yet strictly moderated, community based feedback keeps the content clean and current. Each question has helpful community discussion that provides it extra perspective and introduces helpful resources for better exam preparation. This also saves students from other outdated practice questions or illicit exam dumps that can have adverse affects on career. Browse through our Google Professional Cloud Database Engineer exam questions and pass your exam on first try.
new application change is rolled out, the environment is torn down and recreated, and the persistent
database layer is lost. You need to prevent the database from being dropped. What should you do?
It’s A because using deletion_protection is a clear way to tell Terraform not to destroy the database resource. D is just a fallback, not prevention. B and C don’t address the actual problem of Terraform deleting the DB.
It’s A for sure. Setting deletion_protection to true is the straightforward way to stop Terraform from destroying the database resource during apply, especially when the rest of the environment is being recreated. D sounds like a backup plan rather than prevention, and C doesn’t prevent deletion either. B just reapplies the same config and won’t help if the DB is set to be destroyed. Plus, in Terraform, deletion_protection is a known argument for Cloud SQL instances, so it should work as expected here.
have 99.999% availability. You are responsible for selecting the appropriate Google Cloud database to
serve as a datastore for this new application. What should you do?
B Cloud Spanner is the only one designed for global transactions with strong ACID guarantees and high uptime, so it’s really the only option that checks all boxes here. The others fall short on either global ACID or availability.
Cloud SQL might seem like a solid choice because of its strong ACID support, but it’s not really built for that 99.999% global availability or scale. Firestore does offer some ACID transactions but it’s more tailored for semi-structured data and not full relational needs. Bigtable just can’t guarantee ACID at the transaction level, so it’s out. Cloud Spanner stands out because it’s basically built exactly for this kind of global, strongly consistent transactional workload. Anyone else think Firestore could still be useful if the transactional scope was smaller?
in one country and eventually expand to millions of users in a global audience. You need to ensure
that the application can run 24/7 with minimal downtime for maintenance. What should you do?
I think B is the better pick here. Multi-region Cloud Spanner is designed for global scale and continuous availability, which fits the 24/7 minimal downtime requirement way better than regional setups or Cloud SQL options. Starting with A might save cost initially, but you'd have to switch later, adding complexity. C and D just don’t handle the global scale and uptime as smoothly. So, B makes the most sense from the start to avoid downtime and support millions of users worldwide.
C/D? Cloud SQL can scale but might struggle with global 24/7 uptime.
time; however, the additional analytics caused excessive load on the primary database. You created a
read replica for the analytics workloads, but now your users are complaining about the lag in data
changes and that their reports are still slow. You need to improve the report performance and
shorten the lag in data replication without making changes to the current reports. Which two
approaches should you implement? (Choose two.)
B imo, adding more replicas definitely helps distribute the reporting load better. A also makes sense since indexes speed up query execution without changing reports. E feels like a bigger shift than the question might want.
B – More replicas spread the load and reduce report delays. A – Secondary indexes speed up queries without changing
to Cloud SQL. You need to identify the prerequisites for creating and automating the task. What
should you do? (Choose two.)
Option E seems like a solid choice since pglogical is critical for logical replication in DMS migrations. For the second pick, I’d go with B. Disabling foreign key constraints on the source database can help avoid issues with data consistency and ordering during the migration. C is important but usually more for change data capture scenarios, and shutting down the database (D) is definitely not needed for DMS since it supports online migrations. So E and B make the most sense to me given this context.
E imo, pglogical is usually needed for logical replication with DMS, so that one makes sense. But I’m not sure about the primary key requirement—C might be important because some tools need it for replication or change tracking? Also, the question doesn’t specify if this is a one-time migration or ongoing replication, which could change what’s required. Does anyone know if Cloud SQL supports migrations without shutting down the source DB? That would make D less likely.
SQL for transactional dat
a. Most of your users are located in the same time zone and expect the application to be available 7
days a week, from 6 AM to 10 PM. You want to ensure regular maintenance updates to your Cloud
SQL instance without creating downtime for your users. What should you do?
Option A also makes sense since scheduling maintenance during off-hours can minimize user impact, but it doesn't fully prevent downtime like HA does. It’s more about timing than avoiding downtime altogether.
D. High availability is designed to keep the instance available during maintenance by failing over to a standby, so no downtime should occur. B with a read replica helps with read scaling but doesn’t prevent downtime for writes during maintenance on the primary. The question stresses no downtime, not just read availability, so HA is more aligned with that need. Maintenance windows (A) or notifications (C) don’t eliminate downtime, just try to minimize user impact. So, enabling HA seems like the most straightforward way to ensure continuous availability during updates.
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?
It’s A. Using Cloud Scheduler with Cloud Functions is super lightweight and avoids the cost and hassle of managing a VM or Composer environment. Plus, it fits well for simple scheduled exports.
Maybe D could work since it keeps the existing cron job logic intact without extra refactoring, but it’s definitely more expensive and needs more maintenance than serverless options.
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?
Makes sense to avoid the dump import since it’s slow and causes downtime. Option D sounds like the best fit because creating an external replica lets you keep data synced continuously without heavy maintenance. Plus, it matches Google’s recommended approach for minimal downtime migrations from on-prem MySQL to Cloud SQL.
D, external replica syncs live data, unlike C’s slow dump import.
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?
C imo, Bigtable is built for high-volume, low-latency time-series data like this.
C/D? Bigtable is perfect for time-series data at high throughput, but if you need SQL and strong consistency across regions, Spanner fits better. Since the question highlights real-time monitoring, Bigtable's speed matters more here.
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?
D, because custom services (A) add complexity and federated queries (B) aren’t real-time.
C/D? Database Migration Service (C) is usually for one-time migrations, not continuous replication. Datastream with Dataflow (D) fits near-real-time needs better and is fully managed, so D still seems more solid here.
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?
B/D? PgBouncer (B) is a solid pick since it’s built for connection pooling and can help route read queries to replicas, which matches the load-splitting goal. The Cloud SQL Auth proxy (D) mainly handles secure connections and authentication, not really load balancing or pooling between instances. So even though D is useful for security, it doesn’t directly address splitting the load. A and C are definitely out because they’re meant for web traffic, not database connections.
This one’s tricky, but I’d rule out A and C since Cloud Load Balancing is for HTTP/HTTPS traffic, not database connections. Between B and D, PgBouncer (B) is specifically designed for connection pooling and can be configured to route read queries to replicas, making it a good fit for splitting loads in a database setup. The Cloud SQL Auth proxy (D) mainly handles secure connections, not load distribution. So I’d go with B here.
authentication for read and write access to the database. Which authentication mechanism should
you use?
Maybe D because PostgreSQL's native authentication can be set up with SSL certificates for password-less access, which works directly without relying on external identity providers.
Option A seems solid because IAM lets you use tokens instead of passwords, which fits password-less needs for both read and write without relying on external directories.
database performance. You need to identify the root cause of the performance degradation. What
should you do?
B/C? B helps spot if the problem’s resource-related, but C might catch repeated errors that aren’t obvious in logs or metrics. Both could give clues from different angles.
Maybe A is better here since Logs Explorer can reveal slow queries or specific errors causing the drop in performance, not just general resource issues. That’s more targeted for root cause analysis.
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?
Makes sense to start with A here since increasing processing units directly tackles CPU load before considering more complex solutions like sharding or schema tweaks.
A. Before jumping into schema changes or sharding, Google docs suggest upping processing units since it’s the fastest way to relieve CPU pressure in Cloud Spanner.
located on-premises.
You need to transfer data from these databases into BigQuery for analytics. You want to use a
managed solution that has low latency and is easy to set up. What should you do?
B/D? Cloud Data Fusion is managed and easier to set up with scheduled workflows, though maybe not as low latency as streaming. D adds complexity with replication and federated tables, which might not be as straightforward.
C seems best for low latency and managed streaming from on-prem MySQL to BigQuery, using Datastream and Dataflow is pretty straightforward. The others feel more batch or complex.