exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 155 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 155
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
pr2web
Highly Voted 2 years, 9 months ago
Answer is D. https://cloud.google.com/migrate/compute-engine/docs/4.9/concepts/planning-a-migration/cloud-instance-rightsizing?hl=en "Rightsizing provides two types of recommendations: 1. 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. 2. 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.
upvoted 55 times
melono
1 year, 8 months ago
The point: 2. Cost-based recommendations: Recommends Compute Engine instances based on: The current CPU and RAM configuration of the on-premises VM.
upvoted 1 times
...
...
cloudmon
Highly Voted 2 years, 2 months ago
Selected Answer: 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; 1. It only focuses on CPU, but the question says "CPU and memory" 2. The question does not mention anything about horizontal scalability
upvoted 9 times
cloudmon
2 years, 2 months ago
Another (less obvious) reason for choosing D: I've noticed a pattern in these exams that the cloud provider wants to advertise and promote anything that they consider to be a cool feature of their platform. In this case, they are promoting their recommendation engine. If there's even an option that sounds like it's advertising a relevant managed service from the cloud provider, then that's usually one to consider.
upvoted 4 times
cloudmon
2 years, 2 months ago
I also find the following wording in option A to be a bit iffy: "an image of the third-party application taken from a current on-premises virtual machine". That seems a bit vague in terms of what the image format would be.
upvoted 1 times
...
...
...
e5019c6
Most Recent 6 months, 1 week ago
Selected Answer: D
I choose A at first, because I thought that the Rightsizing Recommendations took various days to offer the estimate stats. But according to this article: https://cloud.google.com/migrate/compute-engine/docs/4.11/concepts/planning-a-migration/cloud-instance-rightsizing While it needs a week to give a proper estimate, it can give an estimate with less time too (But the accuracy decreases) "For better recommendations, Migrate for Compute Engine recommends monitoring the migrated workloads for at least seven consecutive days (or one typical business week). Migrate for Compute Engine warns you when the monitoring period is insufficient for an adequate recommendation. Even if the monitoring period is insufficient, Migrate for Compute Engine still offers a cost-optimized recommendation based on the data available."
upvoted 3 times
e5019c6
6 months, 1 week ago
Also note that Migrate to Virtual Machines v4.11 (Which the info is from) is no longer the latest version. V5 is already out and, strangely, lacks any article about rightsizing recommendations...
upvoted 2 times
...
...
tamj123
8 months, 2 weeks ago
D make sense.
upvoted 1 times
...
RaviRS
9 months, 4 weeks ago
Selected Answer: D
D is correct
upvoted 1 times
...
WinSxS
1 year, 3 months ago
Selected Answer: D
Option D would be the best option to optimize resource usage for the lowest cost when migrating third-party applications from optimized on-premises virtual machines to Google Cloud.
upvoted 2 times
...
AugustoKras011111
1 year, 3 months ago
Selected Answer: D
Answer is D. Similar than third-party convince me...
upvoted 1 times
...
beehive
1 year, 6 months ago
why most of the answers selected by host is INCORRECT? Is it intentional to misguide the folks?
upvoted 7 times
...
thamaster
1 year, 6 months ago
Selected Answer: D
i choose D as it's best practice create an instance with similar configuration as on premise and check metrics
upvoted 1 times
...
shefalia
1 year, 6 months ago
Selected Answer: D
D is the right one because of Rightsizing option from GCP
upvoted 1 times
...
surajkrishnamurthy
1 year, 6 months ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
megumin
1 year, 7 months ago
Selected Answer: D
D is ok
upvoted 1 times
...
Mahmoud_E
1 year, 8 months ago
Selected Answer: D
I agree with D is the most accurate
upvoted 1 times
...
AzureDP900
1 year, 8 months ago
D is correct
upvoted 1 times
...
SerGCP
1 year, 9 months ago
Selected Answer: D
A, application may not support horizontal scaling and may not run in instances whith small cpu B, dockerize third-party applications is not a requirement....Complex and costly C, too expensive D, simple and works
upvoted 3 times
...
shekarcfc
1 year, 9 months ago
Selected Answer: A
A, the benefit of moving to cloud is scaling based on load, start with min infra and scale-up based on usage.
upvoted 4 times
...
amxexam
2 years, 1 month ago
Selected Answer: D
A - you cannot expect application to behavior similar in 2 different envior met without a test. B - App Engine is costly C- Varing cpu and memory cannot be doone. D- correa.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago