GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice question 30 of 35
HipLocal's.net-based auth service fails under intermittent load. What should they do?
Full set: 265 questionsThe core issue is service failure due to "intermittent load," which indicates a need for automatic scaling. Google App Engine is a fully managed, serverless platform designed specifically for this use case. It automatically provisions and scales resources to match traffic demands, scaling up during load spikes and down (even to zero) during idle periods. Since App Engine supports .NET runtimes (both Standard and Flexible environments), it provides an ideal solution to host the authentication service, resolving the load-related failures without requiring manual infrastructure management.
B. Use Cloud Functions for autoscaling. Cloud Functions are for event-driven, short-lived, single-purpose functions, not for hosting a complete, potentially complex authentication service.
C. Use a Compute Engine cluster for the service. While a Managed Instance Group (MIG) on Compute Engine can autoscale, it requires significant manual configuration and management overhead compared to the fully managed App Engine platform.
D. Use a dedicated Compute Engine virtual machine instance for the service. A single, dedicated instance has fixed capacity and cannot automatically scale, making it unsuitable for handling intermittent load and the direct cause of the described problem. ---
1. Google Cloud Documentation, App Engine Overview: "App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. ... App Engine automatically scales your application in response to the amount of traffic it receives." This directly addresses the need to handle intermittent load.
Source: Google Cloud, "App Engine documentation", Overview section. https://cloud.google.com/appengine/docs/standard/choosing-an-environment
2. Google Cloud Documentation, .NET on App Engine: Confirms the compatibility of the existing technology stack with the proposed solution. "You can deploy .NET apps to App Engine."
Source: Google Cloud, ".NET on Google Cloud", Deploying a .NET app to App Engine section. https://cloud.google.com/dotnet/docs/appengine
3. Google Cloud Documentation, Choosing a compute option: This guide positions App Engine as the optimal choice for applications needing automatic scaling without infrastructure management, contrasting it with IaaS (Compute Engine) and FaaS (Cloud Functions). "App Engine: A managed application platform... If you want to focus on writing code and not have to worry about managing the underlying infrastructure, App Engine is an excellent option."
Source: Google Cloud, "Hosting options", Compute options overview table. https://cloud.google.com/docs/hosting-options
Keep practicing
Take the free GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice questions
- Question 1You have an application controlled by a managed instance group. When you deploy a new ver…
- Question 2Your service adds text to images that it reads from Cloud Storage. During busy times of t…
- Question 3You have been tasked with planning the migration of your company’s application from on-pr…
- Question 4You plan to make a simple HTML application available on the internet. This site keeps inf…
- Question 5HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They wan…
- Question 6Your company has created an application that uploads a report to a Cloud Storage bucket. …
