Your team is deploying a batch processing workload on Google Compute Engine and wants to optimize operational efficiency and costs while ensuring instances scale dynamically based on demand. Which two management actions should you perform? (Select two.)
- Configure the Managed Instance Group (MIG) to use Spot virtual machine instances for cost-effective batch processing.Answer
- Attach an autoscaling policy to the Managed Instance Group based on CPU utilization or custom queue metrics.Answer
- CAssign the primitive Owner role to the instance service account so that workers never encounter permission denied errors.
- DHost the primary transactional database on the Spot VM instances within the group to save on core database infrastructure costs.
- ECreate additional GCP projects in other regions whenever instance limits are reached instead of requesting a quota increase.
Answer
The correct actions are configuring the Managed Instance Group to use Spot VMs for batch workloads and attaching an autoscaling policy based on CPU or queue metrics.
Configuring a Managed Instance Group to use Spot VMs allows stateless batch processing tasks to run at lower costs, while configuring an autoscaling policy ensures instance capacity scales up or down automatically based on demand.
Step-by-Step Solution
Key Concept
Compute Engine Managed Instance Group (MIG) Management and Spot VM Workload Placement