Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud DevOps Engineer practice bank has 1,455 more like it. Try 10 free: instant score, no account.
An enterprise organization is designing an artifact management strategy in Google Cloud Artifact Registry for their automated CI/CD pipelines. The build pipelines consume proprietary internal packages as well as external upstream dependencies across multiple language ecosystems (e.g., Maven, npm, Python).
The DevOps team must meet the following requirements:
Which repository architecture and configuration in Artifact Registry should the DevOps engineer implement?
In Google Cloud Artifact Registry, repository hierarchies can be designed by combining Standard repositories, Remote repositories, and Virtual repositories:
.npmrc, settings.xml, pip.conf).This pattern represents Google Cloud's recommended best practice for artifact management. It cleanly separates writable proprietary artifact storage from caching proxies while providing unified, policy-governed read access.
This approach uses a single Standard repository as an unmanaged storage bucket. It requires custom scripts in the CI/CD pipeline to query external public repositories over the internet, download missing tarballs or wheels, and upload them manually into the private repository before running application builds.
An organization was working in an isolated environment without access to Remote repositories or Virtual repositories and needed to manually curate a static, vendor-supplied whitelist of binary files.
This configuration attempts to use a Remote repository as the primary storage location for proprietary build artifacts and treat Standard repositories as read-only mirrors.
Artifact Registry Remote repositories functioned as master distributed repositories with native regional replication mirrors, which is contrary to how Google Cloud implements repository modes.
This option proposes using a Virtual repository as a writable target that automatically writes artifacts upstream, while setting a Remote repository to query internal Standard repositories as a fallback mechanism.
docker push, npm publish, twine upload, etc.). All writes must target a Standard repository directly.Virtual repositories supported native write-through aggregation and Remote repositories were designed for internal horizontal chaining, neither of which matches Artifact Registry architecture.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated