Google Cloud Professional Cloud Developer — Question 292

You are developing a container build pipeline for an application hosted on GKE. You have the following requirements:

• Only images that are created using your build pipeline should be deployed on your GKE cluster.
• All code and build artifacts should remain within your environment and protected from data exfiltration.

How should you build the pipeline?

Answer options

Correct answer: B

Explanation

Option B is the correct choice because it utilizes a private worker pool for enhanced security, employs VPC Service Controls to protect resources within a defined perimeter, and ensures that only signed images can be deployed, aligning with the requirements. The other options either do not enforce the necessary security measures or do not utilize a private worker pool, which increases the risk of data exfiltration.