ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 114 - Professional Cloud Database Engineer discussion

Report
Export

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?

A.
Perform a full backup of your on-premises PostgreSQL, and then, in the migration window, perform an incremental backup.
Answers
A.
Perform a full backup of your on-premises PostgreSQL, and then, in the migration window, perform an incremental backup.
B.
Create a read replica on Cloud SQL, and then promote it to a read/write standalone instance.
Answers
B.
Create a read replica on Cloud SQL, and then promote it to a read/write standalone instance.
C.
Use Database Migration Service to migrate your database.
Answers
C.
Use Database Migration Service to migrate your database.
D.
Create a hot standby on Compute Engine, and use PgBouncer to switch over the connections.
Answers
D.
Create a hot standby on Compute Engine, and use PgBouncer to switch over the connections.
Suggested answer: D

Explanation:

PgBouncer maintains a pool for connections for each database and user combination. PgBouncer either creates a new database connection for a client or reuses an existing connection for the same user and database. + PgBouncer is a simple PostgreSQL connection pool that allows for several thousand connections at a time. Using Kubernetes Engine to run a Helm Chart w/ PgBouncer based on the great article from futuretech-industries, we were able to set up an easily deployable system to get the most out of our CloudSQL DBs without breaking the bank. https://medium.com/google-cloud/increasing-cloud-sql-postgresql-max-connections-w-pgbouncer-kubernetes-engine-49b0b2894820#:~:text=That%20is%20where,breaking%20the%20bank.

asked 18/09/2024
ASDASDASDA SDASD
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first