The section discusses the various methods and techniques offered by Google Cloud for carrying out development in the cloud. It includes services such as Cloud Source Repositories with Cloud Functions and Terraform, as well as deployment through infrastructure as code.
Learning Objective:
- Describe how Cloud Source Repositories and Cloud Functions can help with application development on Google Cloud.
- Illustrate template-based resource creation and management for enabling efficient application deployment and management.
DEVELOPING AND DEPLOYING IN THE CLOUD
1. Why would a developer choose to store source code in Cloud Source Repositories? (Select 2)
- To reduce work (Correct)
- To have total control over the hosting infrastructure
- To keep code private to a Google Cloud project (Correct)
- It is the only way to access your source code in a repository.
2. Why might a Google Cloud customer choose to use Cloud Functions?
- Cloud Functions is the primary way to run Node.js applications in Google Cloud.
- Their application has a legacy monolithic structure that they want to separate into microservices.
- Cloud Functions is a free service for hosting compute operations.
- Their application contains event-driven code that they don’t want to provision compute resources for. (Correct)
3. Select the advantage of putting the event-driven components of your application into Cloud Functions.
- Cloud Functions handles scaling these components seamlessly. (Correct)
- In Cloud Functions, processing is always free of charge.
- In Cloud Functions, code can be written in C# or C++.
- Cloud Functions eliminates the need to use a separate service to trigger application events.
4. Why might a Google Cloud customer choose to use Terraform?
- Terraform can be used as an infrastructure management system for Google Cloud resources. (Correct)
- Terraform can be used as a version-control system for your Google Cloud infrastructure layout.
- Terraform can be used to enforce maximum resource utilization and spending limits on your Google Cloud resources.
- Terraform can be used as an infrastructure management system for Kubernetes pods.