1. Your team manages a Vertex AI endpoint serving a large language model for document summarization. The endpoint is experiencing latency spikes during peak business hours. You need to ensure the endpoint automatically scales to handle demand while minimizing cost during off-peak hours. What is the MOST appropriate configuration?
- A. Set a fixed number of replicas equal to peak demand capacity and use a dedicated endpoint to guarantee latency SLOs
- B. Enable autoscaling on the endpoint by configuring minimum and maximum replica counts, and set an appropriate traffic split✓ Correct
- C. Deploy the model to a Vertex AI Batch Prediction job scheduled during peak hours to handle the load burst
- D. Increase the machine type to the largest available GPU instance to handle all traffic on a single replica
Explanation
Configuring autoscaling with minimum and maximum replica counts is the correct approach for handling variable traffic on a Vertex AI endpoint. It allows the endpoint to scale out during peak hours and scale in during off-peak hours, optimizing both performance and cost. Option A (fixed replicas at peak capacity) ensures availability but wastes resources and cost during off-peak hours—it does not minimize cost. Option C (Batch Prediction) is designed for offline, asynchronous workloads and cannot serve real-time, low-latency online prediction requests. Option D (single large replica) is a fragile design—a single point of failure with no redundancy—and may still not handle peak traffic if a single machine's throughput is insufficient.