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 100 discussion

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

During an internal audit, you realized that one of your Cloud SQL for MySQL instances does not have high availability (HA) enabled. You want to follow Google-recommended practices to enable HA on your existing instance. What should you do?

  • A. Create a new Cloud SQL for MySQL instance, enable HA, and use the export and import option to migrate your data.
  • B. Create a new Cloud SQL for MySQL instance, enable HA, and use Cloud Data Fusion to migrate your data.
  • C. Use the gcloud instances patch command to update your existing Cloud SQL for MySQL instance.
  • D. Shut down your existing Cloud SQL for MySQL instance, and enable HA.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
chelbsik
Highly Voted 1 year, 10 months ago
Selected Answer: C
A and B are obviously wrong, but it's still a bit confusing with the last two: C - `gcloud instances patch` is not complete, it should be `gcloud sql instances patch`, so I would consider it to be wrong, if not the D - you can't edit your instance (i.e. enable HA) when it's shut down, you can only do it when instance is running, and then it will restart. So I'll go for C
upvoted 8 times
chelbsik
1 year, 10 months ago
So I took exam, and command was written correctly in the exam question: `gcloud sql instances patch`, so C is indeed correct here
upvoted 14 times
Ryannn23
1 year, 3 months ago
Congratulations 🎊
upvoted 1 times
...
...
...
dija123
Most Recent 5 months, 1 week ago
Selected Answer: C
Agree with C
upvoted 1 times
...
kfiryo
11 months, 1 week ago
C is correct: https://cloud.google.com/sql/docs/mysql/configure-ha#ha-existing
upvoted 1 times
...
dynamic_dba
1 year, 7 months ago
C. You can add a failover replica to an already created and running Cloud SQL instance. This can be done from the console or by using gcloud. The gcloud command is: gcloud sql instances patch INSTANCE_NAME \ --availability-type REGIONAL \ --enable-bin-log \ --backup-start-time=HH:MM No need to create a new Cloud SQL instance. Eliminate A and B. Adding HA requires you to edit the configuration which you can’t do if the instance is down. So D is wrong.
upvoted 3 times
...
Hilab
1 year, 8 months ago
The correct option is C. Use the gcloud instances patch command to update your existing Cloud SQL for MySQL instance. Explanation: Creating a new instance and migrating data can be time-consuming and disruptive to your application's availability. Shutting down the existing instance is not a recommended approach, as it will cause downtime for your application. The recommended approach is to use the gcloud instances patch command to enable high availability on your existing Cloud SQL for MySQL instance. This command updates the instance's configuration to enable the failover replica, configure it, and enable automatic failover. By following this approach, you can ensure minimal downtime, and your application can continue to operate during the process.
upvoted 1 times
...
pk349
1 year, 10 months ago
D: Shut down your existing Cloud SQL for MySQL instance, and enable HA.
upvoted 1 times
ssaporylo
1 year, 9 months ago
you can enbale HA without shutdown https://cloud.google.com/sql/docs/postgres/configure-ha
upvoted 2 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