Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 71 discussion

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

Your company is running a stateless application on a Compute Engine instance. The application is used heavily during regular business hours and lightly outside of business hours. Users are reporting that the application is slow during peak hours. You need to optimize the application's performance. What should you do?

  • A. Create a snapshot of the existing disk. Create an instance template from the snapshot. Create an autoscaled managed instance group from the instance template.
  • B. Create a snapshot of the existing disk. Create a custom image from the snapshot. Create an autoscaled managed instance group from the custom image.
  • C. Create a custom image from the existing disk. Create an instance template from the custom image. Create an autoscaled managed instance group from the instance template.
  • D. Create an instance template from the existing disk. Create a custom image from the instance template. Create an autoscaled managed instance group from the custom image.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sdsdfasdf4
Highly Voted 3 years, 11 months ago
The easiest way would be to create template from --source-instance, and then create MIG, but it is not listed here, also you cannot create a MIG from image directly, you need a template, so answer is C (image -> template -> mig).
upvoted 30 times
6721sora
2 years, 3 months ago
C is correct. To sdsdfasd4's point - Not recommended to create template from --source-instance as If the existing instance contains a static external IP address, that address is copied into the instance template and might limit the use of the template. Templates are best created from images or other templates. Creating the template from a running instance may require work to clean it up before it can be used for a MIG
upvoted 8 times
...
...
AWS56
Highly Voted 4 years, 10 months ago
C is the right answer
upvoted 12 times
heretolearnazure
1 year, 3 months ago
C is definitely the right answer
upvoted 1 times
...
...
nareshthumma
Most Recent 1 month ago
Answer A: Create a snapshot of the existing disk. Create an instance template from the snapshot. Create an autoscaled managed instance group from the instance template. Here’s why this option is the best: 1. Autoscaling: By creating an autoscaled managed instance group, you can automatically adjust the number of instances based on the load. This means that during peak business hours, additional instances will be created to handle the increased traffic, improving application performance. During off-peak hours, the number of instances can scale down to reduce costs. 2. Snapshot Creation: Taking a snapshot of the existing disk ensures that you have a backup of the current state of your application. This snapshot can be used to create the new instance template, ensuring that your autoscaled instances have the same configuration as the original instance.
upvoted 1 times
...
46f094c
4 months, 4 weeks ago
Selected Answer: B
I prefer B, is better because I don't need to stop the instance to create the disk image.
upvoted 1 times
...
pakilodi
11 months, 4 weeks ago
Selected Answer: C
C. The key here is stateless, so we don't need snapshot the actual instance, we can start from zero.
upvoted 3 times
...
thewalker
11 months, 4 weeks ago
Selected Answer: C
C We can create an instance from an image or a custom image or a snapshot but an instance template can be created using either image or custom image only. Also refer: https://cloud.google.com/compute/docs/instance-templates/create-instance-templates
upvoted 3 times
...
Deb2293
1 year, 8 months ago
Selected Answer: C
Option C is the correct choice because creating a custom image from the existing disk ensures that the application environment is consistent and does not change between instances, which can reduce variability in performance. Creating an instance template from the custom image allows you to easily create new instances that are based on the same image, which can save time and effort. Finally, creating an autoscaled managed instance group allows you to automatically scale the number of instances based on demand, which can ensure that there are enough instances to handle peak traffic while minimizing costs during periods of low traffic
upvoted 6 times
...
megumin
2 years ago
Selected Answer: C
C is ok
upvoted 2 times
...
AzureDP900
2 years, 1 month ago
C is right. Create a custom image from the existing disk. Create an instance template from the custom image. Create an autoscaled managed instance group from the instance template.
upvoted 1 times
...
abirroy
2 years, 2 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
mv2000
2 years, 4 months ago
06/30/2022 Exam
upvoted 9 times
...
SHalgatti
2 years, 9 months ago
I think Snapshot option are not correct in this scenario as to take snapshot you need to stop the VM so C looks best option
upvoted 2 times
bargou
9 months, 3 weeks ago
it's possible to create a snapshot of running VM by reducing I/O disks
upvoted 1 times
...
...
PhuocT
2 years, 11 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
Rajasa
2 years, 11 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
haroldbenites
2 years, 11 months ago
Go for C. Instance template can not be created from snapshot. Only from an image.
upvoted 3 times
...
vincy2202
2 years, 12 months ago
C is the right answer. https://cloud.google.com/compute/docs/instance-templates/create-instance-templates#using_custom_or_public_images_in_your_instance_templates
upvoted 3 times
...
joe2211
3 years ago
Selected Answer: C
vote C
upvoted 1 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 ...