Ultimate access to all questions.
You are tasked with designing the infrastructure for a high-throughput web service on Google Cloud for a business that prioritizes low costs. The web service must handle 500,000 requests per second, where the data received will be stored and later queried in real-time based on exact attribute matches. The traffic is highly variable, with periods where the service receives no requests at all. Given these requirements, which combination of Google Cloud web service platform and database would be most suitable?
Explanation:
The correct answer is B (Cloud Run and Cloud Bigtable). Cloud Bigtable is well-suited for handling high-throughput write operations, which is necessary for the 500,000 requests per second. It is optimized for real-time querying based on exact attribute matches. Cloud Run is chosen for the web service platform because it can scale to zero when there are no requests, helping to keep costs low. Cloud Run can also scale out to handle a large number of requests concurrently, making it suitable for the variable traffic demands.