Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A DevOps engineer is designing a secure CI/CD pipeline using Cloud Build and Artifact Registry. The security policy mandates two key requirements:
Which approach should the DevOps engineer implement to satisfy these requirements?
This approach integrates shifting security left with event-driven automation. By invoking the On-Demand Scanning API within the Cloud Build pipeline, container images are scanned for vulnerabilities before they are deployed or promoted. Downstream services leverage Pub/Sub build notifications to act instantly upon build completion and vulnerability reports.
SUCCESS, FAILURE, or step metadata) to the cloud-builds Pub/Sub topic. Downstream subscribers—such as Cloud Functions, Cloud Run, or custom Cloud Build notifiers—can listen to these messages to execute immediate automated remediation.Using the native On-Demand Scanning API combined with Pub/Sub event streams provides end-to-end automation, low latency, and adherence to Google Cloud supply chain security best practices.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.