Google Cloud Professional Cloud Developer — Question 105

You recently developed a new service on Cloud Run. The new service authenticates using a custom service and then writes transactional information to a Cloud
Spanner database. You need to verify that your application can support up to 5,000 read and 1,000 write transactions per second while identifying any bottlenecks that occur. Your test infrastructure must be able to autoscale. What should you do?

Answer options

Correct answer: B

Explanation

Option B is correct because using a Google Kubernetes Engine cluster with Locust or JMeter allows for dynamic load generation, which is essential for testing scalability effectively. The other options either do not provide the same level of dynamic load generation (A and D) or lack the necessary ability to scale and analyze results effectively within the desired framework (C).