You are implementing a CI/CD pipeline for your application in your company’s multi-cloud environment. Your application is deployed by using custom Compute Engine images and the equivalent in other cloud providers. You need to implement a solution that will enable you to build and deploy the images to your current environment and is adaptable to future changes. Which solution stack should you use?
A. Cloud Build with Packer
B. Cloud Build with Google Cloud Deploy
C. Google Kubernetes Engine with Google Cloud Deploy
D. Cloud Build with Kpt
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
A
Explanation
A. Cloud Build with Packer
(The optimal solution stack for building and deploying custom Compute Engine images in a multi-cloud environment that is adaptable to future changes is Cloud Build with Packer, as indicated by Option A.
Cloud Build integrates seamlessly with Packer, a tool for creating machine images across various platforms. This combination provides a flexible and scalable solution for building custom images and deploying them across different cloud providers. Packer allows you to define infrastructure as code and supports multiple cloud providers, ensuring adaptability to future changes in the multi-cloud environment.
The unified approach of Cloud Build and Packer streamlines the CI/CD pipeline, enabling efficient image creation and deployment processes while maintaining cross-cloud compatibility.)
B. Cloud Build with Google Cloud Deploy
(Not suitable for multi-cloud scenario.)
C. Google Kubernetes Engine with Google Cloud Deploy
(Not suitable for multi-cloud scenario.)
D. Cloud Build with Kpt
(Check: https://kpt.dev. It’s a configuration management tool for Kubernetes manifests.)