Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Question: 1 / 50

Your development team has asked for your help. They need a simple, reproducible way to create and terminate a new Compute Engine instance so that they can automate it as a part of their CI/CD process. What is the best option for accomplishing that?

Show them how to use the Console to create and terminate instances.

Recommend that they use the REST API to develop the functionality in the language of their choosing.

Show them how to use the gcloud component of the Cloud SDK.

C is the best option because it provides the development team with a tool specifically made for managing Google Cloud Platform resources. While options A and D may be useful, they both have limitations. A is more manual and cannot be easily automated, while D may not meet the team's requirement to create and terminate instances on GCP. Option B would allow the team to develop their own solution, but it may require more time and effort compared to using the gcloud component.

Show them how to use a Docker container. Then they can get rid of the need for the VM.

Next

Report this question