GCP Professional Cloud Architect Practice Question
Your organization maintains hundreds of Git repositories on-premises. As part of moving to Google Cloud, you must choose a managed service to host these repositories. The security team requires that source code is stored only on Google-managed infrastructure, repository access is enforced with Cloud IAM roles, and all repository events can be captured in Cloud Audit Logs and exported to Cloud Logging. DevOps engineers also need native integration with Cloud Build so that builds start automatically when code is pushed, without relying on external services. Which Google Cloud service best meets all of these requirements?
Cloud Source Repositories
Container Registry hosted in a private gcr.io domain
Versioned Cloud Storage buckets used as a bare Git remote
Artifact Registry repositories configured for Docker images
Cloud Source Repositories is Google Cloud's fully managed Git service. It stores code exclusively on Google-managed infrastructure, supports repository-level IAM roles such as roles/source.reader and roles/source.writer, and writes Admin Activity audit logs by default. Data Access audit logs that record repository events can be enabled so they can be exported to Cloud Logging. Cloud Build supports triggers that fire on commits or pull requests in Cloud Source Repositories, enabling native CI/CD pipelines without third-party integrations. Artifact Registry, Cloud Storage, and Container Registry are designed for storing build artifacts or objects, not for hosting Git repositories, and they do not provide Git-native workflows or automatic build triggers tied to commit events.
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 is Cloud Source Repositories?
Open an interactive chat with Bash
How does Cloud IAM integrate with Cloud Source Repositories?
Open an interactive chat with Bash
Why choose Cloud Source Repositories over Artifact Registry or Cloud Storage?
Open an interactive chat with Bash
What is Cloud Source Repositories?
Open an interactive chat with Bash
How does Cloud IAM work with Cloud Source Repositories?
Open an interactive chat with Bash
How do Cloud Build triggers integrate with Cloud Source Repositories?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
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
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .