Your operations team uses Terraform to provision GCP infrastructure. The team wants to replace the individual developers' local Git repositories with a centrally managed, Google-hosted service that keeps the configuration private, supports standard Git workflows (branches, pull requests), and can be accessed by Cloud Build triggers in the same project. Which Google Cloud service should you choose to store the Terraform configuration files?
A Cloud Storage bucket with object versioning enabled
Cloud Source Repositories is Google Cloud's fully managed, private Git hosting service. It provides standard Git functionality-including branching, pull-request workflows, and access control-and integrates directly with Cloud Build for automated CI/CD. A Cloud Storage bucket, even with object versioning, is not a Git repository and lacks branch or merge features. Artifact Registry stores container images and other artifacts, not Git repositories. Cloud Build private pools offer isolated build workers but do not provide source-code hosting.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Cloud Source Repositories?
Open an interactive chat with Bash
How does Cloud Source Repositories integrate with Cloud Build?
Open an interactive chat with Bash
Why isn’t Cloud Storage suitable for hosting Terraform configuration files?
Open an interactive chat with Bash
How does Cloud Source Repositories integrate with Cloud Build for CI/CD?
Open an interactive chat with Bash
What advantages does Cloud Source Repositories have over Git repositories hosted locally?
Open an interactive chat with Bash
What are the key differences between Cloud Source Repositories and Cloud Storage buckets?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .