Google Professional Cloud Network Engineer exam dumps

Google Professional Cloud Network Engineer practice question 435 of 790

Professional Cloud Network Engineer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Network Engineer Question 435

Select 3Google Cloud Platform

Your organization runs a web application on Google Cloud using a managed instance group (MIG) behind a global HTTPS load balancer. During a flash sale event, the application experiences a sudden increase in traffic, which results in performance degradation. You want to ensure that the application can automatically handle such traffic spikes while maintaining optimal performance. What configuration changes should you make to the managed instance group?

  1. A

    Enable autoscaling for the managed instance group based on CPU utilization.

  2. B

    Configure a maximum number of instances for the managed instance group autoscaler.

  3. C

    Manually add more virtual machine instances to the managed instance group during the flash sale event.

  4. D

    Set up a custom metric for autoscaling based on HTTP request count per instance.

  5. E

    Enable session affinity on the HTTPS load balancer to ensure consistent routing of requests.

Show answer and explanation

Correct answers: A, B, D

Explanation

To handle sudden traffic spikes, enabling autoscaling for the managed instance group is essential. Autoscaling based on CPU utilization or custom metrics, such as HTTP request count, ensures the application can automatically scale up or down based on demand. Setting a maximum number of instances provides a safety limit to prevent over-scaling. Manual scaling is not recommended because it lacks the dynamic responsiveness required for traffic surges, and session affinity does not address scalability concerns.

  • A. Correct.

    Correct: Enabling autoscaling based on CPU utilization allows the managed instance group to dynamically add or remove instances as needed to handle traffic spikes effectively.

  • B. Correct.

    Correct: Configuring a maximum number of instances ensures that autoscaling does not exceed resource limits, providing a safeguard against excessive scaling.

  • C. Incorrect.

    Incorrect: Manually adding instances is not an efficient or scalable approach for handling sudden traffic spikes. Autoscaling is the preferred solution.

  • D. Correct.

    Correct: Using a custom metric such as HTTP request count per instance allows autoscaling to respond to traffic-based load patterns, which is particularly useful for web applications.

  • E. Incorrect.

    Incorrect: While session affinity can improve user experience in certain scenarios, it does not directly address the need for scaling to accommodate increased workload.

Timed practice exam

Take a Google Professional Cloud Network Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam