You are hosting an application from Compute Engine virtual machines (VMs) in us`"central1`"a. You want to adjust your design to support the failure of a single Compute Engine zone, eliminate downtime, and minimize cost. What should you do?
A.
ג€" Create Compute Engine resources in usג€"central1ג€"b. ג€" Balance the load across both usג€"central1ג€"a and usג€"central1ג€"b.
B.
ג€" Create a Managed Instance Group and specify usג€"central1ג€"a as the zone. ג€" Configure the Health Check with a short Health Interval.
C.
ג€" Create an HTTP(S) Load Balancer. ג€" Create one or more global forwarding rules to direct traffic to your VMs.
D.
ג€" Perform regular backups of your application. ג€" Create a Cloud Monitoring Alert and be notified if your application becomes unavailable. ג€" Restore from backups when notified.
This seems straightforward. "A" is the only answer that involves putting instances in more than one zone!
A. Yes, creating instances in another zone and balancing the loads will fix this problem
B. Wrong. This keeps all the instances in one zone, but the question says we want to protect against zone failures.
C. Wrong. This keeps all the instances in one zone, but the question says we want to protect against zone failures.
D. Wrong. This keeps all the instances in one zone, but the question says we want to protect against zone failures.
the Answer is B. the 2 Main ask are 1. Single Zone and Minimizes Cost
option B is a cost-effective solution that can provide high availability within a single zone. By creating a Managed Instance Group in us-central1-a and configuring a Health Check with a short Health Interval, you can ensure that if one instance becomes unavailable, the Managed Instance Group will automatically create a new instance to replace it. This can help minimize downtime and ensure that your application remains available within the us-central1-a zone.
Option A.
Create VMs across more than one region and zone so that you have alternative VMs to point to if a zone or region containing one of your VMs is disrupted. If you host all your VMs in the same zone or region, you won't be able to access any of those VMs if that zone or region becomes unreachable.
https://cloud.google.com/compute/docs/tutorials/robustsystems#distribute
Why not "B" selecting "Regional (multi zone)" ?
"Regional (multiple zone) coverage. Regional MIGs let you spread app load across multiple zones. This replication protects against zonal failures. If that happens, your app can continue serving traffic from instances running in the remaining available zones in the same region."
https://cloud.google.com/compute/docs/instance-groups/
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.
GCP_Student1
Highly Voted 3 years, 5 months agoobeythefist
Highly Voted 2 years, 6 months agoJoseCloudEng1994
Most Recent 2 months, 2 weeks agoaccd3fd
4 months, 2 weeks agoccpmad
3 months, 1 week agoCaptain1212
1 year agoDrLegendgun
1 year, 5 months agoAngel_99
2 years agoabirroy
2 years agoAzureDP900
2 years, 2 months ago[Removed]
2 years, 6 months agoRidhanya
2 years, 8 months agoGianfry
2 years, 9 months agokimharsh
2 years, 9 months agoarsh1916
3 years, 3 months agomj98
3 years, 4 months agotifo16
3 years, 4 months agojabrrJ68w02ond1
2 years, 9 months agonzexamtopics
3 years, 4 months agoNARWAL
3 years, 5 months ago