Topic 1 Question 255
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?
Create an image that has cURL installed, and configure cURL to run a test plan. Deploy the image in a managed instance group, and run one instance of the image for each VM.
Create an image that has cURL installed, and configure cURL to run a test plan. Deploy the image in an unmanaged instance group, and run one instance of the image for each VM.
Deploy a distributed load testing framework on a private Google Kubernetes Engine cluster. Deploy additional Pods as needed to initiate more traffic and support the number of concurrent users.
Download the container image of a distributed load testing framework on Cloud Shell. Sequentially start several instances of the container on Cloud Shell to increase the load on the API.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: C
Option D, which involves starting several instances of a load testing framework container on Cloud Shell, may not be a recommended approach for several reasons:
Cloud Shell is a shell environment for managing resources hosted on Google Cloud and does not provide a scalable infrastructure for running load tests.
Starting several instances of a container on Cloud Shell is not a highly available or scalable solution for load testing, and may not provide sufficient parallelism or control over the source IP addresses of the traffic.
Using a private Google Kubernetes Engine cluster to deploy a distributed load testing framework allows for scaling up the load testing by deploying additional Pods, which can provide more control over the number of concurrent users and the source IP addresses of the traffic, and can provide a more robust and scalable infrastructure for load testing.
👍 3mrvergara2023/02/04 - 正解だと思う選択肢: C
To deploy the load testing tasks, you do the following: Deploy a load testing master. Deploy a group of load testing workers. With these load testing workers, you can create a substantial amount of traffic for testing purposes. https://cloud.google.com/run/docs/about-load-testing https://cloud.google.com/architecture/distributed-load-testing-using-gke#build_the_container_image Answer
👍 1TNT872023/01/31 - 正解だと思う選択肢: D
nope Answer is D....not C
👍 1TNT872023/02/01
シャッフルモード