Google Professional Cloud Developer Question 238
Select 3Google Cloud PlatformYou are developing a cloud-native application on Google Cloud that requires high availability and scalability. The application will serve millions of users across different regions. Which of the following building considerations are most important when designing this application?
- A
Implementing regional load balancing to distribute traffic across multiple zones within a region
- B
Using a global load balancer to route traffic to the nearest available region
- C
Designing the application to handle eventual consistency for distributed data
- D
Deploying all components of the application in a single zone to reduce latency
- E
Implementing infrastructure as code (IaC) to manage resources consistently across environments
- F
Relying solely on vertical scaling to handle traffic spikes
Show answer and explanation
Correct answers: B, C, E
Explanation
Cloud-native applications must be designed with high availability, scalability, and fault tolerance in mind. Using global load balancers ensures optimal traffic routing and availability, while designing for eventual consistency allows distributed systems to scale efficiently. Infrastructure as code (IaC) aids in consistent and automated resource management, which is essential for large-scale, resilient applications. Single-zone deployments and vertical scaling are not sufficient for achieving global scalability and high availability.
- A. Incorrect.
Implementing regional load balancing only distributes traffic within a single region. While useful, it does not provide global scalability or high availability across regions.
- B. Correct.
Using a global load balancer ensures traffic is routed to the nearest available region, improving latency and ensuring availability in case of regional failures.
- C. Correct.
Designing the application to handle eventual consistency is critical for distributed data systems, as it ensures scalability and fault tolerance across regions.
- D. Incorrect.
Deploying all components in a single zone increases the risk of a single point of failure and reduces application high availability.
- E. Correct.
Using infrastructure as code (IaC) enables consistent resource management across environments, improving deployment reliability and scalability.
- F. Incorrect.
Relying solely on vertical scaling limits the application's ability to handle significant traffic spikes and is not a scalable long-term solution.