ASSOCIATE-CLOUD-ENGINEER · Question #331
You are deploying a web application using Compute Engine. You created a managed instance group (MIG) to host the application. You want to follow Google-recommended practices to implement a secure and
The correct answer is D. Use HTTP(S) load balancing for the MIG and an A record in your DNS public zone with the load. To implement a secure and highly available web application using a Managed Instance Group (MIG), you should use HTTP(S) load balancing combined with an A record in a public DNS zone.
Question
Options
- AUse SSL proxy load balancing for the MIG and an A record in your DNS private zone with the
- BUse SSL proxy load balancing for the MIG and a CNAME record in your DNS public zone with the
- CUse HTTP(S) load balancing for the MIG and a CNAME record in your DNS private zone with the
- DUse HTTP(S) load balancing for the MIG and an A record in your DNS public zone with the load
How the community answered
(46 responses)- A7% (3)
- B2% (1)
- C2% (1)
- D89% (41)
Why each option
To implement a secure and highly available web application using a Managed Instance Group (MIG), you should use HTTP(S) load balancing combined with an A record in a public DNS zone.
SSL proxy load balancing is primarily for non-HTTP(S) SSL traffic, and a private DNS zone would prevent the web application from being publicly accessible.
SSL proxy load balancing is not the primary choice for standard web applications, which benefit more from HTTP(S) Load Balancing's Layer 7 features.
A private DNS zone would prevent external users from accessing the web application, as it only resolves names within a private network.
HTTP(S) Load Balancing is the recommended solution for external web applications on Google Cloud, providing global, Layer 7 load balancing with advanced features like SSL termination and content-based routing. An A record in a public DNS zone directly maps the public domain name to the external IP address of the HTTP(S) Load Balancer, making the application accessible to users over the internet and ensuring high availability.
Concept tested: HTTP(S) Load Balancing and public DNS configuration
Source: https://cloud.google.com/load-balancing/docs/choosing-load-balancer
Topics
Community Discussion
No community discussion yet for this question.