
Answer-first summary for fast verification
Answer: Maintain only the ultimate build artifacts in Artifact Registry, storing intermediate artifacts in Google Cloud Storage.
Storing solely the final build artifacts in Artifact Registry, while keeping intermediate artifacts in Google Cloud Storage, is advisable. This approach aids in minimizing storage expenses, enhancing performance, and simplifies artifact and version management, ensuring compliance with necessary standards. Conversely, using separate Artifact Registry instances for each environment may introduce inconsistencies and complicate artifact and version tracking, alongside increasing management and storage costs. Custom naming conventions for artifacts can also lead to inconsistencies and difficulties in managing and tracking artifacts and versions. Similarly, employing separate pipelines for each service can be inefficient, prone to errors, and may result in inconsistencies across services and environments.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
When constructing a CI/CD pipeline for a service on Google Cloud Platform and utilizing Artifact Registry for immutable artifacts, which practice is considered optimal for artifact creation and storage?
A
Employ distinct pipelines for each service to oversee and monitor the artifact creation and storage procedure.
B
Adopt a unique naming strategy for artifacts that incorporates the service name, version number, and environment.
C
Maintain only the ultimate build artifacts in Artifact Registry, storing intermediate artifacts in Google Cloud Storage.
D
Establish separate Artifact Registry instances for each environment (development, staging, production) to guarantee isolation and security.