exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 108 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 108
Topic #: 1
[All Professional Cloud Architect Questions]

You are implementing a single Cloud SQL MySQL second-generation database that contains business-critical transaction data. You want to ensure that the minimum amount of data is lost in case of catastrophic failure. Which two features should you implement? (Choose two.)

  • A. Sharding
  • B. Read replicas
  • C. Binary logging
  • D. Automated backups
  • E. Semisynchronous replication
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
kopper2019
Highly Voted 3 years, 3 months ago
Ans) C and D Cloud SQL. If you use Cloud SQL, the fully managed Google Cloud MySQL database, you should enable automated backups and binary logging for your Cloud SQL instances. This allows you to perform a point-in-time recovery, which restores your database from a backup and recovers it to a fresh Cloud SQL instance
upvoted 38 times
HenkH
1 year, 12 months ago
And: a read-replica won't help against "catastrophic failures" like accidental deletions
upvoted 5 times
RVivek
1 year, 8 months ago
catastrophic failure means disaster like a zonal datacenter level failure or regional failure
upvoted 4 times
...
...
...
victory108
Highly Voted 3 years, 3 months ago
C. Binary logging D. Automated backups
upvoted 11 times
...
plumbig11
Most Recent 3 months, 3 weeks ago
Selected Answer: CD
Binary logging and automated backups
upvoted 1 times
...
[Removed]
10 months ago
CD Binary Logging: Binary logging in MySQL records changes to the database. It can be used for backup and replication, and it's essential for point-in-time recovery. With binary logging, you can roll your database forward to any point in time, minimizing data loss. Automated Backups: Automated backups periodically take a snapshot of your database. In the event of a catastrophic failure, you can restore your database to the state it was in at the time of the last backup. This can also help minimize data loss. While read replicas and semisynchronous replication can enhance availability and performance, they do not directly minimize data loss. Also, you cannot create a read replica without enabling Automated backups and Enable binary logging Sharding can improve performance but it's not directly aimed at data loss prevention. https://cloud.google.com/sql/docs/mysql/backup-recovery/backups
upvoted 4 times
...
odacir
11 months, 1 week ago
Selected Answer: CD
Prerequisites for creating a read replica Before you can create a read replica of a primary Cloud SQL instance, the instance must meet the following requirements: Automated backups must be enabled. Binary logging must be enabled which requires point-in-time recovery to be enabled. Learn more about the impact of these logs. At least one backup must have been created after binary logging was enabled. https://cloud.google.com/sql/docs/mysql/replication#requirements
upvoted 5 times
...
someone2011
1 year, 1 month ago
CD Before being able to create a read replica, you have to make sure "binary logging and automated backup" are enabled. So picking only D or C without the other one makes no sense. https://cloud.google.com/sql/docs/mysql/replication/create-replica
upvoted 1 times
...
HRS1954
1 year, 1 month ago
The correct answers are C. & D. Binary logging is a feature of MySQL that records all changes made to the database. This log can be used to restore the database to a previous state in case of a failure. Automated backups are regularly scheduled backups of the database. They are the most reliable way to ensure that data is not lost in case of a catastrophic failure.
upvoted 4 times
...
heretolearnazure
1 year, 2 months ago
C and D. Read replicas wont work in this case.
upvoted 1 times
...
FaizAhmed
1 year, 4 months ago
C. Binary logging D. Automated backups
upvoted 1 times
...
taer
1 year, 6 months ago
Selected Answer: CD
Binary logging records changes to the data, which can help you recover data and minimize data loss during an unexpected failure. Automated backups create regular backups of your database, allowing you to restore the database to a specific point in time in case of a catastrophic failure.
upvoted 3 times
...
abbottWang
1 year, 7 months ago
Selected Answer: CD
backup data automatically
upvoted 1 times
...
telp
1 year, 8 months ago
CD => the answer B is for performance issue. The question focus on data loss prevention.
upvoted 1 times
medi01
1 year, 6 months ago
So you are going with a SINGLE instance of MySQL for a critical business application.
upvoted 1 times
...
...
okixavi
1 year, 9 months ago
Selected Answer: BD
B and D: No need to explain D, but B... here is why When you set up a read replica, automaticaly binary logging is activated. Then, in case of desaster, you can promote manually a read replica and it will have all data before the desaster occurs.
upvoted 3 times
r1ck
1 year, 8 months ago
sure, binary logging starts Automatically upon configuring read-replica?? - Don't think so, https://cloud.google.com/sql/docs/mysql/replication/create-replica
upvoted 2 times
...
...
Jeena345
1 year, 9 months ago
B and D are correct answers as per below reference, 1. Before you can create a read replica of a primary Cloud SQL instance, the instance must meet the following requirements: Automated backups must be enabled. 2. Binary logging must be enabled which requires point-in-time recovery to be enabled. Learn more about the impact of these logs. 3. At least one backup must have been created after binary logging was enabled. It means creating read replica already covers binary logging. Please read the following references for more information https://cloud.google.com/solutions/cloud-sql-mysql-disaster-recovery-complete-failover-fallback https://medium.com/google-cloud/cloud-sql-recovering-from-regional-failure-in-10-minutes-or-less-mysql-fc055540a8f0 Replication in Cloud SQL | Cloud SQL for MySQL | Google Cloud
upvoted 1 times
mmathiou
1 year, 5 months ago
Yes, you are correct that creating a read replica requires binary logging to be enabled on the primary instance. However, the purpose of a read replica is to scale read traffic and offload it from the primary instance, not to prevent data loss in case of catastrophic failure. While enabling binary logging is a requirement for creating a read replica, it is not the primary purpose of a read replica. IMO the two features that should be implemented to ensure minimum data loss in case of catastrophic failure are Binary logging and Automated backups.
upvoted 3 times
...
...
examch
1 year, 9 months ago
Selected Answer: CD
C and D are correct answers, Backups help you restore lost data to your Cloud SQL instance. Additionally, if an instance is having a problem, you can restore it to a previous state by using the backup to overwrite it. Enable automated backups for any instance that contains necessary data. Backups protect your data from loss or damage. Enabling automated backups, along with binary logging, is also required for some operations, such as clone and replica creation. https://cloud.google.com/sql/docs/mysql/backup-recovery/backups#what_backups_provide
upvoted 2 times
...
omermahgoub
1 year, 10 months ago
C. Binary logging D. Automated backups Binary logging is a feature of MySQL that records all changes made to the database in a binary log file. By enabling binary logging on your Cloud SQL instance, you can use the log file to recover your database in case of catastrophic failure. Automated backups are a feature of Cloud SQL that allows you to automatically create and retain backups of your database. By enabling automated backups, you can restore your database in case of catastrophic failure or other data loss events. Option A, sharding, is not a recommended approach. Sharding is a technique for distributing data across multiple servers to improve performance and scalability. While sharding can help to improve the performance of a database, it is not specifically designed to protect against data loss in case of catastrophic failure.
upvoted 4 times
omermahgoub
1 year, 10 months ago
Option B, read replicas, is not a recommended approach. Read replicas are copies of a database that can be used to offload read traffic from the primary database. While read replicas can improve the performance of a database, they are not specifically designed to protect against data loss in case of catastrophic failure. Option E, semisynchronous replication, is not a recommended approach. Semisynchronous replication is a method of replicating data between a primary database and one or more secondary databases. While semisynchronous replication can help to ensure that data is replicated quickly and accurately, it is not specifically designed to protect against data loss in case of catastrophic failure.
upvoted 2 times
...
...
megumin
1 year, 11 months ago
Selected Answer: CD
cd is ok
upvoted 1 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