Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 114 of 268

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

Google Professional Cloud DevOps Engineer Question 114

Select 3Google Cloud Platform

Your company runs a web application on Google Cloud's Compute Engine with an autoscaling instance group. During a seasonal sales event, the traffic to the application has significantly increased, leading to higher latency and some user complaints. As a DevOps engineer, you need to ensure the application can handle the increased load without manual intervention. Which actions should you take to add capacity while maintaining high availability and minimizing costs?

  1. A

    Increase the maximum number of instances in the autoscaling policy.

  2. B

    Reduce the cool-down period for the autoscaler to allow faster scaling.

  3. C

    Switch the instance group from an autoscaling policy to a fixed-size group with a large number of instances.

  4. D

    Enable predictive autoscaling to anticipate traffic spikes.

  5. E

    Manually add preemptible VM instances to the instance group to handle the load.

Show answer and explanation

Correct answers: A, B, D

Explanation

To handle increased traffic during a seasonal sales event, leveraging the features of autoscaling, such as increasing the maximum instance count, reducing the cool-down period, and enabling predictive autoscaling, ensures the application can scale dynamically and cost-effectively. These actions maintain high availability and performance without requiring manual intervention. Conversely, static configurations or reliance on preemptible VMs may introduce risks or inefficiencies that are contrary to DevOps best practices.

  • A. Correct.

    Increasing the maximum number of instances in the autoscaling policy ensures the autoscaler can provision additional resources during high traffic periods. This is a cost-effective and automated way to handle increased demand.

  • B. Correct.

    Reducing the cool-down period allows the autoscaler to respond more quickly to traffic spikes, ensuring the application maintains performance during sudden load increases.

  • C. Incorrect.

    Switching to a fixed-size group is not recommended because it removes the flexibility of dynamically adjusting resources based on demand, potentially leading to over-provisioning and higher costs.

  • D. Correct.

    Enabling predictive autoscaling helps anticipate traffic spikes and scale resources proactively, improving performance during predictable traffic patterns like seasonal events.

  • E. Incorrect.

    Manually adding preemptible VM instances is not ideal in this scenario. Preemptible VMs can be terminated at short notice, which might compromise availability during critical high-load periods.

Timed practice exam

Take a Google Professional Cloud DevOps 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