
Answer-first summary for fast verification
Answer: Create an instance template that contains valid syntax which will be used by the instance group. Delete any persistent disks with the same name as instance names.
The correct answer is A. Instance templates in Google Cloud are immutable, which means they cannot be modified once created. Therefore, creating and using an instance template with valid syntax is essential. Additionally, any persistent disks that have the same names as instance names should be deleted to avoid conflicts. Other options (B, C, D) are incorrect because they either suggest modifications to an existing template or do not address the immutability constraints and naming conflicts appropriately.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are responsible for managing a cloud infrastructure that includes an instance group that automatically scales based on demand. Recently, an alert was triggered indicating that the managed instance group failed to create new instances as required. It is critical to resolve this issue promptly to ensure scalability and availability. What steps should you take to diagnose and fix the instance creation problem?
A
Create an instance template that contains valid syntax which will be used by the instance group. Delete any persistent disks with the same name as instance names.
B
Create an instance template that contains valid syntax that will be used by the instance group. Verify that the instance name and persistent disk name values are not the same in the template.
C
Verify that the instance template being used by the instance group contains valid syntax. Delete any persistent disks with the same name as instance names. Set the disks.autoDelete property to true in the instance template.
D
Delete the current instance template and replace it with a new instance template. Verify that the instance name and persistent disk name values are not the same in the template. Set the disks.autoDelete property to true in the instance template.