Topic 1 Question 155
You are migrating third-party applications from optimized on-premises virtual machines to Google Cloud. You are unsure about the optimum CPU and memory options. The applications have a consistent usage pattern across multiple weeks. You want to optimize resource usage for the lowest cost. What should you do?
Create an instance template with the smallest available machine type, and use an image of the third-party application taken from a current on-premises virtual machine. Create a managed instance group that uses average CPU utilization to autoscale the number of instances in the group. Modify the average CPU utilization threshold to optimize the number of instances running.
Create an App Engine flexible environment, and deploy the third-party application using a Dockerfile and a custom runtime. Set CPU and memory options similar to your application's current on-premises virtual machine in the app.yaml file.
Create multiple Compute Engine instances with varying CPU and memory options. Install the Cloud Monitoring agent, and deploy the third-party application on each of them. Run a load test with high traffic levels on the application, and use the results to determine the optimal settings.
Create a Compute Engine instance with CPU and memory options similar to your application's current on-premises virtual machine. Install the Cloud Monitoring agent, and deploy the third-party application. Run a load test with normal traffic levels on the application, and follow the Rightsizing Recommendations in the Cloud Console.
ユーザの投票
コメント(17)
Answer is D.
"Rightsizing provides two types of recommendations:
Performance-based recommendations: Recommends Compute Engine instances based on the CPU and RAM currently allocated to the on-premises VM. This recommendation is the default.
Cost-based recommendations: Recommends Compute Engine instances based on:
- The current CPU and RAM configuration of the on-premises VM.
- The average usage of this VM during a given period. To use this option, you must activate rightsizing monitoring with vSphere for this group of VMs and allow time for Migrate for Compute Engine to analyze usage.
👍 45pr2web2021/09/08- 正解だと思う選択肢: D
It's definitely D. See the reference at the following link that says "The recommendation algorithm is suited to workloads that follow weekly patterns", which matches the part of the questions that says "consistent usage pattern over multiple weeks": https://cloud.google.com/compute/docs/instances/apply-machine-type-recommendations-for-instances
Option A also has two problems;
- It only focuses on CPU, but the question says "CPU and memory"
- The question does not mention anything about horizontal scalability
👍 5cloudmon2022/04/09 - 正解だと思う選択肢: A
The D is not correct. The MIG image was made before the third party software was installed so any new VM on the group will start without this software. Answer is A
👍 4Meyucho2022/03/17
シャッフルモード