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

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

You have an application that will run on Compute Engine. You need to design an architecture that takes into account a disaster recovery plan that requires your application to fail over to another region in case of a regional outage. What should you do?

  • A. Deploy the application on two Compute Engine instances in the same project but in a different region. Use the first instance to serve traffic, and use the HTTP load balancing service to fail over to the standby instance in case of a disaster.
  • B. Deploy the application on a Compute Engine instance. Use the instance to serve traffic, and use the HTTP load balancing service to fail over to an instance on your premises in case of a disaster.
  • C. Deploy the application on two Compute Engine instance groups, each in the same project but in a different region. Use the first instance group to serve traffic, and use the HTTP load balancing service to fail over to the standby instance group in case of a disaster.
  • D. Deploy the application on two Compute Engine instance groups, each in a separate project and a different region. Use the first instance group to serve traffic, and use the HTTP load balancing service to fail over to the standby instance group in case of a disaster.
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
Eroc
Highly Voted 5 years ago
Groups are better for management that non-groups so A and B are eliminated. Keeping the the instances in the same project will help maintain consistency, so C is better than D.
upvoted 38 times
nitinz
3 years, 8 months ago
C, because external LB needs **IG** period. It can either be managed or un-managed. You can not do External HTTP LB on instances. Also External HHTP LB is a Regional resource.
upvoted 15 times
...
LaxmanTiwari
1 year, 5 months ago
make sense.
upvoted 1 times
...
...
gigibit
Highly Voted 3 years, 1 month ago
Yes, but why not choose a cost-effective solution like A, preferring a not required performance optimization solution like C? The question it's just asking for a simple fail over
upvoted 13 times
Terryhsieh
10 months, 1 week ago
Use two groups, each group contain one instance would be more flixible than answer A.
upvoted 2 times
...
hellosam
1 year, 3 months ago
LB does not work without MIG
upvoted 4 times
...
todos213
2 years, 7 months ago
In real word situation, I'd choose A for a customer. The question doesn't mention performance to be enhanced or scalability.
upvoted 6 times
...
...
yilexar
Most Recent 1 year ago
Now you can use regional load balancer to route traffic to instance groups in different GCP projects. Welcome to cloud :-) https://cloud.google.com/blog/products/networking/cloud-load-balancing-gets-cross-project-service-referencing
upvoted 6 times
...
heretolearnazure
1 year, 2 months ago
C is correct
upvoted 1 times
...
BeCalm
1 year, 7 months ago
To set up a load balancer with a Compute Engine backend, your VMs need to be in an instance group. The managed instance group provides VMs running the backend servers of an external HTTP load balancer Therefore C
upvoted 6 times
LaxmanTiwari
1 year, 5 months ago
good catch .
upvoted 2 times
...
...
BeCalm
1 year, 7 months ago
Why can't this be A since there is no mention of scaling?
upvoted 1 times
hellosam
1 year, 3 months ago
LB does not work without MIG
upvoted 1 times
axle818
11 months ago
You can use either MIG or unmanaged.. https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-unmanaged-instances
upvoted 2 times
...
...
...
n_nana
1 year, 9 months ago
Selected Answer: C
Google recommend using MIG for Zonal outage and multiple MIG for regional outage https://cloud.google.com/architecture/disaster-recovery#compute-engine sentence says: Compute Engine instances are zonal resources, so in the event of a zone outage instances are unavailable by default. Compute Engine does offer managed instance groups (MIGs) which can automatically scale up additional VMs from pre-configured instance templates, both within a single zone and across multiple zones within a region. MIGs are ideal for applications that require resilience to zone loss and are stateless, but require configuration and resource planning. Multiple regional MIGs can be used to achieve region outage resilience for stateless applications.
upvoted 8 times
...
roaming_panda
1 year, 10 months ago
Selected Answer: C
MIG , in 1 project
upvoted 1 times
...
sameer2803
1 year, 10 months ago
the only solution that they want is to address regional outage. scalability or performance is not a concern at this point. MIG is better but that not what is solving the regional outage.
upvoted 1 times
n_nana
1 year, 9 months ago
According to this link, MIG is not only for performance and scalability. It is also for reliability https://cloud.google.com/architecture/disaster-recovery#compute-engine sentence says: Compute Engine instances are zonal resources, so in the event of a zone outage instances are unavailable by default. Compute Engine does offer managed instance groups (MIGs) which can automatically scale up additional VMs from pre-configured instance templates, both within a single zone and across multiple zones within a region. MIGs are ideal for applications that require resilience to zone loss and are stateless, but require configuration and resource planning. Multiple regional MIGs can be used to achieve region outage resilience for stateless applications.
upvoted 1 times
...
...
omermahgoub
1 year, 10 months ago
The correct answer is D: Deploy the application on two Compute Engine instance groups, each in a separate project and a different region. Use the first instance group to serve traffic, and use the HTTP load balancing service to fail over to the standby instance group in case of a disaster. To implement a disaster recovery plan that requires your application to fail over to another region in case of a regional outage, you should deploy the application on two Compute Engine instance groups, each in a separate project and a different region. This will ensure that the application is running in at least two regions, so that if one region experiences an outage, the application can still be accessed from the other region. You can use the HTTP load balancing service to distribute traffic between the two instance groups and to fail over to the standby instance group in case of a disaster. This will ensure that your application is always available, even in the event of a regional outage.
upvoted 2 times
omermahgoub
1 year, 10 months ago
Option A: Deploying the application on two Compute Engine instances in the same project but in a different region will not provide enough redundancy, as the instances are still in the same project and could be affected by the same regional outage. Option B: Deploying the application on a Compute Engine instance and using the HTTP load balancing service to fail over to an instance on your premises in case of a disaster is not a valid option, as it does not provide the required disaster recovery capability. Option C: Deploying the application on two Compute Engine instance groups, each in the same project but in a different region, is not a valid option, as it does not provide the required disaster recovery capability.
upvoted 2 times
...
...
oms_muc
1 year, 10 months ago
IMHO A would also work (test env). In production relying on instances from other regions (introducing latency) just for possible expected zonal outages, would not be my best practice.
upvoted 1 times
...
AniketD
1 year, 11 months ago
Selected Answer: C
Correct answer is C. No need to host MIG in separate projects.
upvoted 2 times
...
megumin
1 year, 12 months ago
Selected Answer: C
ok for C
upvoted 1 times
...
AzureDP900
2 years ago
C is right choice
upvoted 1 times
...
minmin2020
2 years ago
Selected Answer: C
C - using instance groups when planning for DR is better than having single vm's (https://cloud.google.com/architecture/disaster-recovery). Having the resources in the same project is probably good for resource management.
upvoted 1 times
...
arjunvijayvargiya
2 years, 1 month ago
Answer should have been A as autoscaling requirements are not mentioned.
upvoted 1 times
...
BiddlyBdoyng
2 years, 1 month ago
I think you need an group for the load balancer so A no good?
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