Google Cloud Professional Cloud Developer — Question 225

You need to load-test a set of REST API endpoints that are deployed to Cloud Run. The API responds to HTTP POST requests. Your load tests must meet the following requirements:
• Load is initiated from multiple parallel threads.
• User traffic to the API originates from multiple source IP addresses.
• Load can be scaled up using additional test instances.

You want to follow Google-recommended best practices. How should you configure the load testing?

Answer options

Correct answer: C

Explanation

Option C is correct because deploying a distributed load testing framework on Google Kubernetes Engine allows for scalability and traffic management from multiple sources. Options A and B are less efficient as they rely on cURL in instance groups, which is not optimal for distributed testing. Option D does not provide true parallel load generation across multiple IPs, as it operates sequentially in Cloud Shell.