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 84 discussion

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

You want to automate the creation of a managed instance group. The VMs have many OS package dependencies. You want to minimize the startup time for new
VMs in the instance group.
What should you do?

  • A. Use Terraform to create the managed instance group and a startup script to install the OS package dependencies.
  • B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
  • C. Use Puppet to create the managed instance group and install the OS package dependencies.
  • D. Use Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
crypt0
Highly Voted 4 years ago
Why is it not answer B?
upvoted 42 times
kumarp6
3 years ago
B is the answer,
upvoted 6 times
...
Jos
3 years, 9 months ago
It is.
upvoted 10 times
tartar
3 years, 2 months ago
B is ok
upvoted 12 times
...
...
nitinz
2 years, 8 months ago
It is B
upvoted 4 times
...
...
JoeShmoe
Highly Voted 3 years, 11 months ago
B- minimal start time means a pre-baked golden image
upvoted 21 times
...
omermahgoub
Most Recent 10 months, 2 weeks ago
The correct answer is B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image. Managed instance groups are a way to manage a group of Compute Engine instances as a single entity. If you want to automate the creation of a managed instance group, you can use tools such as Terraform, Deployment Manager, or Puppet to automate the process. To minimize the startup time for new VMs in the instance group, you should create a custom VM image with all of the OS package dependencies pre-installed. This will allow you to create new VMs from the custom image, which will significantly reduce the startup time compared to installing the dependencies on each VM individually. You can then use Deployment Manager to create the managed instance group with the custom VM image.
upvoted 13 times
omermahgoub
10 months, 2 weeks ago
Option A, using Terraform to create the managed instance group and a startup script to install the OS package dependencies, would not minimize the startup time for new VMs in the instance group. Option C, using Puppet to create the managed instance group and install the OS package dependencies, would not minimize the startup time for new VMs in the instance group. Option D, using Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies, would not minimize the startup time for new VMs in the instance group.
upvoted 5 times
...
...
megumin
11 months, 4 weeks ago
Selected Answer: B
B is ok
upvoted 1 times
...
AzureDP900
1 year ago
B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
upvoted 1 times
...
minmin2020
1 year ago
Selected Answer: B
B will reduce the startup time
upvoted 1 times
...
DrishaS4
1 year, 3 months ago
Selected Answer: B
B- minimal start time means a pre-baked golden image
upvoted 4 times
...
BigSteveO
1 year, 3 months ago
As someone who works on Terraform. It may not be Googles best practice, even though it's built in just need to be initialized. But it is the easiest way to build and restructure infrastructure with a simple line of code change and a quick shell command to apply terraform. I mean B would work. But it doesn't include the start-up script for the OS dependencies to be loaded. ?>?>? Any feedback?
upvoted 1 times
Ric350
1 year, 3 months ago
Start up scripts aren't need here as you're making a custom OS image with all OS package dependencies. Question is not asking for the easiest way, it's asking how to minimize VM startup times. Not having to run the startup scripts because it's baked into the image is how I understand and interpret this, therefore B.
upvoted 2 times
...
...
mv2000
1 year, 4 months ago
06/30/2022 Exam
upvoted 5 times
...
rogerlovato
1 year, 9 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
haroldbenites
1 year, 11 months ago
Go for B
upvoted 1 times
...
Godlike
1 year, 11 months ago
yes B is right
upvoted 2 times
...
vincy2202
1 year, 11 months ago
B is the right answer
upvoted 2 times
...
exam_war
1 year, 12 months ago
go with B. D: it involves so many other third software to configure/manage which makes build more complicated.
upvoted 1 times
...
MaxNRG
2 years ago
B – create a custom VM instance image with all OS dependencies. Use Deployment Manager to create a MIG with the VM image. Read more about Public and Custom VM Images: https://cloud.google.com/compute/docs/images Custom images are available in your project only, they don’t add cost to your VM instances, incur image storage cost (0.085$ GB/month) D – could be also an alternative (if to consider requirement to install dependencies in start up script). But, last sentence stresses on “minimize VM’s start up time”. So, B is fastest solution. Also, what is a point to use Ansible if you can complete same task via startup script of Deployment Manager. Ansible won’t make this faster, but just will add 3rd party dependency.
upvoted 3 times
...
victory108
2 years, 5 months ago
B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
upvoted 2 times
...
un
2 years, 5 months ago
B is correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago