exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 60 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 60
Topic #: 1
[All Professional Cloud Database Engineer Questions]

You are configuring a brand new Cloud SQL for PostgreSQL database instance in Google Cloud. Your application team wants you to deploy one primary instance, one standby instance, and one read replica instance. You need to ensure that you are following Google-recommended practices for high availability. What should you do?

  • A. Configure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region.
  • B. Configure the primary and standby instances in zone A and the read replica in zone B, all in the same region.
  • C. Configure the primary instance in one region, the standby instance in a second region, and the read replica in a third region.
  • D. Configure the primary, standby, and read replica instances in zone A, all in the same region.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dynamic_dba
Highly Voted 11 months ago
A. Cloud SQL is a regional service so the primary and standby instances must be in the same region. A recommended practice would have them in different zones. A read replica could be in a different region, but that option isn’t offered probably because it would be too far away from the user base. Having it in a different zone from the primary and standby instances is therefore the best and only answer.
upvoted 9 times
...
887ad17
Most Recent 1 week, 3 days ago
Selected Answer: A
A. Configure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region. This option follows Google-recommended practices for high availability by distributing the instances across multiple zones within the same region. This setup ensures that: The primary instance and standby instance are in different zones, providing resilience against zonal failures. The read replica is also in a different zone, allowing for load balancing of read operations and further protection against zone-specific outages.
upvoted 1 times
...
learnazureportal
5 months ago
The correct answer is ==> B. Configure the primary and standby instances in zone A and the read replica in zone B, all in the same region.
upvoted 1 times
...
chelbsik
1 year, 1 month ago
Selected Answer: A
HA standby instance can't be located in different region, and Google recommends to use different zones for all three, so answer is A https://cloud.google.com/sql/docs/postgres/high-availability#failover-overview
upvoted 3 times
...
pk349
1 year, 1 month ago
The HA configuration provides data redundancy. A Cloud SQL instance configured for HA is also called a regional instance and has a primary and secondary zone within the configured region. Within a regional instance, the configuration is made up of a primary instance and a standby instance. Through synchronous replication to each zone's persistent disk, all writes made to the primary instance are replicated to disks in both zones before a transaction is reported as committed. In the event of an instance or zone failure, the standby instance becomes the new primary instance. Users are then rerouted to the new primary instance. This process is called a failover.
upvoted 3 times
...
pk349
1 year, 1 month ago
A: Configure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago