
Answer-first summary for fast verification
Answer: Store the Java image in Container Registry and the Maven packages in Cloud Storage.
The correct approach is to store the Java image in Container Registry and Maven packages in Cloud Storage, as recommended by Google. This is because Container Registry is optimized for storing images, while Cloud Storage is suitable for packages. Other options are incorrect because images cannot be stored in Cloud Source Repository, and packages are not suited for Container Registry. For more details, refer to Google's documentation on storing build artifacts in Cloud Storage.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is developing a Java application and uses Cloud Build for creating images. There's a need to store both the Java image and Maven packages in GCP for deployment purposes. What's the best approach to accomplish this?
A
Store the Java image in Cloud Storage and the Maven packages in Container Registry.
B
Store both the Java image and Maven packages in Container Registry.
C
Store the Java image in Container Registry and the Maven packages in Cloud Storage.
D
Store the Java image in Cloud Source Repository and the Maven packages in Container Registry.
No comments yet.