Google Associate Cloud Engineer Question 98
Select 3Google Cloud PlatformYou are tasked with setting up an autoscaled managed instance group on Google Cloud Platform for a web application that experiences variable traffic. You have already created an instance template with the necessary configurations. What steps should you follow to successfully create and configure the autoscaled managed instance group?
- A
Create a new managed instance group using the instance template.
- B
Configure an autoscaler for the instance group to adjust the number of instances based on CPU utilization.
- C
Set up a firewall rule to allow traffic to the instances in the managed instance group.
- D
Manually add instances to the managed instance group to handle peak traffic.
- E
Assign a static IP address to each instance in the managed instance group.
Show answer and explanation
Correct answers: A, B, C
Explanation
To create an autoscaled managed instance group, you should first create the group using your instance template. Then, configure an autoscaler to automatically adjust the number of instances based on demand, such as CPU utilization. Additionally, ensure that appropriate firewall rules are in place to allow traffic to reach the instances. These steps will ensure your application can handle variable traffic efficiently without manual intervention.
- A. Correct.
This is a necessary step to create a managed instance group using the pre-configured instance template.
- B. Correct.
Configuring an autoscaler is essential for automatically adjusting the number of instances based on metrics like CPU utilization.
- C. Correct.
Setting up a firewall rule is crucial to ensure that traffic can reach the instances in the managed instance group.
- D. Incorrect.
Manually adding instances is not necessary or recommended as the autoscaler will manage the number of instances based on the defined policies.
- E. Incorrect.
Assigning a static IP address to each instance is not practical in a managed instance group as instances are ephemeral and IPs are dynamically assigned.