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

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

As part of implementing their disaster recovery plan, your company is trying to replicate their production MySQL database from their private data center to their
GCP project using a Google Cloud VPN connection. They are experiencing latency issues and a small amount of packet loss that is disrupting the replication.
What should they do?

  • A. Configure their replication to use UDP.
  • B. Configure a Google Cloud Dedicated Interconnect.
  • C. Restore their database daily using Google Cloud SQL.
  • D. Add additional VPN connections and load balance them.
  • E. Send the replicated transaction to Google Cloud Pub/Sub.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
mawsman
Highly Voted 4 years, 9 months ago
It's latency issues. That won't be solved by adding another VPN tunnel. If it was just a throughput issue then VPN would do, however to improve latency you need to go layer 2. Answer is B
upvoted 33 times
...
chiar
Highly Voted 5 years ago
I think B is correct. I think it is more reliable.
upvoted 30 times
...
Ekramy_Elnaggar
Most Recent 2 weeks ago
Selected Answer: B
1. Dedicated Interconnect for high performance: Dedicated Interconnect provides a direct physical connection between your on-premises network and Google Cloud. This offers significantly lower latency, higher bandwidth, and greater reliability compared to a VPN. It's ideal for demanding workloads like database replication. 2. Reduced latency and packet loss: By bypassing the public internet, Dedicated Interconnect minimizes latency and packet loss, ensuring consistent and efficient data transfer for your MySQL replication. 3. Enhanced reliability: Dedicated Interconnect provides a more stable and predictable connection compared to a VPN, which can be affected by internet traffic fluctuations. Why D is not correct: Add additional VPN connections and load balance them: This might improve bandwidth slightly but won't address the fundamental latency and packet loss issues inherent with VPNs over the public internet.
upvoted 1 times
...
19040e5
6 months, 2 weeks ago
Selected Answer: B
It's B, Interconnect. D is wrong in this case: While this might help distribute traffic, it won't solve the underlying issue of latency and packet loss caused by the inherent limitations of VPNs.
upvoted 2 times
...
AWS_Sam
10 months, 4 weeks ago
Dedicated interconnect is the answer. A second VPN will give you an HA solution, not going to resolve the latency.
upvoted 2 times
...
[Removed]
11 months ago
Selected Answer: E
Have you mind the budget you'll need to improve network infrastructure - whether it's dedicated interconnect or duplicating VPN connection? Mega IT corps may can afford, but I won't approve the work just for disaster recovery plan, if I were the authority. It's definatedly overkill. Main problem here is a latency issue and/or packet loss, yet the reason hasn't clearly configured. Whether it's occational, or repeatetive, and/or by DB engine or by network, mostly unknown. But you don't have to solve the problem if there's better bypass. Simply retry and test it. There C also can be a solution (which likely being placed already), but it doesn't have significant feature for logging a transaction success/fail. If you take advance Pub/Sub, you can track each transaction processes. Ordering, can adding another issue, but it worth a try - cost effectively.
upvoted 2 times
...
Roro_Brother
11 months, 2 weeks ago
Selected Answer: B
Correct answer is B as its a latency issue.
upvoted 2 times
...
stefanop
11 months, 3 weeks ago
Selected Answer: B
I go for B. Latency won't be solved by adding new VPN tunnels.
upvoted 2 times
...
Demo_Helloworld
1 year, 2 months ago
Selected Answer: D
We have something called as HAVPN which uses 2 VPN Connections at a time. As this Question is old. we dont have this Option called use HAVPN. Now its Updated so the answer will be D. As its just a replication for disaster recovery and they are facing very minimal challenges
upvoted 6 times
...
SandipGhosal
1 year, 9 months ago
I think the best option is E, using PubSub. In question the main issue is " a small amount of packet loss". As per google PubSub documentation, data replication among databases is one of the common use case of PubSub. The asynchronously communication of PubSub can overcome small latency issues. Setting up dedicated interconnect would be very costly and required many pre-requisites.
upvoted 3 times
...
Shawnn
1 year, 9 months ago
You could technically use your private key to encrypt a message, but it would not be secure because anyone who has your public key could decrypt the message. The recommended practice is to use your private key only for decryption and to use the recipient's public key for encryption. I vote for D
upvoted 1 times
...
SirajShan
1 year, 9 months ago
Configuring a Google Cloud Dedicated Interconnect requirement for company is a proximity to colocation facility and meeting condition to have dedicated interconnect. Had this was possible why did they used Cloud VPN in the first place ? I think answer should be D.
upvoted 1 times
...
n_nana
1 year, 10 months ago
If i face this issue, I will give a try with additional VPN, decision using VPN, maybe because they need encryption as well. With switching to dedicated interconnect, you have to implement your own VPN solution or application encryption. so it need more anaylsis to just skip VPN and use dedicated interconnect solution.
upvoted 2 times
...
omermahgoub
1 year, 11 months ago
The company should consider configuring a Google Cloud Dedicated Interconnect. A Google Cloud Dedicated Interconnect provides a private connection between the company's on-premises data center and GCP, which can help to reduce latency and improve the reliability of the connection. This can be particularly useful for replicating large amounts of data or for applications that require low-latency connectivity. Option A, configuring the replication to use UDP, would not necessarily improve the reliability of the connection, as UDP is a connectionless protocol that does not guarantee delivery of packets. Option C, restoring the database daily using Google Cloud SQL, would not address the underlying issues with the replication process.
upvoted 2 times
omermahgoub
1 year, 11 months ago
Option D, adding additional VPN connections and load balancing them, may help to improve the reliability of the connection by providing redundancy, but it may not necessarily address latency issues. Option E, sending the replicated transaction to Google Cloud Pub/Sub, could potentially help to improve the reliability of the replication process by allowing the company to handle failures and retries in a more structured way, but it would not necessarily address latency issues. Overall, configuring a Google Cloud Dedicated Interconnect is likely to be the most effective solution for addressing latency issues and packet loss in the replication process.
upvoted 1 times
VSMu
1 year, 10 months ago
Why focus on latency when the solution is for disaster recovery? The main issue is packet loss. While this can be solved with Dedicated Interconnect or Cloud Pub/Sub, PubSub seems like a cheaper alternative that prevents data loss and achieves reliability. I wouldn't care about latency as the backup is only for DA.. so how does it matter if it goes slowly?
upvoted 3 times
jrisl1991
1 year, 1 month ago
Because latency and packet loss are probably coming from traffic going over public internet. This is the Cloud VPN definition from the public documentation: "Cloud VPN securely extends your peer network to Google's network through an IPsec VPN tunnel. Traffic is encrypted and travels between the two networks over the public internet. Cloud VPN is useful for low-volume data connections." There are documents showing what happens when public internet is used, but basically there's no way to prevent information from going through multiple hops over the internet, which is why Dedicated Interconnect should work. Plus, VPN is recommended for low-volume data connections, and I highly doubt that replicating a database is considered a low-volume operation. I'm going with B: using Cloud Dedicated Interconnect.
upvoted 2 times
...
...
...
...
ashrafh
2 years ago
so just to solve this issue we are going over a Dedicated Interconnect imagine saying this to a your project head.
upvoted 3 times
...
megumin
2 years ago
Selected Answer: B
ok for B
upvoted 2 times
...
AzureDP900
2 years, 1 month ago
This is straight forward question, B is right. Dedicated line solves latency issues
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 ...