Google Professional Cloud DevOps Engineer Question 24
Select 2Google Cloud PlatformYou are tasked with designing a CI/CD architecture for a global organization that operates in a hybrid cloud environment. The organization wants to ensure that deployments can happen seamlessly across Google Cloud and on-premises infrastructure. Which of the following considerations should you include in your architecture design?
- A
Use Google Cloud Build triggers to orchestrate builds and deployments across both Google Cloud and on-premises systems.
- B
Implement a consistent artifact repository such as Artifact Registry to store and manage container images and deployment artifacts.
- C
Rely solely on Google Kubernetes Engine (GKE) for all deployments, regardless of on-premises needs.
- D
Design the CI/CD pipeline to include a secure VPN or interconnect for communication between on-premises and Google Cloud environments.
- E
Use proprietary deployment tools that only work within Google Cloud for a streamlined cloud-native approach.
Show answer and explanation
Correct answers: B, D
Explanation
Designing a CI/CD architecture for hybrid environments requires careful consideration of tools and infrastructure that can operate seamlessly across both on-premises and cloud systems. Using a consistent artifact repository ensures artifacts are shared effectively, while a secure communication channel like a VPN or interconnect is necessary for reliable connectivity. Tools that are limited to only one environment, such as proprietary Google Cloud-only solutions, or relying solely on GKE, are not suitable for hybrid deployments.
- A. Incorrect.
Google Cloud Build triggers are a powerful tool for orchestrating builds in Google Cloud, but they cannot natively manage on-premises deployments. Additional integration tools would be needed for hybrid environments.
- B. Correct.
A consistent artifact repository like Artifact Registry ensures that container images and other artifacts can be shared and accessed across both Google Cloud and on-premises systems, a critical requirement for a hybrid environment.
- C. Incorrect.
Relying solely on GKE limits the flexibility of your CI/CD pipeline, especially in a hybrid environment where on-premises infrastructure must also be supported.
- D. Correct.
A secure VPN or interconnect is essential to ensure reliable and secure communication between on-premises environments and Google Cloud, enabling seamless deployments.
- E. Incorrect.
Using proprietary deployment tools that only work within Google Cloud goes against the requirements of hybrid environments, where flexibility is key to supporting both cloud and on-prem systems.